org.apache.abdera.ext.thread
Class ThreadExtensionFactory
java.lang.Object
org.apache.abdera.ext.thread.ThreadExtensionFactory
- All Implemented Interfaces:
- ExtensionFactory, org.apache.abdera.parser.stax.FOMExtensionFactory
public class ThreadExtensionFactory
- extends java.lang.Object
- implements ExtensionFactory, org.apache.abdera.parser.stax.FOMExtensionFactory
Method Summary |
java.util.List<java.lang.String> |
getNamespaces()
Returns the Namespace URIs handled by this Extension Factory. |
boolean |
handlesNamespace(java.lang.String namespace)
Returns true if this extension factory handles the specified namespace |
|
newExtensionElement(javax.xml.namespace.QName qname,
Base parent,
Factory factory)
Called by the Factory implementaton to create an instance of the
extension element. |
|
newExtensionElement(javax.xml.namespace.QName qname,
Base parent,
Factory factory,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadExtensionFactory
public ThreadExtensionFactory()
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
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
newExtensionElement
public <T extends Element> T newExtensionElement(javax.xml.namespace.QName qname,
Base parent,
Factory factory)
- Description copied from interface:
ExtensionFactory
- Called by the Factory implementaton to create an instance of the
extension element. If parent is not null, the new element will
be automatically added as a child of the parent.
- Specified by:
newExtensionElement
in interface ExtensionFactory
- Parameters:
qname
- the QName of the extension elementparent
- the Parent of the extension elementfactory
- the Factory
- Returns:
- ExtensionElement The created ExtensionElement
newExtensionElement
public <T extends Element> T newExtensionElement(javax.xml.namespace.QName qname,
Base parent,
Factory factory,
org.apache.axiom.om.OMXMLParserWrapper parserWrapper)
- Specified by:
newExtensionElement
in interface org.apache.abdera.parser.stax.FOMExtensionFactory