public class

XElement

extends XNode
implements Element
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.encoding.xml.XNode
     ↳ com.pnfsoftware.jeb.util.encoding.xml.XElement

Class Overview

Implementation of the Element API used by XmlParser.

Summary

[Expand]
Inherited Constants
From interface org.w3c.dom.Node
Public Constructors
XElement(String name)
Public Methods
String getAttribute(String name)
String getAttributeNS(String namespaceURI, String localName)
Attr getAttributeNode(String name)
Attr getAttributeNodeNS(String namespaceURI, String localName)
NamedNodeMap getAttributes()
NodeList getElementsByTagName(String name)
NodeList getElementsByTagNameNS(String namespaceURI, String localName)
String getNodeName()
short getNodeType()
String getNodeValue()
TypeInfo getSchemaTypeInfo()
String getTagName()
boolean hasAttribute(String name)
boolean hasAttributeNS(String namespaceURI, String localName)
void initAttributes(List<XAttr> attributes)
void removeAttribute(String name)
void removeAttributeNS(String namespaceURI, String localName)
Attr removeAttributeNode(Attr oldAttr)
void setAttribute(String name, String value)
void setAttributeNS(String namespaceURI, String qualifiedName, String value)
Attr setAttributeNode(Attr newAttr)
Attr setAttributeNodeNS(Attr newAttr)
void setIdAttribute(String name, boolean isId)
void setIdAttributeNS(String namespaceURI, String localName, boolean isId)
void setIdAttributeNode(Attr idAttr, boolean isId)
[Expand]
Inherited Methods
From class com.pnfsoftware.jeb.util.encoding.xml.XNode
From class java.lang.Object
From interface org.w3c.dom.Element
From interface org.w3c.dom.Node

Public Constructors

public XElement (String name)

Public Methods

public String getAttribute (String name)

public String getAttributeNS (String namespaceURI, String localName)

Throws
DOMException

public Attr getAttributeNode (String name)

public Attr getAttributeNodeNS (String namespaceURI, String localName)

Throws
DOMException

public NamedNodeMap getAttributes ()

public NodeList getElementsByTagName (String name)

public NodeList getElementsByTagNameNS (String namespaceURI, String localName)

Throws
DOMException

public String getNodeName ()

public short getNodeType ()

public String getNodeValue ()

Throws
DOMException

public TypeInfo getSchemaTypeInfo ()

public String getTagName ()

public boolean hasAttribute (String name)

public boolean hasAttributeNS (String namespaceURI, String localName)

Throws
DOMException

public void initAttributes (List<XAttr> attributes)

public void removeAttribute (String name)

Throws
DOMException

public void removeAttributeNS (String namespaceURI, String localName)

Throws
DOMException

public Attr removeAttributeNode (Attr oldAttr)

Throws
DOMException

public void setAttribute (String name, String value)

Throws
DOMException

public void setAttributeNS (String namespaceURI, String qualifiedName, String value)

Throws
DOMException

public Attr setAttributeNode (Attr newAttr)

Throws
DOMException

public Attr setAttributeNodeNS (Attr newAttr)

Throws
DOMException

public void setIdAttribute (String name, boolean isId)

Throws
DOMException

public void setIdAttributeNS (String namespaceURI, String localName, boolean isId)

Throws
DOMException

public void setIdAttributeNode (Attr idAttr, boolean isId)

Throws
DOMException