org.apache.abdera.factory
Class ExtensionFactoryMap
java.lang.Object
org.apache.abdera.factory.ExtensionFactoryMap
- All Implemented Interfaces:
- ExtensionFactory
public class ExtensionFactoryMap
- extends java.lang.Object
- implements ExtensionFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtensionFactoryMap
public ExtensionFactoryMap(java.util.List<ExtensionFactory> factories)
getElementWrapper
public <T extends Element> T getElementWrapper(Element internal)
- Description copied from interface:
ExtensionFactory
- Retrieve an ElementWrapper for the specified Element or return
the parameter itself if a wrapper could not be retrieved
- Specified by:
getElementWrapper
in interface ExtensionFactory
setElementWrapper
public void setElementWrapper(Element internal,
Element wrapper)
getNamespaces
public java.util.List<java.lang.String> getNamespaces()
- Description copied from interface:
ExtensionFactory
- Returns the Namespace URIs handled by this Extension Factory
- Specified by:
getNamespaces
in interface ExtensionFactory
- Returns:
- A List of Namespace URIs Supported by this Extension
handlesNamespace
public boolean handlesNamespace(java.lang.String namespace)
- Description copied from interface:
ExtensionFactory
- Returns true if this extension factory handles the specified namespace
- Specified by:
handlesNamespace
in interface ExtensionFactory
newExtensionElement
public <T extends Element> T newExtensionElement(javax.xml.namespace.QName qname,
Base parent,
Factory factory)
getFactories
public java.util.List<ExtensionFactory> getFactories()