| Modifier and Type | Field and Description |
|---|---|
| pack-priv Attr[] | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv String | |
| pack-priv String | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv SchemaDOM |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | ElementImpl(String prefix, String localpart, String rawname, String uri, int line, int column, int offset)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | getAttribute(String
The name of the attribute to retrieve. name)Overrides org. Implements org. |
| public Attr | getAttributeNode(String
The name ( name)nodeName) of the attribute to
retrieve.Overrides org. Implements org. |
| public Attr | getAttributeNodeNS(String
The namespace URI of the attribute to retrieve. namespaceURI, String The local name of the attribute to retrieve. localName)Overrides org. Implements org. Attr node by local name and namespace URI.
|
| public String | getAttributeNS(String
The namespace URI of the attribute to retrieve. namespaceURI, String The local name of the attribute to retrieve. localName)Overrides org. Implements org. |
| public NamedNodeMap | getAttributes()
Overrides org. Implements org. NamedNodeMap containing the attributes of this node (if
it is an Element) or null otherwise.
|
| public int | |
| public int | |
| public Node | getFirstChild()
Overrides org. Implements org. |
| public Node | getLastChild()
Overrides org. Implements org. |
| public int | |
| public Node | getNextSibling()
Overrides org. Implements org. |
| public Document | getOwnerDocument()
Overrides org. Implements org. Document object associated with this node.
|
| public Node | getParentNode()
Overrides org. Implements org. |
| public Node | getPreviousSibling()
Overrides org. Implements org. |
| public String | |
| public String | getTagName()
Overrides org. Implements org. |
| public boolean | hasAttribute(String
The name of the attribute to look for. name)Overrides org. Implements org. true when an attribute with a given name is
specified on this element or has a default value, false
otherwise.
|
| public boolean | hasAttributeNS(String
The namespace URI of the attribute to look for. namespaceURI, String The local name of the attribute to look for. localName)Overrides org. Implements org. true when an attribute with a given local name and
namespace URI is specified on this element or has a default value,
false otherwise.
|
| public boolean | hasAttributes()
Overrides org. Implements org. |
| public boolean | hasChildNodes()
Overrides org. Implements org. |
| private static boolean | |
| public void | setAttribute(String
The name of the attribute to create or alter. name, String Value to set in string form. value)Overrides org. Implements org. |
| attrs | back to summary |
|---|---|
| pack-priv Attr[] attrs | |
| charOffset | back to summary |
|---|---|
| pack-priv int charOffset | |
| col | back to summary |
|---|---|
| pack-priv int col | |
| column | back to summary |
|---|---|
| pack-priv int column | |
| fAnnotation | back to summary |
|---|---|
| pack-priv String fAnnotation | |
| fSyntheticAnnotation | back to summary |
|---|---|
| pack-priv String fSyntheticAnnotation | |
| line | back to summary |
|---|---|
| pack-priv int line | |
| parentRow | back to summary |
|---|---|
| pack-priv int parentRow | |
| row | back to summary |
|---|---|
| pack-priv int row | |
| schemaDOM | back to summary |
|---|---|
| pack-priv SchemaDOM schemaDOM | |
| ElementImpl | back to summary |
|---|---|
| public ElementImpl(int line, int column, int offset) | |
| ElementImpl | back to summary |
|---|---|
| public ElementImpl(int line, int column) | |
| ElementImpl | back to summary |
|---|---|
| public ElementImpl(String prefix, String localpart, String rawname, String uri, int line, int column, int offset) | |
| ElementImpl | back to summary |
|---|---|
| public ElementImpl(String prefix, String localpart, String rawname, String uri, int line, int column) | |
| getAnnotation | back to summary |
|---|---|
| public String getAnnotation() | |
| getAttribute | back to summary |
|---|---|
| public String getAttribute(String name) Overrides org. Implements org. Doc from org. Retrieves an attribute value by name. | |
| getAttributeNode | back to summary |
|---|---|
| public Attr getAttributeNode(String name) Overrides org. Implements org. Doc from org. Retrieves an attribute node by name.
| |
| getAttributeNodeNS | back to summary |
|---|---|
| public Attr getAttributeNodeNS(String namespaceURI, String localName) Overrides org. Implements org. Doc from org. Retrieves an | |
| getAttributeNS | back to summary |
|---|---|
| public String getAttributeNS(String namespaceURI, String localName) Overrides org. Implements org. Doc from org. Retrieves an attribute value by local name and namespace URI.
| |
| getAttributes | back to summary |
|---|---|
| public NamedNodeMap getAttributes() Overrides org. Implements org. Doc from org. A | |
| getCharacterOffset | back to summary |
|---|---|
| public int getCharacterOffset() Returns the character offset. | |
| getColumnNumber | back to summary |
|---|---|
| public int getColumnNumber() Returns the column number. | |
| getFirstChild | back to summary |
|---|---|
| public Node getFirstChild() Overrides org. Implements org. Doc from org. The first child of this node. If there is no such node, this returns
| |
| getLastChild | back to summary |
|---|---|
| public Node getLastChild() Overrides org. Implements org. Doc from org. The last child of this node. If there is no such node, this returns
| |
| getLineNumber | back to summary |
|---|---|
| public int getLineNumber() Returns the line number. | |
| getNextSibling | back to summary |
|---|---|
| public Node getNextSibling() Overrides org. Implements org. Doc from org. The node immediately following this node. If there is no such node,
this returns | |
| getOwnerDocument | back to summary |
|---|---|
| public Document getOwnerDocument() Overrides org. Implements org. Doc from org. The | |
| getParentNode | back to summary |
|---|---|
| public Node getParentNode() Overrides org. Implements org. Doc from org. The parent of this node. All nodes, except | |
| getPreviousSibling | back to summary |
|---|---|
| public Node getPreviousSibling() Overrides org. Implements org. Doc from org. The node immediately preceding this node. If there is no such node,
this returns | |
| getSyntheticAnnotation | back to summary |
|---|---|
| public String getSyntheticAnnotation() | |
| getTagName | back to summary |
|---|---|
| public String getTagName() Overrides org. Implements org. Doc from org. The name of the element. If <elementExample id="demo"> ... </elementExample> , tagName has the value
"elementExample". Note that this is case-preserving in
XML, as are all of the operations of the DOM. The HTML DOM returns
the tagName of an HTML element in the canonical
uppercase form, regardless of the case in the source HTML document.
| |
| hasAttribute | back to summary |
|---|---|
| public boolean hasAttribute(String name) Overrides org. Implements org. Doc from org. Returns
| |
| hasAttributeNS | back to summary |
|---|---|
| public boolean hasAttributeNS(String namespaceURI, String localName) Overrides org. Implements org. Doc from org. Returns | |
| hasAttributes | back to summary |
|---|---|
| public boolean hasAttributes() Overrides org. Implements org. Doc from org. Returns whether this node (if it is an element) has any attributes.
| |
| hasChildNodes | back to summary |
|---|---|
| public boolean hasChildNodes() Overrides org. Implements org. Doc from org. Returns whether this node has any children.
| |
| nsEquals | back to summary |
|---|---|
| private static boolean nsEquals(String nsURI_1, String nsURI_2) Compares two namespace URIs with an extra case for null entries | |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(String name, String value) Overrides org. Implements org. Doc from org. Adds a new attribute. If an attribute with that name is already present
in the element, its value is changed to be that of the value
parameter. This value is a simple string; it is not parsed as it is
being set. So any markup (such as syntax to be recognized as an
entity reference) is treated as literal text, and needs to be
appropriately escaped by the implementation when it is written out.
In order to assign an attribute value that contains entity
references, the user must create an | |