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_NODE
isValid
name, nextSibling, prevSibling
instProc
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.
|
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 |
setNamespacePrefix(character prefix)
Setter for NAMESPACE-PREFIX attribute.
|
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.
|
appendChild, commonDomError, getChild, getChild, getNamespacePrefix, getNamespaceURI, getNode, getNumChildren, getSubType, getUniqueID, insertBefore, invalidNodeError, isInitialized, isXEntityHandle, isXNodeHandle, isXNodeHandleInitialized, name, removeAttribute, removeAttribute, removeChild, replaceChild, resourceDelete, setNamespacePrefix, setNamespaceURI, setNamespaceURI, setNode, setNodeToHandle, setSubType, setSubType, unsupportedDomError
addSchemaLocation, addSchemaLocation, addSchemaLocation, addSchemaLocation, getNonamespaceSchemaLocation, hasNextSibling, hasPrevSibling, invalidArgumentAssignError, invalidArgumentError, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, setNonamespaceSchemaLocation, setNonamespaceSchemaLocation, valid
delete, firstResource, firstResource, getHead, getNextSibling, getNextSibling, getPrevSibling, getPrevSibling, getPrivateData, getTail, hasName, hasNameReadOnly, hasParent, hasPrivateData, interlink, isChained, lastResource, lastResource, name, name, readOnlyError, setHead, setNextSibling, setNextSibling, setPrevSibling, setPrevSibling, setPrivateData, setPrivateData, setPrivateData
getResourceType, id, id, implicitDeletion, instantiatingProcedure, invalidAttribute, setInstantiatingProcedure, type, unknown
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setNodeValue
appendChild, getChild, getChild, getNamespacePrefix, getNumChildren, insertBefore, removeChild, replaceChild, setNamespacePrefix
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
getResourceType
public 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 XNodeRef
public character getNodeValue()
getNodeValue
in interface XNodeRef
public void setNodeValue(character value)
setNodeValue
in interface XNodeRef
value
- The new value of the node value attribute.public void setNodeValue(java.lang.String value)
setNodeValue
in interface XNodeRef
value
- 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 XNodeRef
true
in case of success
false
otherwise.public character getAttribute(java.lang.String name)
getAttribute
in interface XNodeRef
name
- The name of the attribute to return.public character getAttribute(character name)
getAttribute
in interface XNodeRef
name
- The name of the attribute to return.public logical setAttribute(java.lang.String name, java.lang.String value)
setAttribute
in interface XNodeRef
name
- 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 XNodeRef
name
- 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 XNodeRef
name
- 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 XNodeRef
name
- 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 XNodeRef
handle
- 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 XNodeRef
handle
- 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 XNodeRef
handle
- 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 XNodeRef
value
- The new value of the node value attribute.true
in case of success false
otherwise.public logical nodeValueToLongchar(longchar value)
nodeValueToLongchar
in interface XNodeRef
value
- 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 XNodeRef
value
- The new value of the node value attribute.true
in case of success false
otherwise.public logical nodeValueToMemptr(memptr value)
nodeValueToMemptr
in interface XNodeRef
value
- 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 LocalName
public void setNamespacePrefix(character prefix)
setNamespacePrefix
in interface XEntity
setNamespacePrefix
in class XEntityImpl
prefix
- The new value of the NAMESPACE-PREFIX attribute.public integer getChildNum()
getChildNum
in interface XEntity
public handle getOwnerDocument()
getOwnerDocument
in interface XEntity