org.eclipse.jst.jsf.metadataprocessors.internal.provisional
Class MetaDataEnabledProcessingFactory
java.lang.Object
org.eclipse.jst.jsf.metadataprocessors.internal.provisional.MetaDataEnabledProcessingFactory
- public final class MetaDataEnabledProcessingFactory
- extends java.lang.Object
Singleton class that will produce IMetaDataEnabledFeature
s that the
caller can use for processing.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTRIBUTE_VALUE_RUNTIME_TYPE_PROP_NAME
public static final java.lang.String ATTRIBUTE_VALUE_RUNTIME_TYPE_PROP_NAME
- Name of property in annotation file to use when applying a runtime type to an attribute value
- See Also:
- Constant Field Values
getInstance
public static MetaDataEnabledProcessingFactory getInstance()
getAttributeValueRuntimeTypeFeatureProcessors
public java.util.List getAttributeValueRuntimeTypeFeatureProcessors(java.lang.Class featureType,
IStructuredDocumentContext sdContext,
java.lang.String uri,
java.lang.String elementName,
java.lang.String attributeName)
- Returns list of
IMetaDataEnabledFeature
adapters for given Content Model attribute.
Adapters will be scanned for first by uri, element, attribute and if not found,
uri, "*", attribute and if still not found by "*", "*", attribute.
- Parameters:
elementName
- attributeName
-
- Returns:
- returns null - if the annotation was not found
returns empty list - if not a IMetaDataEnabledFeature
proccessor or is not valid or does not support the specified feature - See Also:
MetaDataEnabledProcessingFactory.ATTRIBUTE_VALUE_RUNTIME_TYPE_PROP_NAME