|
||||||||||
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
public final class MetaInfDocumentMetaDataProxy
Allows to lazy load annotation information.
Constructor Summary | |
---|---|
MetaInfDocumentMetaDataProxy(PropertiesContext context, Method propertyMethod) Default constructor. |
Method Summary | |
---|---|
DocumentMetaData |
getDocumentMetaData(PropertyDescriptor descriptor, Locale locale) Returns the document meta data. |
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(PropertiesContext context, Method propertyMethod)
context
- the properties context to fetch information from the
META-INF
folder.
propertyMethod
- the method to use to fetch annotations in case the context is not to be used.
Method Detail |
---|
public DocumentMetaData getDocumentMetaData(PropertyDescriptor descriptor, Locale locale)
getDocumentMetaData
in interface
DocumentMetaDataProxy
descriptor
- the descriptor of the property whose document meta data is requested.
locale
- the locale to select the meta data 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 |