Class XElement
java.lang.Object
com.pnfsoftware.jeb.util.encoding.xml.XNode
com.pnfsoftware.jeb.util.encoding.xml.XElement
-
Field Summary
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String name) getAttributeNode(String name) getAttributeNodeNS(String namespaceURI, String localName) getAttributeNS(String namespaceURI, String localName) getElementsByTagName(String name) getElementsByTagNameNS(String namespaceURI, String localName) shortbooleanhasAttribute(String name) booleanhasAttributeNS(String namespaceURI, String localName) voidinitAttributes(List<XAttr> attributes) voidremoveAttribute(String name) removeAttributeNode(Attr oldAttr) voidremoveAttributeNS(String namespaceURI, String localName) voidsetAttribute(String name, String value) setAttributeNode(Attr newAttr) setAttributeNodeNS(Attr newAttr) voidsetAttributeNS(String namespaceURI, String qualifiedName, String value) voidsetIdAttribute(String name, boolean isId) voidsetIdAttributeNode(Attr idAttr, boolean isId) voidsetIdAttributeNS(String namespaceURI, String localName, boolean isId) Methods inherited from class com.pnfsoftware.jeb.util.encoding.xml.XNode
appendChild, cloneNode, compareDocumentPosition, findNodeByName, getBaseURI, getChildNodes, getDescendantElementsByTagName, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, initChildren, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, ofType, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
Constructor Details
-
XElement
-
-
Method Details
-
initAttributes
-
getNodeType
public short getNodeType()- Specified by:
getNodeTypein interfaceNode
-
getNodeName
- Specified by:
getNodeNamein interfaceNode
-
getNodeValue
- Specified by:
getNodeValuein interfaceNode- Throws:
DOMException
-
getTagName
- Specified by:
getTagNamein interfaceElement
-
getAttributes
- Specified by:
getAttributesin interfaceNode- Overrides:
getAttributesin classXNode
-
getAttribute
- Specified by:
getAttributein interfaceElement
-
setAttribute
- Specified by:
setAttributein interfaceElement- Throws:
DOMException
-
removeAttribute
- Specified by:
removeAttributein interfaceElement- Throws:
DOMException
-
getAttributeNode
- Specified by:
getAttributeNodein interfaceElement
-
setAttributeNode
- Specified by:
setAttributeNodein interfaceElement- Throws:
DOMException
-
removeAttributeNode
- Specified by:
removeAttributeNodein interfaceElement- Throws:
DOMException
-
getElementsByTagName
- Specified by:
getElementsByTagNamein interfaceElement
-
getAttributeNS
- Specified by:
getAttributeNSin interfaceElement- Throws:
DOMException
-
setAttributeNS
public void setAttributeNS(String namespaceURI, String qualifiedName, String value) throws DOMException - Specified by:
setAttributeNSin interfaceElement- Throws:
DOMException
-
removeAttributeNS
- Specified by:
removeAttributeNSin interfaceElement- Throws:
DOMException
-
getAttributeNodeNS
- Specified by:
getAttributeNodeNSin interfaceElement- Throws:
DOMException
-
setAttributeNodeNS
- Specified by:
setAttributeNodeNSin interfaceElement- Throws:
DOMException
-
getElementsByTagNameNS
- Specified by:
getElementsByTagNameNSin interfaceElement- Throws:
DOMException
-
hasAttribute
- Specified by:
hasAttributein interfaceElement
-
hasAttributeNS
- Specified by:
hasAttributeNSin interfaceElement- Throws:
DOMException
-
getSchemaTypeInfo
- Specified by:
getSchemaTypeInfoin interfaceElement
-
setIdAttribute
- Specified by:
setIdAttributein interfaceElement- Throws:
DOMException
-
setIdAttributeNS
public void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException - Specified by:
setIdAttributeNSin interfaceElement- Throws:
DOMException
-
setIdAttributeNode
- Specified by:
setIdAttributeNodein interfaceElement- Throws:
DOMException
-