public class Binary extends AbstractTextual implements org.w3c.dom.Text, Binable
To be compatible with W3C/DOM utility, it fakes as Text. Thus, getNodeName returns "#text", rather than getName ("#binary").
CData,
Serialized Form_textATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODEFIND_BY_PREFIX, FIND_BY_REGEX, FIND_BY_TAGNAME, FIND_IGNORE_CASE, FIND_RECURSIVE| Constructor and Description |
|---|
Binary()
Constructor.
|
Binary(java.lang.Object value)
Constructor.
|
Binary(java.lang.String value)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkText(java.lang.String text)
Checks whether the text is valid.
|
java.lang.String |
getName()
Gets the name of the item.
|
java.lang.String |
getNodeName() |
short |
getNodeType() |
java.lang.String |
getText()
Gets the text representation of the value.
|
java.lang.Object |
getValue()
Gets the value of a item that accepts any type as its value.
|
void |
setText(java.lang.String text)
Sets the text of this item.
|
void |
setValue(java.lang.Object o)
Sets the value of a item that accepts any type as its value.
|
java.lang.String |
toString()
Gets the textual representation for debug.
|
appendData, deleteData, getData, getLength, getTextContent, getWholeText, insertData, isCoalesceable, isElementContentWhitespace, isPartOfParentText, replaceData, replaceWholeText, setData, split, splitText, substringDataappendChild, clone, cloneNode, compareDocumentPosition, detach, equals, getAttributes, getBaseURI, getChildNodes, getDocument, getFeature, getFirstChild, getLastChild, getLocalName, getLocator, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParent, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, hashCode, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, match, normalize, removeChild, replaceChild, setLocator, setName, setNodeValue, setParent, setPrefix, setTextContent, setUserDatafinalize, getClass, notify, notifyAll, wait, wait, waitgetWholeText, isElementContentWhitespace, replaceWholeText, splitTextappendData, deleteData, getData, getLength, insertData, replaceData, setData, substringDataappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic Binary(java.lang.String value)
public Binary(java.lang.Object value)
public Binary()
protected void checkText(java.lang.String text)
AbstractTextualcheckText in class AbstractTextualpublic final java.lang.Object getValue()
Binablepublic final void setValue(java.lang.Object o)
Binablepublic final java.lang.String getText()
getText in interface ItemgetText in class AbstractTextualpublic final void setText(java.lang.String text)
ItemsetText in interface ItemsetText in class AbstractTextualpublic final java.lang.String getName()
ItemgetName in interface ItemNamespaceable.getTagName()public final java.lang.String getNodeName()
getNodeName in interface org.w3c.dom.NodegetNodeName in class AbstractItempublic final short getNodeType()
getNodeType in interface org.w3c.dom.Nodepublic java.lang.String toString()
toString in class AbstractTextualCopyright © 2005-2011 Potix Corporation. All Rights Reserved.