org.eclipse.jst.jsf.metadataprocessors
Class MetaDataEnabledProcessingFactory
java.lang.Object
org.eclipse.jst.jsf.metadataprocessors.MetaDataEnabledProcessingFactory
public final class MetaDataEnabledProcessingFactory
- extends java.lang.Object
Singleton class that will produce IMetaDataEnabledFeatures that the
caller can use for processing.
Provisional API - subject to change
| Methods inherited from class java.lang.Object |
equals, 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()
- Returns:
- singleton instance
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 the given Taglibrary 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:
featureType - feature type. eg. IPossibleValues, IValidValues, etc. Must be subclass of IMetaDataEnabledFeature.sdContext - uri - annotation file urielementName - attributeName -
- Returns:
- returns null - if the metadata was not found
returns empty list - if not a IMetaDataEnabledFeature proccessor or is not valid or does not support the specified feature - See Also:
ATTRIBUTE_VALUE_RUNTIME_TYPE_PROP_NAME