public class TextImpl extends TextNodeImpl
charArray, textNStextValuenextSibling, parentNode, previousSiblingbuilder, done, factory, FIRSTCHILD, flags, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIEDATTRIBUTE_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_NODECDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE| Constructor and Description |
|---|
TextImpl(DocumentImpl ownerNode,
char[] value,
OMFactory factory) |
TextImpl(DocumentImpl ownerNode,
Object dataHandler,
boolean optimize,
OMFactory factory) |
TextImpl(DocumentImpl ownerNode,
OMFactory factory) |
TextImpl(DocumentImpl ownerNode,
String contentID,
DataHandlerProvider dataHandlerProvider,
boolean optimize,
OMFactory factory) |
TextImpl(DocumentImpl ownerNode,
String value,
int nodeType,
OMFactory factory) |
TextImpl(DocumentImpl ownerNode,
String value,
OMFactory factory) |
TextImpl(DocumentImpl ownerNode,
String value,
String mimeType,
boolean optimize,
OMFactory factory) |
TextImpl(OMContainer parent,
QName text,
int nodeType,
OMFactory factory) |
TextImpl(OMContainer parent,
QName text,
OMFactory factory) |
TextImpl(OMContainer parent,
TextNodeImpl source,
OMFactory factory) |
TextImpl(String contentID,
OMContainer parent,
OMXMLParserWrapper builder,
OMFactory factory) |
TextImpl(String text,
OMFactory factory) |
TextImpl(String text,
String mimeType,
boolean optimize,
boolean isBinary,
OMFactory factory) |
TextImpl(String text,
String mimeType,
boolean optimize,
OMFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Node |
cloneNode(boolean deep) |
int |
getType()
Returns the type of node.
|
void |
setType(int nodeType) |
buildWithAttachments, discard, getContentID, getData, getDataHandler, getInputStream, getNamespace, getNodeName, getNodeType, getNodeValue, getText, getTextAsQName, getTextCharacters, getWholeText, internalSerialize, isBinary, isCharacters, isElementContentWhitespace, isOptimized, replaceWholeText, setBinary, setContentID, setOptimize, splitText, toStringappendData, deleteData, getLength, insertData, replaceData, setData, substringDatadetach, getNextOMSibling, getNextOMSiblingIfAvailable, getNextSibling, getParent, getParentNode, getPreviousOMSibling, getPreviousSibling, insertSiblingAfter, insertSiblingBefore, setNextOMSibling, setParent, setPreviousOMSiblingappendChild, build, close, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getOMFactory, getOwnerDocument, getPrefix, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, internalSerialize, internalSerializeAndConsume, isComplete, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setComplete, setNodeValue, setOwnerDocument, setPrefix, setTextContent, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendData, deleteData, getLength, insertData, replaceData, setData, substringDataappendChild, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatadetach, getNextOMSibling, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsumebuild, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsumepublic TextImpl(DocumentImpl ownerNode, char[] value, OMFactory factory)
public TextImpl(DocumentImpl ownerNode, Object dataHandler, boolean optimize, OMFactory factory)
public TextImpl(DocumentImpl ownerNode, String contentID, DataHandlerProvider dataHandlerProvider, boolean optimize, OMFactory factory)
public TextImpl(DocumentImpl ownerNode, OMFactory factory)
public TextImpl(DocumentImpl ownerNode, String value, OMFactory factory)
public TextImpl(DocumentImpl ownerNode, String value, int nodeType, OMFactory factory)
public TextImpl(DocumentImpl ownerNode, String value, String mimeType, boolean optimize, OMFactory factory)
public TextImpl(OMContainer parent, QName text, int nodeType, OMFactory factory)
public TextImpl(OMContainer parent, QName text, OMFactory factory)
public TextImpl(OMContainer parent, TextNodeImpl source, OMFactory factory)
public TextImpl(String contentID, OMContainer parent, OMXMLParserWrapper builder, OMFactory factory)
public TextImpl(String text, String mimeType, boolean optimize, boolean isBinary, OMFactory factory)
public int getType()
throws OMException
OMNodeOMNode.ELEMENT_NODE, OMNode.TEXT_NODE, OMNode.CDATA_SECTION_NODE,
OMNode.COMMENT_NODE, OMNode.DTD_NODE, OMNode.PI_NODE, OMNode.ENTITY_REFERENCE_NODE or OMNode.SPACE_NODE.OMExceptionpublic void setType(int nodeType)
throws OMException
OMExceptionCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.