Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.axiom.om.OMAttribute createOMAttribute​(String localName, org.apache.axiom.om.OMNamespace ns, String value)
      Creates attribute.
      org.apache.axiom.om.OMComment createOMComment​(org.apache.axiom.om.OMContainer parent, String content)
      Creates a comment.
      org.apache.axiom.om.OMDocType createOMDocType​(org.apache.axiom.om.OMContainer parent, String content)
      Creates DocType/DTD.
      org.apache.axiom.om.OMDocument createOMDocument()  
      org.apache.axiom.om.OMDocument createOMDocument​(org.apache.axiom.om.OMXMLParserWrapper builder)  
      org.apache.axiom.om.OMElement createOMElement​(String localName, String namespaceURI, String namespacePrefix)
      Method createOMElement.
      org.apache.axiom.om.OMElement createOMElement​(String localName, org.apache.axiom.om.OMNamespace ns)
      Method createOMElement.
      org.apache.axiom.om.OMElement createOMElement​(String localName, org.apache.axiom.om.OMNamespace ns, org.apache.axiom.om.OMContainer parent)  
      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.
      org.apache.axiom.om.OMElement createOMElement​(QName qname)
      Create an OMElement with the given QName
      org.apache.axiom.om.OMElement createOMElement​(QName qname, org.apache.axiom.om.OMContainer parent)
      Create an OMElement with the given QName under the given parent.
      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.
      org.apache.axiom.om.OMSourcedElement createOMElement​(org.apache.axiom.om.OMDataSource source, QName qname)
      Construct element with arbitrary data source.
      org.apache.axiom.om.OMNamespace createOMNamespace​(String uri, String prefix)
      Method createOMNamespace.
      org.apache.axiom.om.OMProcessingInstruction createOMProcessingInstruction​(org.apache.axiom.om.OMContainer parent, String piTarget, String piData)
      Creates a PI.
      org.apache.axiom.om.OMText createOMText​(Object dataHandler, boolean optimize)
      Creates text.
      org.apache.axiom.om.OMText createOMText​(String s)
      Method createOMText.
      org.apache.axiom.om.OMText createOMText​(String s, int type)  
      org.apache.axiom.om.OMText createOMText​(String s, String mimeType, boolean optimize)
      Creates text.
      org.apache.axiom.om.OMText createOMText​(String contentID, org.apache.axiom.ext.stax.datahandler.DataHandlerProvider dataHandlerProvider, boolean optimize)  
      org.apache.axiom.om.OMText createOMText​(String contentID, org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMXMLParserWrapper builder)  
      org.apache.axiom.om.OMText createOMText​(org.apache.axiom.om.OMContainer parent, char[] charArary, int type)  
      org.apache.axiom.om.OMText createOMText​(org.apache.axiom.om.OMContainer parent, String text)
      Method createOMText.
      org.apache.axiom.om.OMText createOMText​(org.apache.axiom.om.OMContainer parent, String text, int type)  
      org.apache.axiom.om.OMText createOMText​(org.apache.axiom.om.OMContainer parent, String s, String mimeType, boolean optimize)
      Creates text.
      org.apache.axiom.om.OMText createOMText​(org.apache.axiom.om.OMContainer parent, QName text)  
      org.apache.axiom.om.OMText createOMText​(org.apache.axiom.om.OMContainer parent, QName text, int type)  
      org.apache.axiom.om.OMText createOMText​(org.apache.axiom.om.OMContainer parent, org.apache.axiom.om.OMText source)  
      org.apache.axiom.om.OMMetaFactory getMetaFactory()  
    • Constructor Detail

      • OMLinkedListImplFactory

        public OMLinkedListImplFactory()
    • Method Detail

      • getMetaFactory

        public org.apache.axiom.om.OMMetaFactory getMetaFactory()
        Specified by:
        getMetaFactory in interface org.apache.axiom.om.OMFactory
      • createOMElement

        public org.apache.axiom.om.OMElement createOMElement​(String localName,
                                                             org.apache.axiom.om.OMNamespace ns)
        Method createOMElement.
        Specified by:
        createOMElement in interface org.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:
        createOMElement in interface org.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:
        createOMElement in interface org.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:
        createOMElement in interface org.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:
        createOMElement in interface org.apache.axiom.om.OMFactory
        Parameters:
        qname - the QName of the element to create
        parent - 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:
        createOMElement in interface org.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:
        createOMElement in interface org.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:
        createOMElement in interface org.apache.axiom.om.OMFactory
        Parameters:
        source - the data source
        qname - 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:
        createOMNamespace in interface org.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:
        createOMText in interface org.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:
        createOMText in interface org.apache.axiom.om.OMFactory
      • createOMText

        public org.apache.axiom.om.OMText createOMText​(org.apache.axiom.om.OMContainer parent,
                                                       String text,
                                                       int type)
        Specified by:
        createOMText in interface org.apache.axiom.om.OMFactory
      • createOMText

        public org.apache.axiom.om.OMText createOMText​(org.apache.axiom.om.OMContainer parent,
                                                       char[] charArary,
                                                       int type)
        Specified by:
        createOMText in interface org.apache.axiom.om.OMFactory
      • createOMText

        public org.apache.axiom.om.OMText createOMText​(org.apache.axiom.om.OMContainer parent,
                                                       QName text,
                                                       int type)
        Specified by:
        createOMText in interface org.apache.axiom.om.OMFactory
      • createOMText

        public org.apache.axiom.om.OMText createOMText​(String s)
        Method createOMText.
        Specified by:
        createOMText in interface org.apache.axiom.om.OMFactory
        Parameters:
        s -
        Returns:
        Returns OMText.
      • createOMText

        public org.apache.axiom.om.OMText createOMText​(String s,
                                                       int type)
        Specified by:
        createOMText in interface org.apache.axiom.om.OMFactory
      • createOMText

        public org.apache.axiom.om.OMText createOMText​(String s,
                                                       String mimeType,
                                                       boolean optimize)
        Creates text.
        Specified by:
        createOMText in interface org.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:
        createOMText in interface org.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:
        createOMText in interface org.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:
        createOMText in interface org.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:
        createOMText in interface org.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:
        createOMText in interface org.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:
        createOMAttribute in interface org.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:
        createOMDocType in interface org.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:
        createOMProcessingInstruction in interface org.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:
        createOMComment in interface org.apache.axiom.om.OMFactory
        Parameters:
        parent -
        content -
        Returns:
        Returns OMComment.
      • createOMDocument

        public org.apache.axiom.om.OMDocument createOMDocument()
        Specified by:
        createOMDocument in interface org.apache.axiom.om.OMFactory
      • createOMDocument

        public org.apache.axiom.om.OMDocument createOMDocument​(org.apache.axiom.om.OMXMLParserWrapper builder)
        Specified by:
        createOMDocument in interface org.apache.axiom.om.OMFactory