PLSQL DOM API for XMLType DBMSXMLDOM Methods
Table 8-1 lists the PL/SQL DOM API for XMLType (DBMS_XMLDOM) methods. Table 8-1 Summary DBMS_XMLDOM Methods
Table 8-1 lists the PL/SQL DOM API for XMLType (DBMS_XMLDOM) methods. Table 8-1 Summary DBMS_XMLDOM Methods
|
Group/Method |
Description |
|
Node methods -- | |
|
isNullO |
Tests if the node is NULL. |
|
makeAttr() |
Casts the node to an Attribute. |
|
makeCDataSection() |
Casts the node to a CDataSection. |
|
makeCharacterData() |
Casts the node to CharacterData. |
|
makeComment() |
Casts the node to a Comment. |
|
makeDocumentFragment() |
Casts the node to a DocumentFragment. |
|
makeDocumentType() |
Casts the node to a Document Type. |
|
makeElement() |
Casts the node to an Element. |
|
makeEntityO |
Casts the node to an Entity. |
|
makeEntityReference() |
Casts the node to an EntityReference. |
|
makeNotation() |
Casts the node to a Notation. |
|
makeProcessingInstruction() |
Casts the node to a DOMProcessingInstruction. |
|
makeText() |
Casts the node to a DOMText. |
|
makeDocument() |
Casts the node to a DOMDocument. |
|
writeToFile() |
Writes the contents of the node to a file. |
|
writeToBuffer() |
Writes the contents of the node to a buffer. |
|
writeToClob() |
Writes the contents of the node to a clob. |
|
getNodeName() |
Retrieves the Name of the Node. |
|
getNodeValue() |
Retrieves the Value of the Node. |
|
setNodeValue() |
Sets the Value of the Node. |
|
getNodeType() |
Retrieves the Type of the node. |
|
getParentNode() |
Retrieves the parent of the node. |
|
getChildNodes() |
Retrieves the children of the node. |
|
getFirstChild() |
Retrieves the first child of the node. |
|
Group/Method |
Description |
|
getLastChildO |
Retrieves the last child of the node. |
|
getPreviousSiblingO |
Retrieves the previous sibling of the node. |
|
getNextSiblingO |
Retrieves the next sibling of the node. |
|
getAttributes() |
Retrieves the attributes of the node. |
|
getOwnerDocument() |
Retrieves the owner document of the node. |
|
insertBefore() |
Inserts a child before the reference child. |
|
replaceChild() |
Replaces the old child with a new child. |
|
removeChild() |
Removes a specified child from a node. |
|
appendChild() |
Appends a new child to the node. |
|
hasChildNodes() |
Tests if the node has child nodes. |
|
cloneNode() |
Clones the node. |
|
Named node map methods -- | |
|
isNull() |
Tests if the NodeMap is NULL. |
|
getNamedItem() |
Retrieves the item specified by the name. |
|
setNamedItem() |
Sets the item in the map specified by the name. |
|
removeNamedItem() |
Removes the item specified by name. |
|
item() |
Retrieves the item given the index in the map. |
|
getLength() |
Retrieves the number of items in the map. |
|
Node list methods -- | |
|
isNull() |
Tests if the Nodelist is NULL. |
|
item() |
Retrieves the item given the index in the nodelist. |
|
getLength() |
Retrieves the number of items in the list. |
|
Attr methods -- | |
|
isNull() |
Tests if the Attribute Node is NULL. |
|
makeNode() |
Casts the Attribute to a node. |
|
getQualifiedName() |
Retrieves the Qualified Name of the attribute. |
|
getNamespace() |
Retrieves the NS URI of the attribute. |
|
Group/Method |
Description |
|
getLocalName() |
Retrieves the local name of the attribute. |
|
getExpandedName() |
Retrieves the expanded name of the attribute. |
|
getName() |
Retrieves the name of the attribute. |
|
getSpecifiiedO |
Tests if attribute was specified in the owning |
|
element. | |
|
getValue() |
Retrieves the value of the attribute. |
|
setValue() |
Sets the value of the attribute. |
|
C data section methods -- | |
|
isNullOisNullO |
Tests if the CDataSection is NULL. |
|
makeNode()makeNode() |
Casts the CDatasection to a node. |
|
Character data methods -- | |
|
isNull() |
Tests if the CharacterData is NULL. |
|
makeNode() |
Casts the CharacterData to a node. |
|
getData() |
Retrieves the data of the node. |
|
setData() |
Sets the data to the node. |
|
getLength() |
Retrieves the length of the data. |
|
substringData() |
Retrieves the substring of the data. |
|
appendData() |
Appends the given data to the node data. |
|
insertData() |
Inserts the data in the node at the given offSets. |
|
deleteDataO |
Deletes the data from the given offSets. |
|
replaceData() |
Replaces the data from the given offSets. |
|
Comment methods -- | |
|
isNull() |
Tests if the comment is NULL. |
|
makeNode() |
Casts the Comment to a node. |
|
DOM implementation methods -- | |
|
isNull() |
Tests if the DOMImplementation node is NULL. |
|
hasFeature() |
Tests if the DOM implements a given feature. |
|
Document fragment methods -- | |
|
Group/Method |
Description |
|
isNull() |
Tests if the DocumentFragment is NULL. |
|
makeNode() |
Casts the Document Fragment to a node. |
|
Document type methods -- | |
|
isNull() |
Tests if the Document Type is NULL. |
|
makeNode() |
Casts the document type to a node. |
|
findEntity() |
Finds the specified entity in the document type. |
|
findNotation() |
Finds the specified notation in the document type. |
|
getPublicId() |
Retrieves the public ID of the document type. |
|
getSystemId() |
Retrieves the system ID of the document type. |
|
writeExternalDTDToFileO |
Writes the document type definition to a file. |
|
writeExternalDTDToBuffer() |
Writes the document type definition to a buffer. |
|
writeExternalDTDToClob() |
Writes the document type definition to a clob. |
|
getName() |
Retrieves the name of the Document type. |
|
getEntities() |
Retrieves the nodemap of entities in the Document |
|
type. | |
|
getNotations() |
Retrieves the nodemap of the notations in the |
|
Document type. | |
|
Element methods -- | |
|
isNull() |
Tests if the Element is NULL. |
|
makeNode() |
Casts the Element to a node. |
|
getQualifiedNameO |
Retrieves the qualified name of the element. |
|
getNamespace() |
Retrieves the NS URI of the element. |
|
getLocalName() |
Retrieves the local name of the element. |
|
getExpandedName() |
Retrieves the expanded name of the element. |
|
getChildrenByTagName() |
Retrieves the children of the element by tag name. |
|
getElementsByTagName() |
Retrieves the elements in the subtree by element. |
|
resolveNamespacePrefix() |
Resolve the prefix to a namespace uri. |
|
getTagName() |
Retrieves the Tag name of the element. |
|
Group/Method |
Description |
|
getAttribute() |
Retrieves the attribute node specified by the name. |
|
setAttribute() |
Sets the attribute specified by the name. |
|
removeAttribute() |
Removes the attribute specified by the name. |
|
getAttributeNode() |
Retrieves the attribute node specified by the name. |
|
setAttributeNode() |
Sets the attribute node in the element. |
|
removeAttributeNode() |
Removes the attribute node in the element. |
|
normalize() |
Normalizes the text children of the element. |
|
Entity methods -- | |
|
isNull() |
Tests if the Entity is NULL. |
|
makeNode() |
Casts the Entity to a node. |
|
getPublicId() |
Retrieves the public Id of the entity. |
|
getSystemId() |
Retrieves the system Id of the entity. |
|
getNotationName() |
Retrieves the notation name of the entity. |
|
Entity reference methods -- | |
|
isNull() |
Tests if the entity reference is NULL. |
|
makeNode() |
Casts the Entity reference to NULL. |
|
Notation methods -- | |
|
isNull() |
Tests if the notation is NULL. |
|
makeNode() |
Casts the notation to a node. |
|
getPublicId() |
Retrieves the public Id of the notation. |
|
getSystemId() |
Retrieves the system Id of the notation. |
|
Processing instruction methods -- | |
|
isNull() |
Tests if the processing instruction is NULL. |
|
makeNode() |
Casts the Processing instruction to a node. |
|
getData() |
Retrieves the data of the processing instruction. |
|
getTarget() |
Retrieves the target of the processing instruction. |
|
setData() |
Sets the data of the processing instruction. |
|
Group/Method |
Description |
|
Text methods -- | |
|
isNull() |
Tests if the text is NULL. |
|
makeNode() |
Casts the text to a node. |
|
splitText() |
Splits the contents of the text node into 2 text nodes. |
|
Document methods -- | |
|
isNull() |
Tests if the document is NULL. |
|
makeNode() |
Casts the document to a node. |
|
newDOMDocument() |
Creates a new document. |
|
freeDocument() |
Frees the document. |
|
getVersion() |
Retrieves the version of the document. |
|
setVersion() |
Sets the version of the document. |
|
getCharset() |
Retrieves the Character set of the document. |
|
setCharset() |
Sets the Character set of the document. |
|
getStandalone() |
Retrieves if the document is specified as standalone. |
|
setStandalone() |
Sets the document standalone. |
|
writeToFile() |
Writes the document to a file. |
|
writeToBuffer() |
Writes the document to a buffer. |
|
writeToClob() |
Writes the document to a clob. |
|
writeExternalDTDToFile() |
Writes the DTD of the document to a file. |
|
writeExternalDTDToBuffer() |
Writes the DTD of the document to a buffer. |
|
writeExternalDTDToClob() |
Writes the DTD of the document to a clob. |
|
getDoctype() |
Retrieves the DTD of the document. |
|
getImplementation() |
Retrieves the DOM implementation. |
|
getDocumentElement() |
Retrieves the root element of the document. |
|
createElement() |
Creates a new element. |
|
createDocumentFragment() |
Creates a new document fragment. |
|
createTextNode() |
Creates a Text node. |
|
Group/Method |
Description |
|
createComment() |
Creates a comment node. |
|
createCDATASection() |
Creates a CDatasection node. |
|
createProcessingInstruction() |
Creates a processing instruction. |
|
createAttribute() |
Creates an attribute. |
|
createEntityReference() |
Creates an Entity reference. |
|
getElementsByTagName() |
Retrieves the elements in the by tag name. |
Average user rating: 5 stars out of 1 votes
Post a comment