|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.xml.parser.v2.XMLNode | +--oracle.xml.parser.v2.XMLNSNode | +--oracle.xml.parser.v2.XMLElement | +--oracle.xml.parser.v2.XMLDocumentFragment
This class implements the DOM DocumentFragment interface. Extends XMLElement rather than XMLNode so it can be handled as an element. This is convenient in processing
DocumentFragment
,
NodeFactory
,
DOMParser.setNodeFactory(oracle.xml.parser.v2.NodeFactory)
, Serialized FormFields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE,
CDATA_SECTION_NODE,
COMMENT_NODE,
DOCUMENT_FRAGMENT_NODE,
DOCUMENT_NODE,
DOCUMENT_TYPE_NODE,
ELEMENT_NODE,
ENTITY_NODE,
ENTITY_REFERENCE_NODE,
NOTATION_NODE,
PROCESSING_INSTRUCTION_NODE,
TEXT_NODE |
Constructor Summary |
XMLDocumentFragment()
Deprecated. use createDocumentFragment() method in XMLDocuemnt |
Method Summary |
Type | Method |
---|---|
NamedNodeMap |
getAttributes()
A NamedNodeMap containing the attributes of this node (if
it is an Element ) or null otherwise. |
java.lang.String |
getLocalName()
Gets the local Name for this element. |
java.lang.String |
getNamespaceURI()
The namespace URI of this node, or null if it is
unspecified. |
short |
getNodeType()
Gets a code representing the type of the underlying object |
Node |
getParentNode()
Gets the parent of this node |
Methods inherited from class oracle.xml.parser.v2.XMLNSNode |
addText,
addText,
appendChild,
getChildNodes,
getFirstChild,
getLastChild,
getNodeLocalName,
getNodeName,
getNodePrefix,
getText,
hasChildNodes,
insertBefore,
removeChild,
replaceChild,
setPrefix |
Methods inherited from class oracle.xml.parser.v2.XMLNode |
addEventListener,
dispatchEvent,
getColumnNumber,
getDebugMode,
getLineNumber,
getNextSibling,
getNodeValue,
getOwnerDocument,
getPreviousSibling,
getProperty,
getSystemId,
isNodeFlag,
isSupported,
print,
print,
print,
readChildNodes,
removeEventListener,
resetNodeFlag,
selectNodes,
selectNodes,
selectNodes,
selectSingleNode,
selectSingleNode,
setDebugInfo,
setNodeFlag,
setNodeValue,
setProperty,
supports,
transformNode,
valueOf,
valueOf |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public XMLDocumentFragment()
Method Detail |
public java.lang.String getNamespaceURI()
null
if it is
unspecified.
ELEMENT_NODE
and
ATTRIBUTE_NODE
and nodes created with a DOM Level 1
method, such as createElement
from the
Document
interface, this is always null
.Per
the Namespaces in XML Specification an attribute does not inherit
its namespace from the element it is attached to. If an attribute is
not explicitly given a namespace, it simply has no namespace.public java.lang.String getLocalName()
public Node getParentNode()
public short getNodeType()
public NamedNodeMap getAttributes()
NamedNodeMap
containing the attributes of this node (if
it is an Element
) or null
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |