Class ElementImpl

    • Field Detail

      • DSIG_NS

        public static final String DSIG_NS
      • XENC_NS

        public static final String XENC_NS
      • WSU_NS

        public static final String WSU_NS
      • elementQName

        protected QName elementQName
      • log

        protected static final Logger log
      • XMLNS_URI

        public static final String XMLNS_URI
        XML Information Set REC all namespace attributes (including those named xmlns, whose [prefix] property has no value) have a namespace URI of http://www.w3.org/2000/xmlns/
      • XML_URI

        public static final String XML_URI
        The XML Namespace ("http://www.w3.org/XML/1998/namespace"). This is the Namespace URI that is automatically mapped to the "xml" prefix.
    • Method Detail

      • ensureNamespaceIsDeclared

        public void ensureNamespaceIsDeclared​(String prefix,
                                              String uri)
      • hasChildNodes

        public boolean hasChildNodes()
        Specified by:
        hasChildNodes in interface Node
      • cloneNode

        public Node cloneNode​(boolean deep)
        Specified by:
        cloneNode in interface Node
      • normalize

        public void normalize()
        Specified by:
        normalize in interface Node
      • hasAttributes

        public boolean hasAttributes()
        Specified by:
        hasAttributes in interface Node
      • isSameNode

        public boolean isSameNode​(Node other)
        Specified by:
        isSameNode in interface Node
      • isEqualNode

        public boolean isEqualNode​(Node arg)
        Specified by:
        isEqualNode in interface Node
      • addChildElement

        public javax.xml.soap.SOAPElement addChildElement​(javax.xml.soap.Name name)
                                                   throws javax.xml.soap.SOAPException
        Specified by:
        addChildElement in interface javax.xml.soap.SOAPElement
        Throws:
        javax.xml.soap.SOAPException
      • addChildElement

        public javax.xml.soap.SOAPElement addChildElement​(QName qname)
                                                   throws javax.xml.soap.SOAPException
        Specified by:
        addChildElement in interface javax.xml.soap.SOAPElement
        Throws:
        javax.xml.soap.SOAPException
      • addChildElement

        public javax.xml.soap.SOAPElement addChildElement​(String localName)
                                                   throws javax.xml.soap.SOAPException
        Specified by:
        addChildElement in interface javax.xml.soap.SOAPElement
        Throws:
        javax.xml.soap.SOAPException
      • addChildElement

        public javax.xml.soap.SOAPElement addChildElement​(String localName,
                                                          String prefix)
                                                   throws javax.xml.soap.SOAPException
        Specified by:
        addChildElement in interface javax.xml.soap.SOAPElement
        Throws:
        javax.xml.soap.SOAPException
      • getNamespaceURI

        public String getNamespaceURI​(String prefix)
        Specified by:
        getNamespaceURI in interface javax.xml.soap.SOAPElement
      • setElementQName

        public javax.xml.soap.SOAPElement setElementQName​(QName newName)
                                                   throws javax.xml.soap.SOAPException
        Specified by:
        setElementQName in interface javax.xml.soap.SOAPElement
        Throws:
        javax.xml.soap.SOAPException
      • createQName

        public QName createQName​(String localName,
                                 String prefix)
                          throws javax.xml.soap.SOAPException
        Specified by:
        createQName in interface javax.xml.soap.SOAPElement
        Throws:
        javax.xml.soap.SOAPException
      • getNamespacePrefix

        public String getNamespacePrefix​(String uri)
      • getNamespaceAttr

        protected Attr getNamespaceAttr​(String prefix)
      • addChildElement

        public javax.xml.soap.SOAPElement addChildElement​(String localName,
                                                          String prefix,
                                                          String uri)
                                                   throws javax.xml.soap.SOAPException
        Specified by:
        addChildElement in interface javax.xml.soap.SOAPElement
        Throws:
        javax.xml.soap.SOAPException
      • addChildElement

        public javax.xml.soap.SOAPElement addChildElement​(javax.xml.soap.SOAPElement element)
                                                   throws javax.xml.soap.SOAPException
        Specified by:
        addChildElement in interface javax.xml.soap.SOAPElement
        Throws:
        javax.xml.soap.SOAPException
      • importElement

        protected Element importElement​(Element element)
      • addElement

        protected javax.xml.soap.SOAPElement addElement​(javax.xml.soap.Name name)
                                                 throws javax.xml.soap.SOAPException
        Throws:
        javax.xml.soap.SOAPException
      • addElement

        protected javax.xml.soap.SOAPElement addElement​(QName name)
                                                 throws javax.xml.soap.SOAPException
        Throws:
        javax.xml.soap.SOAPException
      • createElement

        protected javax.xml.soap.SOAPElement createElement​(javax.xml.soap.Name name)
      • createElement

        protected javax.xml.soap.SOAPElement createElement​(QName name)
      • addNode

        protected void addNode​(Node newElement)
                        throws javax.xml.soap.SOAPException
        Throws:
        javax.xml.soap.SOAPException
      • findChild

        protected javax.xml.soap.SOAPElement findChild​(NameImpl name)
      • findAndConvertChildElement

        protected javax.xml.soap.SOAPElement findAndConvertChildElement​(NameImpl name)
      • addTextNode

        public javax.xml.soap.SOAPElement addTextNode​(String text)
                                               throws javax.xml.soap.SOAPException
        Specified by:
        addTextNode in interface javax.xml.soap.SOAPElement
        Throws:
        javax.xml.soap.SOAPException
      • addCDATA

        protected javax.xml.soap.SOAPElement addCDATA​(String text)
                                               throws javax.xml.soap.SOAPException
        Throws:
        javax.xml.soap.SOAPException
      • addText

        protected javax.xml.soap.SOAPElement addText​(String text)
                                              throws javax.xml.soap.SOAPException
        Throws:
        javax.xml.soap.SOAPException
      • addAttribute

        public javax.xml.soap.SOAPElement addAttribute​(javax.xml.soap.Name name,
                                                       String value)
                                                throws javax.xml.soap.SOAPException
        Specified by:
        addAttribute in interface javax.xml.soap.SOAPElement
        Throws:
        javax.xml.soap.SOAPException
      • addAttribute

        public javax.xml.soap.SOAPElement addAttribute​(QName qname,
                                                       String value)
                                                throws javax.xml.soap.SOAPException
        Specified by:
        addAttribute in interface javax.xml.soap.SOAPElement
        Throws:
        javax.xml.soap.SOAPException
      • addNamespaceDeclaration

        public javax.xml.soap.SOAPElement addNamespaceDeclaration​(String prefix,
                                                                  String uri)
                                                           throws javax.xml.soap.SOAPException
        Specified by:
        addNamespaceDeclaration in interface javax.xml.soap.SOAPElement
        Throws:
        javax.xml.soap.SOAPException
      • getAttributeValue

        public String getAttributeValue​(javax.xml.soap.Name name)
        Specified by:
        getAttributeValue in interface javax.xml.soap.SOAPElement
      • getAttributeValue

        public String getAttributeValue​(QName qname)
        Specified by:
        getAttributeValue in interface javax.xml.soap.SOAPElement
      • getAllAttributes

        public Iterator<javax.xml.soap.Name> getAllAttributes()
        Specified by:
        getAllAttributes in interface javax.xml.soap.SOAPElement
      • getAllAttributesAsQNames

        public Iterator<QName> getAllAttributesAsQNames()
        Specified by:
        getAllAttributesAsQNames in interface javax.xml.soap.SOAPElement
      • getNamespacePrefixes

        public Iterator<String> getNamespacePrefixes()
        Specified by:
        getNamespacePrefixes in interface javax.xml.soap.SOAPElement
      • getVisibleNamespacePrefixes

        public Iterator<String> getVisibleNamespacePrefixes()
        Specified by:
        getVisibleNamespacePrefixes in interface javax.xml.soap.SOAPElement
      • doGetNamespacePrefixes

        protected Iterator<String> doGetNamespacePrefixes​(boolean deep)
      • getElementName

        public javax.xml.soap.Name getElementName()
        Specified by:
        getElementName in interface javax.xml.soap.SOAPElement
      • getElementQName

        public QName getElementQName()
        Specified by:
        getElementQName in interface javax.xml.soap.SOAPElement
      • removeAttribute

        public boolean removeAttribute​(javax.xml.soap.Name name)
        Specified by:
        removeAttribute in interface javax.xml.soap.SOAPElement
      • removeAttribute

        public boolean removeAttribute​(QName name)
        Specified by:
        removeAttribute in interface javax.xml.soap.SOAPElement
      • removeNamespaceDeclaration

        public boolean removeNamespaceDeclaration​(String prefix)
        Specified by:
        removeNamespaceDeclaration in interface javax.xml.soap.SOAPElement
      • getChildElements

        public Iterator<javax.xml.soap.Node> getChildElements()
        Specified by:
        getChildElements in interface javax.xml.soap.SOAPElement
      • convertToSoapElement

        protected javax.xml.soap.SOAPElement convertToSoapElement​(Element element)
      • replaceElementWithSOAPElement

        protected javax.xml.soap.SOAPElement replaceElementWithSOAPElement​(Element element,
                                                                           ElementImpl copy)
      • getChildElementNodes

        protected Iterator<Node> getChildElementNodes()
      • getChildElements

        public Iterator<javax.xml.soap.Node> getChildElements​(javax.xml.soap.Name name)
        Specified by:
        getChildElements in interface javax.xml.soap.SOAPElement
      • getChildElements

        public Iterator<javax.xml.soap.Node> getChildElements​(QName qname)
        Specified by:
        getChildElements in interface javax.xml.soap.SOAPElement
      • removeContents

        public void removeContents()
        Specified by:
        removeContents in interface javax.xml.soap.SOAPElement
      • setEncodingStyle

        public void setEncodingStyle​(String encodingStyle)
                              throws javax.xml.soap.SOAPException
        Specified by:
        setEncodingStyle in interface javax.xml.soap.SOAPElement
        Throws:
        javax.xml.soap.SOAPException
      • getEncodingStyle

        public String getEncodingStyle()
        Specified by:
        getEncodingStyle in interface javax.xml.soap.SOAPElement
      • getValue

        public String getValue()
        Specified by:
        getValue in interface javax.xml.soap.Node
      • setValue

        public void setValue​(String value)
        Specified by:
        setValue in interface javax.xml.soap.Node
      • getValueNodeStrict

        protected Node getValueNodeStrict()
      • getValueNode

        protected javax.xml.soap.Node getValueNode()
      • setParentElement

        public void setParentElement​(javax.xml.soap.SOAPElement element)
                              throws javax.xml.soap.SOAPException
        Specified by:
        setParentElement in interface javax.xml.soap.Node
        Throws:
        javax.xml.soap.SOAPException
      • findEncodingStyleAttributeName

        protected void findEncodingStyleAttributeName()
                                               throws javax.xml.soap.SOAPException
        Throws:
        javax.xml.soap.SOAPException
      • setEncodingStyleNamespace

        protected void setEncodingStyleNamespace​(String soapNamespace,
                                                 String soapNamespacePrefix)
                                          throws javax.xml.soap.SOAPException
        Throws:
        javax.xml.soap.SOAPException
      • getParentElement

        public javax.xml.soap.SOAPElement getParentElement()
        Specified by:
        getParentElement in interface javax.xml.soap.Node
      • getSOAPNamespace

        protected String getSOAPNamespace()
      • detachNode

        public void detachNode()
        Specified by:
        detachNode in interface javax.xml.soap.Node
      • tryToFindEncodingStyleAttributeName

        public void tryToFindEncodingStyleAttributeName()
      • recycleNode

        public void recycleNode()
        Specified by:
        recycleNode in interface javax.xml.soap.Node
      • getNamespaceAttrFrom

        protected static Attr getNamespaceAttrFrom​(Element element,
                                                   String prefix)
      • getAllAttributesFrom

        protected static Iterator<javax.xml.soap.Name> getAllAttributesFrom​(Element element)
      • getAttributeValueFrom

        protected static String getAttributeValueFrom​(Element element,
                                                      javax.xml.soap.Name name)
      • getChildElementsFrom

        protected Iterator<javax.xml.soap.Node> getChildElementsFrom​(Element element)
      • getQualifiedName

        public static String getQualifiedName​(QName name)
      • getLocalPart

        public static String getLocalPart​(String qualifiedName)
      • getPrefix

        public static String getPrefix​(String qualifiedName)
      • isNamespaceQualified

        protected boolean isNamespaceQualified​(javax.xml.soap.Name name)
      • isNamespaceQualified

        protected boolean isNamespaceQualified​(QName name)
      • getNodeType

        public short getNodeType()
        Specified by:
        getNodeType in interface Node
      • getDomElement

        public Element getDomElement()