public interface XEntity extends XCommon, UniqueID, NamespaceURI, SubTypeAttribute
Modifier and Type | Method and Description |
---|---|
logical |
appendChild(handle hChild)
Appending the new child to the current object.
|
logical |
getChild(handle hChild,
int index)
Getting the handle object of the child node with specified index.
|
logical |
getChild(handle hChild,
integer index)
Getting the handle object of the child node with specified index.
|
integer |
getChildNum()
Gets the number of child for the current one.
|
character |
getNamespacePrefix()
Returns the value of the the NAMESPACE-PREFIX attribute.
|
integer |
getNumChildren()
Gets the the number of children objects for the current one.
|
handle |
getOwnerDocument()
Getting the Document the current reference belongs to.
|
logical |
insertBefore(handle handle1,
handle handle2)
Inserts a node as a chaild of this document before another node.
|
logical |
removeChild(handle hChild)
Removing the specified child from the node.
|
logical |
replaceChild(handle newChildHandle,
handle oldChildHandle)
Removing the specified child from the node.
|
void |
setNamespacePrefix(character prefix)
Setter for NAMESPACE-PREFIX attribute.
|
void |
setNamespacePrefix(java.lang.String prefix)
Setter for NAMESPACE-PREFIX attribute.
|
addSchemaLocation, addSchemaLocation, addSchemaLocation, addSchemaLocation, getNonamespaceSchemaLocation, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, setNonamespaceSchemaLocation, setNonamespaceSchemaLocation
id, id, unknown, valid
getUniqueID
getNamespaceURI, setNamespaceURI, setNamespaceURI
getSubType, setSubType, setSubType
integer getNumChildren()
integer getChildNum()
logical insertBefore(handle handle1, handle handle2)
handle1
- The handle representing the child to insert.handle2
- The handle representing the XML node to be inserted before.true
in case of success false
otherwise.logical appendChild(handle hChild)
hChild
- The valid handle class instance of the child to be appended.true
in case of success
false
otherwise.logical getChild(handle hChild, integer index)
hChild
- The valid handle class instance of the child to put
the results.index
- 1-based index of the child node to be retrieved.true
in case of success
false
otherwise.logical getChild(handle hChild, int index)
hChild
- The valid handle class instance of the child to put
the results.index
- 1-based index of the child node to be retrieved.true
in case of success
false
otherwise.logical removeChild(handle hChild)
hChild
- The valid handle class instance of the child to be removed.true
in case of success
false
otherwise.logical replaceChild(handle newChildHandle, handle oldChildHandle)
newChildHandle
- The handle class instance that represents the node to insert in the tree.oldChildHandle
- The handle class instance that represents the node to remove from the tree.true
in case of success
false
otherwise.handle getOwnerDocument()
character getNamespacePrefix()
void setNamespacePrefix(java.lang.String prefix)
prefix
- The new value of the NAMESPACE-PREFIX attribute.void setNamespacePrefix(character prefix)
prefix
- The new value of the NAMESPACE-PREFIX attribute.