public class TextImpl extends TextNodeImpl
charArray, textNS
textValue
factory, FIRSTCHILD, flags, HAS_PARENT, SPECIFIED
ATTRIBUTE_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_NODE
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE
Constructor and Description |
---|
TextImpl(char[] value,
OMFactory factory) |
TextImpl(Object dataHandler,
boolean optimize,
OMFactory factory) |
TextImpl(OMContainer parent,
QName text,
int nodeType,
OMFactory factory) |
TextImpl(OMContainer parent,
QName text,
OMFactory factory) |
TextImpl(OMFactory factory) |
TextImpl(String contentID,
DataHandlerProvider dataHandlerProvider,
boolean optimize,
OMFactory factory) |
TextImpl(String value,
int nodeType,
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) |
TextImpl(TextNodeImpl source,
OMFactory factory) |
Modifier and Type | Method and Description |
---|---|
int |
getType()
Returns the type of node.
|
buildWithAttachments, getContentID, getData, getDataHandler, getNamespace, getNodeName, getNodeType, getNodeValue, getText, getTextAsQName, getTextCharacters, getWholeText, internalSerialize, isBinary, isCharacters, isElementContentWhitespace, isOptimized, replaceWholeText, setBinary, setContentID, setOptimize, splitText, toString
appendData, deleteData, getLength, insertData, replaceData, setData, substringData
appendChild, build, discard, getBuilder, getChildNodes, getIParentNode, getNextOMSibling, getNextSibling, insertBefore, isComplete, lookupNamespaceURI, removeChild, replaceChild, setComplete
clone, cloneNode, close, compareDocumentPosition, detach, getAttributes, getBaseURI, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextOMSiblingIfAvailable, getOMFactory, getOwnerDocument, getParent, getParentNode, getPrefix, getPreviousOMSibling, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertSiblingAfter, insertSiblingBefore, internalSerialize, internalSerializeAndConsume, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupPrefix, normalize, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setNextOMSibling, setNodeValue, setParent, setParent, setPrefix, setPreviousOMSibling, setTextContent, setUserData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendData, deleteData, getLength, insertData, replaceData, setData, substringData
appendChild, cloneNode, 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, setUserData
detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
build, close, isComplete, serialize, serialize, serializeAndConsume
clone, getOMFactory
getNextOMSiblingIfAvailable, internalSerialize, internalSerializeAndConsume, setComplete, setNextOMSibling, setParent, setPreviousOMSibling
public TextImpl(char[] value, OMFactory factory)
public TextImpl(String contentID, DataHandlerProvider dataHandlerProvider, boolean optimize, OMFactory factory)
public TextImpl(OMFactory factory)
public TextImpl(OMContainer parent, QName text, int nodeType, OMFactory factory)
public TextImpl(OMContainer parent, QName text, OMFactory factory)
public TextImpl(TextNodeImpl source, OMFactory factory)
public TextImpl(String text, String mimeType, boolean optimize, boolean isBinary, OMFactory factory)
public int getType() throws OMException
OMNode
OMNode.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
.OMException
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.