|
||||||||||
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.MetaInfDocumentMetaDataProxy
@ThreadSafe public final class MetaInfDocumentMetaDataProxy
Allows to lazy load annotation information.
Constructor Summary | |
---|---|
MetaInfDocumentMetaDataProxy(PropertyKey key, PropertiesContext context, Method propertyMethod) Default constructor. |
Method Summary | |
---|---|
DocumentName |
getDocumentName() Returns the name of the document that identifies the document uniquely within the context of the project. |
PropertyProjectdoc |
getProjectdocProperty(PropertyDescriptor descriptor, Locale locale) Returns the projectdoc information. |
PropertySetProjectdoc |
getProjectdocPropertySet(PropertyDescriptor descriptor, Locale locale) Returns the projectdoc information for property sets. |
String |
toString() Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MetaInfDocumentMetaDataProxy(PropertyKey key, PropertiesContext context, Method propertyMethod) throws NullPointerException
key
- the property key to the method.
context
- the properties context to fetch information from the
META-INF
folder. May be
null
.
propertyMethod
- the method to use to fetch annotations in case the context is not to be used.
NullPointerException
- if
key
or
propertyMethod
is
null
.
Method Detail |
---|
public DocumentName getDocumentName()
META-INF
folder.
getDocumentName
in interface
DocumentMetaDataProxy
public PropertySetProjectdoc getProjectdocPropertySet(PropertyDescriptor descriptor, Locale locale)
DocumentMetaDataProxy
getProjectdocPropertySet
in interface
DocumentMetaDataProxy
descriptor
- the descriptor of the property whose property set projectdoc is requested.
locale
- the locale to select the projectdoc in a specific language.
public PropertyProjectdoc getProjectdocProperty(PropertyDescriptor descriptor, Locale locale)
DocumentMetaDataProxy
getProjectdocProperty
in interface
DocumentMetaDataProxy
descriptor
- the descriptor of the property whose property projectdoc is requested.
locale
- the locale to select the projectdoc in a specific language.
public String toString()
toString
in class
Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |