public abstract class IlvSettingsNode extends Object implements Node
IlvSettings
instances.Modifier and Type | Field and Description |
---|---|
static short |
ATTRIBUTE_NODE
Node type that identifies attribute nodes, instances of the
IlvSettingsAttribute class. |
static short |
ELEMENT_NODE
Node type that identifies element nodes, instances of the
IlvSettingsElement class. |
static short |
ROOT_ELEMENT_NODE
Node type that identifies element nodes that are root elements.
|
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, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Modifier and Type | Method and Description |
---|---|
short |
compareDocumentPosition(Node other) |
String |
getBaseURI() |
Object |
getFeature(String feature,
String version) |
abstract short |
getNodeType()
Returns the type of this node.
|
IlvSettingsElement |
getParent()
Returns the parent element that contains this node.
|
Node |
getParentNode()
The parent of this node.
|
IlvSettings |
getSettings()
Returns the settings that have created this settings node.
|
String |
getTextContent() |
Object |
getUserData(String key) |
boolean |
isDefaultNamespace(String namespaceURI) |
boolean |
isEqualNode(Node arg) |
boolean |
isSameNode(Node other) |
String |
lookupNamespaceURI(String prefix) |
String |
lookupPrefix(String namespaceURI) |
abstract boolean |
matchType(String type)
Determines whether this node matches the specified type.
|
void |
setTextContent(String textContent) |
Object |
setUserData(String key,
Object data,
UserDataHandler handler) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
public static short ATTRIBUTE_NODE
IlvSettingsAttribute
class.public static short ELEMENT_NODE
IlvSettingsElement
class.public static short ROOT_ELEMENT_NODE
public String getBaseURI()
getBaseURI
in interface Node
public short compareDocumentPosition(Node other) throws DOMException
compareDocumentPosition
in interface Node
DOMException
public String getTextContent() throws DOMException
getTextContent
in interface Node
DOMException
public void setTextContent(String textContent) throws DOMException
setTextContent
in interface Node
DOMException
public boolean isSameNode(Node other)
isSameNode
in interface Node
public String lookupPrefix(String namespaceURI)
lookupPrefix
in interface Node
public boolean isDefaultNamespace(String namespaceURI)
isDefaultNamespace
in interface Node
public String lookupNamespaceURI(String prefix)
lookupNamespaceURI
in interface Node
public boolean isEqualNode(Node arg)
isEqualNode
in interface Node
public Object getFeature(String feature, String version)
getFeature
in interface Node
public Object setUserData(String key, Object data, UserDataHandler handler)
setUserData
in interface Node
public Object getUserData(String key)
getUserData
in interface Node
public IlvSettings getSettings()
public abstract short getNodeType()
ATTRIBUTE_NODE
for attribute nodes.ELEMENT_NODE
for element nodes.getNodeType
in interface Node
public IlvSettingsElement getParent()
null
, if this node is
a root element within its model.public abstract boolean matchType(String type)
type
- The type to compare the type of the node with.true
if the specified type is null
or equal to "*"
; true
is also returned
if the type of the node is equal to the specified type; false
otherwise.public Node getParentNode()
null
.getParentNode
in interface Node
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.