public class XNodeRefImpl extends XEntityImpl implements XNodeRef
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
RESTRICTED_DOCUMENT
The key for a restricted document mapping in the
Document's user-data. |
IS_INVALID_NODEisValidname, nextSibling, prevSibling, wainstProc, pm| Constructor and Description |
|---|
XNodeRefImpl()
Default constructor.
|
XNodeRefImpl(org.w3c.dom.Node node)
Special constructor accepting the namespace URI specification to make
another node reference case.
|
| Modifier and Type | Method and Description |
|---|---|
logical |
cloneNode(handle xNodeRef,
boolean deep)
Creating the new node within the current Document object.
|
logical |
cloneNode(handle xNodeRef,
logical deep)
Creating the new node within the current Document object.
|
logical |
deleteNode()
Deleting the internals of the current X-Node-Reference.
|
character |
getAttribute(character name)
Getting the attribute value for a given attribute name.
|
character |
getAttribute(java.lang.String name)
Getting the attribute value for a given attribute name.
|
character |
getAttributeNames()
Getting the attribute names available for current node reference.
|
logical |
getAttributeNode(handle handle,
character attributeName)
Associates XML attribute node with the specified name to the given X-Noderef object
handle.
|
logical |
getAttributeNode(handle handle,
java.lang.String attributeName)
Associates XML attribute node with the specified name to the given X-Noderef object
handle.
|
integer |
getChildNum()
Gets the number of child for the current one.
|
character |
getLocalName()
Get the value of the LOCAL-NAME attribute.
|
character |
getNodeValue()
Getting the value of the XML node value attribute.
|
handle |
getOwnerDocument()
Getting the Document the current reference belongs to.
|
logical |
getParent(handle hNoderefParent)
Getting the Parent of current node.
|
logical |
longcharToNodeValue(longchar value)
Setting the binary value of the XML node value attribute.
|
logical |
memptrToNodeValue(memptr value)
Setting the binary value of the XML node value attribute.
|
void |
namespacePrefix(character prefix)
Setter for NAMESPACE-PREFIX attribute.
|
logical |
nodeValueToLongchar(longchar value)
Setting the XML node value attribute to binary value of longchar.
|
logical |
nodeValueToMemptr(memptr value)
Setting the XML node value attribute to binary value of memptr.
|
logical |
normalize()
Normalizes TEXT and ATTRIBUTE nodes in the full depth of the sub-tree under this
XML node.
|
logical |
setAttribute(character name,
character value)
Setting the attribute value for a given attribute name.
|
logical |
setAttribute(character name,
java.lang.String value)
Setting the attribute value for a given attribute name.
|
logical |
setAttribute(java.lang.String name,
character value)
Setting the attribute value for a given attribute name.
|
logical |
setAttribute(java.lang.String name,
java.lang.String value)
Setting the attribute value for a given attribute name.
|
logical |
setAttributeNode(handle handle)
Associates XML attribute node with the given X-Noderef object handle.
|
void |
setNodeValue(character value)
Setting the value of the XML node value attribute.
|
void |
setNodeValue(java.lang.String value)
Setting the value of the XML node value attribute.
|
_name, appendChild, commonDomError, commonDomError, getChild, getChild, getNode, getNumChildren, getSubType, getUniqueID, insertBefore, invalidNodeError, isInitialized, isXEntityHandle, isXNodeHandle, isXNodeHandleInitialized, name, namespacePrefix, namespacePrefix, namespaceURI, namespaceURI, namespaceURI, removeAttribute, removeAttribute, removeChild, replaceChild, resourceDelete, setNode, setNodeToHandle, setSubType, setSubType, unsupportedDomErroraddSchemaLocation, addSchemaLocation, addSchemaLocation, addSchemaLocation, getNonamespaceSchemaLocation, hasNextSibling, hasPrevSibling, invalidArgumentAssignError, invalidArgumentError, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, setNonamespaceSchemaLocation, setNonamespaceSchemaLocation, validdelete, firstResource, firstResource, getHead, getNextSibling, getNextSibling, getPrevSibling, getPrevSibling, getPrivateData, getTail, hasName, hasNameConstraints, hasNameReadOnly, hasParent, hasPrivateData, interlink, isChained, lastResource, lastResource, moveInChain, name, name, readOnlyError, readOnlyError, resolveChainType, setHead, setNextSibling, setNextSibling, setPrevSibling, setPrevSibling, setPrivateData, setPrivateData, setPrivateData, validateName_instantiatingProcedure, addToPool, doDelete, equals, hashCode, id, id, implicitDeletion, incrementTrigger, instantiatingProcedure, invalidAttribute, processResource, registerResource, resourceType, setInstantiatingProcedure, toString, type, unableToAssignUnknown, unknownclone, finalize, getClass, notify, notifyAll, wait, wait, waitsetNodeValueappendChild, getChild, getChild, getNumChildren, insertBefore, removeChild, replaceChildaddSchemaLocation, addSchemaLocation, addSchemaLocation, addSchemaLocation, getNonamespaceSchemaLocation, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, setNonamespaceSchemaLocation, setNonamespaceSchemaLocationid, id, unknown, validgetUniqueIDnamespacePrefix, namespacePrefix, namespaceURI, namespaceURI, namespaceURIgetSubType, setSubType, setSubTyperesourceTypeallowDeletepublic static final java.lang.String RESTRICTED_DOCUMENT
Document's user-data.public XNodeRefImpl()
public XNodeRefImpl(org.w3c.dom.Node node)
node - The node associated with this node.public character getAttributeNames()
getAttributeNames in interface XNodeRefpublic character getNodeValue()
getNodeValue in interface XNodeRefpublic void setNodeValue(character value)
setNodeValue in interface XNodeRefvalue - The new value of the node value attribute.public void setNodeValue(java.lang.String value)
setNodeValue in interface XNodeRefvalue - The new value of the node value attribute.public logical cloneNode(handle xNodeRef, logical deep)
public logical cloneNode(handle xNodeRef, boolean deep)
public logical deleteNode()
deleteNode in interface XNodeReftrue in case of success
false otherwise.public character getAttribute(java.lang.String name)
getAttribute in interface XNodeRefname - The name of the attribute to return.public character getAttribute(character name)
getAttribute in interface XNodeRefname - The name of the attribute to return.public logical setAttribute(java.lang.String name, java.lang.String value)
setAttribute in interface XNodeRefname - The name of the attribute to change.value - The new value for the given attribute name.true in case of success
false otherwise.public logical setAttribute(java.lang.String name, character value)
setAttribute in interface XNodeRefname - The name of the attribute to change.value - The new value for the given attribute name.true in case of success
false otherwise.public logical setAttribute(character name, java.lang.String value)
setAttribute in interface XNodeRefname - The name of the attribute to change.value - The new value for the given attribute name.true in case of success
false otherwise.public logical setAttribute(character name, character value)
setAttribute in interface XNodeRefname - The name of the attribute to change.value - The new value for the given attribute name.true in case of success false otherwise.public logical setAttributeNode(handle handle)
setAttributeNode in interface XNodeRefhandle - The handle that represents an XML attribute node created with create node or
create node namespace.true in case of success false otherwise.public logical getAttributeNode(handle handle, java.lang.String attributeName)
getAttributeNode in interface XNodeRefhandle - The handle that represents an XML attribute node with the specified name.attributeName - The string that represents an XML attribute node with the specified name.true in case of success false otherwise.public logical getAttributeNode(handle handle, character attributeName)
getAttributeNode in interface XNodeRefhandle - The handle that represents an XML attribute node with the specified name.attributeName - The character that represents an XML attribute node with the specified name.true in case of success false otherwise.public logical longcharToNodeValue(longchar value)
longcharToNodeValue in interface XNodeRefvalue - The new value of the node value attribute.true in case of success false otherwise.public logical nodeValueToLongchar(longchar value)
nodeValueToLongchar in interface XNodeRefvalue - To save the value on XML node to this parameter.true in case of success false otherwise.public logical memptrToNodeValue(memptr value)
memptrToNodeValue in interface XNodeRefvalue - The new value of the node value attribute.true in case of success false otherwise.public logical nodeValueToMemptr(memptr value)
nodeValueToMemptr in interface XNodeRefvalue - To save the value on XML node to this parameter.true in case of success false otherwise.public logical normalize()
public character getLocalName()
getLocalName in interface LocalNamepublic void namespacePrefix(character prefix)
namespacePrefix in interface NamespaceURInamespacePrefix in class XEntityImplprefix - The new value of the NAMESPACE-PREFIX attribute.public integer getChildNum()
getChildNum in interface XEntitypublic handle getOwnerDocument()
getOwnerDocument in interface XEntity