net.sf.saxon.dom
public class AttrOverNodeInfo extends NodeOverNodeInfo implements Attr
Method Summary | |
---|---|
NodeList | getChildNodes()
Return a NodeList that contains all children of this node. |
Node | getFirstChild()
Get first child |
Node | getLastChild()
Get last child
|
String | getName()
Get the name of an attribute node (the lexical QName) (DOM method) |
Element | getOwnerElement()
The Element node this attribute is attached to or
null if this attribute is not in use. |
TypeInfo | getSchemaTypeInfo()
Get the schema type information for this node. |
boolean | getSpecified()
If this attribute was explicitly given a value in the original
document, this is true ; otherwise, it is
false . |
String | getValue()
Return the character value of an attribute node (DOM method) |
boolean | hasChildNodes()
Determine whether the node has any children. |
boolean | isId()
Determine whether this (attribute) node is an ID. |
void | setValue(String value)
Set the value of an attribute node. |
NodeList
that contains all children of this node. If
there are no children, this is a NodeList
containing no
nodes.Returns: the first child node of this node. In this model an attribute node always has a single text node as its child.
Returns: last child of this node, or null if it has no children
Element
node this attribute is attached to or
null
if this attribute is not in use.Since: DOM Level 2
true
; otherwise, it is
false
. (DOM method)Returns: Always true in this implementation.
Returns: the attribute value
Returns: true
: a DOM Attribute has a text node as a child.