|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.spi.core.metadata.projectdoc.ProjectdocMetaDataParser de.smartics.properties.spi.core.metadata.projectdoc.PropertySetProjectdocParser
public final class PropertySetProjectdocParser
Parsed projectdoc's property set documents.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.smartics.properties.spi.core.metadata.projectdoc.ProjectdocMetaDataParser |
---|
ProjectdocMetaDataParser.ParserContext |
Field Summary | |
---|---|
protected static org.jdom.Namespace |
NS The namespace of the XML files this parser can parse. |
Fields inherited from class de.smartics.properties.spi.core.metadata.projectdoc.ProjectdocMetaDataParser |
---|
context, defaults |
Constructor Summary | |
---|---|
PropertySetProjectdocParser(PropertiesContext context) Convenience constructor without defaults. |
|
PropertySetProjectdocParser(PropertiesContext context, ProjectdocAnnotationCollector.Defaults defaults) Default constructor. |
Method Summary | |
---|---|
protected String |
calcPath(PropertyDescriptor descriptor, Locale locale) Calculates the path to a resource to be parsed. |
protected org.jdom.Namespace |
getNs() Returns the namespace of the elements parsed by this parser. |
PropertySetProjectdoc |
parse(PropertyDescriptor descriptor, Locale locale) Parses the comments for the given descriptor. |
protected void |
parseAdditional(ProjectdocMetaDataParser.ParserContext context) The hook that allows to add further information. |
Methods inherited from class de.smartics.properties.spi.core.metadata.projectdoc.ProjectdocMetaDataParser |
---|
parseBase |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.jdom.Namespace NS
Constructor Detail |
---|
public PropertySetProjectdocParser(PropertiesContext context) throws NullPointerException
context
- the properties context to fetch information from the META-INF folder.
NullPointerException
- if
context
is
null
.
public PropertySetProjectdocParser(PropertiesContext context, ProjectdocAnnotationCollector.Defaults defaults) throws NullPointerException
context
- the properties context to fetch information from the META-INF folder.
defaults
- the metadata defaults to use.
NullPointerException
- if
context
is
null
.
Method Detail |
---|
protected String calcPath(PropertyDescriptor descriptor, Locale locale)
ProjectdocMetaDataParser
calcPath
in class
ProjectdocMetaDataParser
descriptor
- the descriptor to the resource.
locale
- the requested locale.
public PropertySetProjectdoc parse(PropertyDescriptor descriptor, Locale locale)
ProjectdocMetaDataParser
This method is overridden by subclasses to return their specific implementation of the DocumentMetaData
.
parse
in class
ProjectdocMetaDataParser
descriptor
- the descriptor whose comments are requested to be parsed.
locale
- the locale to select the comments.
null
if no information is provided.
protected void parseAdditional(ProjectdocMetaDataParser.ParserContext context)
ProjectdocMetaDataParser
parseAdditional
in class
ProjectdocMetaDataParser
context
- to provide access to information relevant for parsing and storing the parsed information.
protected org.jdom.Namespace getNs()
ProjectdocMetaDataParser
getNs
in class
ProjectdocMetaDataParser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |