Overview
Represents a DOM Attribute
Inherited Attributes
javafx.xml.Node
public | name | type |
---|---|---|
baseURI | String |
holds the nodes base URI |
children | Node[] |
Holds the children node to this node When a new child node is added, the parent node for the child node is set to this node. |
document | Document |
holds the associated document |
doIndent | Boolean |
indicates whether or not indenting should be used when printing or serializing. |
domNode | Node |
holds the associated dom node |
encoding | String |
indicates which encoding should be used when printing or serializing. |
indent | Integer |
Holds the number of spaces for indenting when printing or serializing. |
localName | String |
holds the node's local Nnme |
name | String |
holds the node's qualified name |
namespaceURI | String |
holds the node's namespace |
omitXMLDeclaration | Boolean |
indicates whether or not to include the xml declaration when printing or serializing. |
parent | Node |
Holds the parent node for this node. |
prefix | String |
holds the node's prefix |
standalone | Boolean |
indicates whether or not the document is standalone. |
type | NodeType |
holds the node's type |
value | String |
holds the node's value |
Inherited Functions
javafx.xml.Node
- protected createNode() : Node
-
create a default node based on this node's node type
- protected isChild(node: Node, ) : Boolean
-
determine whether the node's dom node is already a child of this dom node.
- public nomalize() : Void
-
normalize the node tree
- public query(query: String, ) : <any>[]
-
Perform an xpath query using this node as the root
- public queryBoolean(query: String, ) : Boolean
-
Perform an xpath query using this node as the root expecting a Boolean result
- public queryNode(query: String, ) : Node
-
Perform an xpath query using this node as the root expecting a Node result
- public queryNumber(query: String, ) : Number
-
Perform an xpath query using this node as the root expecting a Number result
- public queryString(query: String, ) : String
-
Perform an xpath query using this node as the root expecting a String result
- public serialize(writer: Writer, ) : Void
-
Convert this node to an XML format based on the attributes indent, doIndent, omitXMLDeclaration, encoding and standalone.
- protected setDomNode(domNode: Node, ) : Void
-
set the associated properties from the dom Node
- public toString() : String
-
Convert this node to an XML formatted string based on the attributes indent, doIndent, omitXMLDeclaration, encoding and standalone.