Class OMLinkedListImplFactory
- java.lang.Object
-
- org.apache.axiom.om.impl.llom.factory.OMLinkedListImplFactory
-
- All Implemented Interfaces:
org.apache.axiom.om.OMFactory
- Direct Known Subclasses:
SOAP11Factory,SOAP12Factory
public class OMLinkedListImplFactory extends Object implements org.apache.axiom.om.OMFactory
Class OMLinkedListImplFactory
-
-
Constructor Summary
Constructors Constructor Description OMLinkedListImplFactory()OMLinkedListImplFactory(OMLinkedListMetaFactory metaFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.axiom.om.OMAttributecreateOMAttribute(String localName, org.apache.axiom.om.OMNamespace ns, String value)Creates attribute.org.apache.axiom.om.OMCommentcreateOMComment(org.apache.axiom.om.OMContainer parent, String content)Creates a comment.org.apache.axiom.om.OMDocTypecreateOMDocType(org.apache.axiom.om.OMContainer parent, String content)Creates DocType/DTD.org.apache.axiom.om.OMDocumentcreateOMDocument()org.apache.axiom.om.OMDocumentcreateOMDocument(org.apache.axiom.om.OMXMLParserWrapper builder)org.apache.axiom.om.OMElementcreateOMElement(String localName, String namespaceURI, String namespacePrefix)Method createOMElement.org.apache.axiom.om.OMElementcreateOMElement(String localName, org.apache.axiom.om.OMNamespace ns)Method createOMElement.org.apache.axiom.om.OMElementcreateOMElement(String localName, org.apache.axiom.om.OMNamespace ns, org.apache.axiom.om.OMContainer parent)org.apache.axiom.om.OMElementcreateOMElement(String localName, org.apache.axiom.om.OMNamespace ns, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper builder)Method createOMElement.org.apache.axiom.om.OMElementcreateOMElement(QName qname)Create an OMElement with the given QNameorg.apache.axiom.om.OMElementcreateOMElement(QName qname, org.apache.axiom.om.OMContainer parent)Create an OMElement with the given QName under the given parent.org.apache.axiom.om.OMSourcedElementcreateOMElement(org.apache.axiom.om.OMDataSource source, String localName, org.apache.axiom.om.OMNamespace ns)Construct element with arbitrary data source.org.apache.axiom.om.OMSourcedElementcreateOMElement(org.apache.axiom.om.OMDataSource source, QName qname)Construct element with arbitrary data source.org.apache.axiom.om.OMNamespacecreateOMNamespace(String uri, String prefix)Method createOMNamespace.org.apache.axiom.om.OMProcessingInstructioncreateOMProcessingInstruction(org.apache.axiom.om.OMContainer parent, String piTarget, String piData)Creates a PI.org.apache.axiom.om.OMTextcreateOMText(Object dataHandler, boolean optimize)Creates text.org.apache.axiom.om.OMTextcreateOMText(String s)Method createOMText.org.apache.axiom.om.OMTextcreateOMText(String s, int type)org.apache.axiom.om.OMTextcreateOMText(String s, String mimeType, boolean optimize)Creates text.org.apache.axiom.om.OMTextcreateOMText(String contentID, org.apache.axiom.ext.stax.datahandler.DataHandlerProvider dataHandlerProvider, boolean optimize)org.apache.axiom.om.OMTextcreateOMText(String contentID, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper builder)org.apache.axiom.om.OMTextcreateOMText(org.apache.axiom.om.OMContainer parent, char[] charArary, int type)org.apache.axiom.om.OMTextcreateOMText(org.apache.axiom.om.OMContainer parent, String text)Method createOMText.org.apache.axiom.om.OMTextcreateOMText(org.apache.axiom.om.OMContainer parent, String text, int type)org.apache.axiom.om.OMTextcreateOMText(org.apache.axiom.om.OMContainer parent, String s, String mimeType, boolean optimize)Creates text.org.apache.axiom.om.OMTextcreateOMText(org.apache.axiom.om.OMContainer parent, QName text)org.apache.axiom.om.OMTextcreateOMText(org.apache.axiom.om.OMContainer parent, QName text, int type)org.apache.axiom.om.OMTextcreateOMText(org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMText source)org.apache.axiom.om.OMMetaFactorygetMetaFactory()
-
-
-
Constructor Detail
-
OMLinkedListImplFactory
public OMLinkedListImplFactory(OMLinkedListMetaFactory metaFactory)
-
OMLinkedListImplFactory
public OMLinkedListImplFactory()
-
-
Method Detail
-
getMetaFactory
public org.apache.axiom.om.OMMetaFactory getMetaFactory()
- Specified by:
getMetaFactoryin interfaceorg.apache.axiom.om.OMFactory
-
createOMElement
public org.apache.axiom.om.OMElement createOMElement(String localName, org.apache.axiom.om.OMNamespace ns)
Method createOMElement.- Specified by:
createOMElementin interfaceorg.apache.axiom.om.OMFactory- Parameters:
localName-ns-- Returns:
- Returns OMElement.
-
createOMElement
public org.apache.axiom.om.OMElement createOMElement(String localName, org.apache.axiom.om.OMNamespace ns, org.apache.axiom.om.OMContainer parent)
- Specified by:
createOMElementin interfaceorg.apache.axiom.om.OMFactory
-
createOMElement
public org.apache.axiom.om.OMElement createOMElement(String localName, org.apache.axiom.om.OMNamespace ns, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper builder)
Method createOMElement.- Specified by:
createOMElementin interfaceorg.apache.axiom.om.OMFactory- Parameters:
localName-ns-parent-builder-- Returns:
- Returns OMElement.
-
createOMElement
public org.apache.axiom.om.OMElement createOMElement(String localName, String namespaceURI, String namespacePrefix)
Method createOMElement.- Specified by:
createOMElementin interfaceorg.apache.axiom.om.OMFactory- Parameters:
localName-namespaceURI-namespacePrefix-- Returns:
- Returns OMElement.
-
createOMElement
public org.apache.axiom.om.OMElement createOMElement(QName qname, org.apache.axiom.om.OMContainer parent) throws org.apache.axiom.om.OMException
Create an OMElement with the given QName under the given parent. If the QName contains a prefix, we will ensure that an OMNamespace is created mapping the given namespace to the given prefix. If no prefix is passed, we'll use whatever's already mapped in the parent, or create a generated one.- Specified by:
createOMElementin interfaceorg.apache.axiom.om.OMFactory- Parameters:
qname- the QName of the element to createparent- the OMContainer in which to place the new element- Returns:
- Returns the new OMElement
- Throws:
org.apache.axiom.om.OMException- if there's a namespace mapping problem
-
createOMElement
public org.apache.axiom.om.OMElement createOMElement(QName qname) throws org.apache.axiom.om.OMException
Create an OMElement with the given QName If the QName contains a prefix, we will ensure that an OMNamespace is created mapping the given namespace to the given prefix. If no prefix is passed, we'll use whatever's already mapped in the parent, or create a generated one.- Specified by:
createOMElementin interfaceorg.apache.axiom.om.OMFactory- Parameters:
qname-- Returns:
- the new OMElement.
- Throws:
org.apache.axiom.om.OMException
-
createOMElement
public org.apache.axiom.om.OMSourcedElement createOMElement(org.apache.axiom.om.OMDataSource source, String localName, org.apache.axiom.om.OMNamespace ns)Construct element with arbitrary data source.- Specified by:
createOMElementin interfaceorg.apache.axiom.om.OMFactory- Parameters:
source-localName-ns-
-
createOMElement
public org.apache.axiom.om.OMSourcedElement createOMElement(org.apache.axiom.om.OMDataSource source, QName qname)Construct element with arbitrary data source.- Specified by:
createOMElementin interfaceorg.apache.axiom.om.OMFactory- Parameters:
source- the data sourceqname- the name of the element produced by the data source
-
createOMNamespace
public org.apache.axiom.om.OMNamespace createOMNamespace(String uri, String prefix)
Method createOMNamespace.- Specified by:
createOMNamespacein interfaceorg.apache.axiom.om.OMFactory- Parameters:
uri-prefix-- Returns:
- Returns OMNamespace.
-
createOMText
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer parent, String text)Method createOMText.- Specified by:
createOMTextin interfaceorg.apache.axiom.om.OMFactory- Parameters:
parent-text-- Returns:
- Returns OMText.
-
createOMText
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer parent, QName text)- Specified by:
createOMTextin interfaceorg.apache.axiom.om.OMFactory
-
createOMText
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer parent, String text, int type)- Specified by:
createOMTextin interfaceorg.apache.axiom.om.OMFactory
-
createOMText
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer parent, char[] charArary, int type)- Specified by:
createOMTextin interfaceorg.apache.axiom.om.OMFactory
-
createOMText
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer parent, QName text, int type)- Specified by:
createOMTextin interfaceorg.apache.axiom.om.OMFactory
-
createOMText
public org.apache.axiom.om.OMText createOMText(String s)
Method createOMText.- Specified by:
createOMTextin interfaceorg.apache.axiom.om.OMFactory- Parameters:
s-- Returns:
- Returns OMText.
-
createOMText
public org.apache.axiom.om.OMText createOMText(String s, int type)
- Specified by:
createOMTextin interfaceorg.apache.axiom.om.OMFactory
-
createOMText
public org.apache.axiom.om.OMText createOMText(String s, String mimeType, boolean optimize)
Creates text.- Specified by:
createOMTextin interfaceorg.apache.axiom.om.OMFactory- Parameters:
s-mimeType-optimize-- Returns:
- Returns OMText.
-
createOMText
public org.apache.axiom.om.OMText createOMText(Object dataHandler, boolean optimize)
Creates text.- Specified by:
createOMTextin interfaceorg.apache.axiom.om.OMFactory- Parameters:
dataHandler-optimize-- Returns:
- Returns OMText.
-
createOMText
public org.apache.axiom.om.OMText createOMText(String contentID, org.apache.axiom.ext.stax.datahandler.DataHandlerProvider dataHandlerProvider, boolean optimize)
- Specified by:
createOMTextin interfaceorg.apache.axiom.om.OMFactory
-
createOMText
public org.apache.axiom.om.OMText createOMText(String contentID, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper builder)
- Specified by:
createOMTextin interfaceorg.apache.axiom.om.OMFactory
-
createOMText
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMText source)- Specified by:
createOMTextin interfaceorg.apache.axiom.om.OMFactory
-
createOMText
public org.apache.axiom.om.OMText createOMText(org.apache.axiom.om.OMContainer parent, String s, String mimeType, boolean optimize)Creates text.- Specified by:
createOMTextin interfaceorg.apache.axiom.om.OMFactory- Parameters:
parent-s-mimeType-optimize-- Returns:
- Returns OMText.
-
createOMAttribute
public org.apache.axiom.om.OMAttribute createOMAttribute(String localName, org.apache.axiom.om.OMNamespace ns, String value)
Creates attribute.- Specified by:
createOMAttributein interfaceorg.apache.axiom.om.OMFactory- Parameters:
localName-ns-value-- Returns:
- Returns OMAttribute.
-
createOMDocType
public org.apache.axiom.om.OMDocType createOMDocType(org.apache.axiom.om.OMContainer parent, String content)Creates DocType/DTD.- Specified by:
createOMDocTypein interfaceorg.apache.axiom.om.OMFactory- Parameters:
parent-content-- Returns:
- Returns doctype.
-
createOMProcessingInstruction
public org.apache.axiom.om.OMProcessingInstruction createOMProcessingInstruction(org.apache.axiom.om.OMContainer parent, String piTarget, String piData)Creates a PI.- Specified by:
createOMProcessingInstructionin interfaceorg.apache.axiom.om.OMFactory- Parameters:
parent-piTarget-piData-- Returns:
- Returns OMProcessingInstruction.
-
createOMComment
public org.apache.axiom.om.OMComment createOMComment(org.apache.axiom.om.OMContainer parent, String content)Creates a comment.- Specified by:
createOMCommentin interfaceorg.apache.axiom.om.OMFactory- Parameters:
parent-content-- Returns:
- Returns OMComment.
-
createOMDocument
public org.apache.axiom.om.OMDocument createOMDocument()
- Specified by:
createOMDocumentin interfaceorg.apache.axiom.om.OMFactory
-
createOMDocument
public org.apache.axiom.om.OMDocument createOMDocument(org.apache.axiom.om.OMXMLParserWrapper builder)
- Specified by:
createOMDocumentin interfaceorg.apache.axiom.om.OMFactory
-
-