Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 



org.eclipse.jst.jsf.metadataprocessors
Class MetaDataEnabledProcessingFactory

java.lang.Object
  extended by 
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


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

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
Method Detail

getInstance

public static 
MetaDataEnabledProcessingFactory getInstance()
Returns:
singleton instance

getAttributeValueRuntimeTypeFeatureProcessors

public 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. 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 uri
elementName -
attributeName -
Returns:
returns null - if the metadata was not found
returns empty list - if not a IMetaDataEnabledFeature processor or is not valid or does not support the specified feature
See Also:
ATTRIBUTE_VALUE_RUNTIME_TYPE_PROP_NAME

getAttributeValueRuntimeTypeFeatureProcessors

public 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())

Parameters:
featureType -
sdContext -
attributeId -
Returns:
the meta-data enabled feature

getAttributeValueRuntimeTypeFeatureProcessors

public java.util.List<
IMetaDataEnabledFeature> getAttributeValueRuntimeTypeFeatureProcessors(java.lang.Class featureType,
                                                                                             
IStructuredDocumentContext sdContext,
                                                                                             
Entity attrEntity)
Parameters:
featureType -
sdContext -
attrEntity -
Returns:
returns null - if the meta data was not found
returns empty list - if not a IMetaDataEnabledFeature processor or is not valid or does not support the specified feature



 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire