|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jst.jsf.metadataprocessors.MetaDataEnabledProcessingFactory
public final class MetaDataEnabledProcessingFactory
Singleton class that will produce IMetaDataEnabledFeature
s
that the caller can use for processing.
Provisional API - subject to change
Field Summary | |
---|---|
static 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 |
Method Summary | |
---|---|
java.util.List<IMetaDataEnabledFeature> |
getAttributeValueRuntimeTypeFeatureProcessors(java.lang.Class featureType,
IStructuredDocumentContext sdContext,
AttributeIdentifier attributeId)
A convenience method fully equivalent to: getAttributeValueRuntimeTypeFeatureProcessors (featureType, sdContext, attributeId.getTagIdentifier().getUri() , attributeId.getTagIdentifier().getTagName(), attributeId.getName()) |
java.util.List<IMetaDataEnabledFeature> |
getAttributeValueRuntimeTypeFeatureProcessors(java.lang.Class featureType,
IStructuredDocumentContext sdContext,
Entity attrEntity)
|
java.util.List<IMetaDataEnabledFeature> |
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. |
static MetaDataEnabledProcessingFactory |
getInstance()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ATTRIBUTE_VALUE_RUNTIME_TYPE_PROP_NAME
Method Detail |
---|
public static MetaDataEnabledProcessingFactory getInstance()
public java.util.List<IMetaDataEnabledFeature> getAttributeValueRuntimeTypeFeatureProcessors(java.lang.Class featureType, IStructuredDocumentContext sdContext, java.lang.String uri, java.lang.String elementName, java.lang.String attributeName)
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.
featureType
- feature type. eg. IPossibleValues
,
IValidValues
, etc. Must be subclass of
IMetaDataEnabledFeature.sdContext
- uri
- annotation file urielementName
- attributeName
-
IMetaDataEnabledFeature
processor or is not valid
or does not support the specified featureATTRIBUTE_VALUE_RUNTIME_TYPE_PROP_NAME
public java.util.List<IMetaDataEnabledFeature> getAttributeValueRuntimeTypeFeatureProcessors(java.lang.Class featureType, IStructuredDocumentContext sdContext, AttributeIdentifier attributeId)
featureType
- sdContext
- attributeId
-
public java.util.List<IMetaDataEnabledFeature> getAttributeValueRuntimeTypeFeatureProcessors(java.lang.Class featureType, IStructuredDocumentContext sdContext, Entity attrEntity)
featureType
- sdContext
- attrEntity
-
IMetaDataEnabledFeature
processor or is not valid
or does not support the specified feature
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |