T - public abstract class TextImpl<T extends CharacterData> extends Object implements Text, CharacterData
| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
log |
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| Modifier | Constructor and Description |
|---|---|
protected |
TextImpl(SOAPDocumentImpl ownerDoc,
CharacterData data) |
protected |
TextImpl(SOAPDocumentImpl ownerDoc,
String text) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWholeText, isElementContentWhitespace, replaceWholeText, splitTextprotected static final Logger log
protected TextImpl(SOAPDocumentImpl ownerDoc, String text)
protected TextImpl(SOAPDocumentImpl ownerDoc, CharacterData data)
protected abstract T createN(SOAPDocumentImpl ownerDoc, CharacterData data)
protected abstract T createN(SOAPDocumentImpl ownerDoc, String text)
public T getDomElement()
public String getValue()
public void setValue(String text)
public void setParentElement(SOAPElement parent) throws SOAPException
SOAPExceptionpublic SOAPElement getParentElement()
public void detachNode()
public void recycleNode()
public String getNodeName()
getNodeName in interface Nodepublic String getNodeValue() throws DOMException
getNodeValue in interface NodeDOMExceptionpublic void setNodeValue(String nodeValue) throws DOMException
setNodeValue in interface NodeDOMExceptionpublic short getNodeType()
getNodeType in interface Nodepublic Node getParentNode()
getParentNode in interface Nodepublic NodeList getChildNodes()
getChildNodes in interface Nodepublic Node getFirstChild()
getFirstChild in interface Nodepublic Node getLastChild()
getLastChild in interface Nodepublic Node getPreviousSibling()
getPreviousSibling in interface Nodepublic Node getNextSibling()
getNextSibling in interface Nodepublic NamedNodeMap getAttributes()
getAttributes in interface Nodepublic Document getOwnerDocument()
getOwnerDocument in interface Nodepublic Node insertBefore(Node newChild, Node refChild) throws DOMException
insertBefore in interface NodeDOMExceptionpublic Node replaceChild(Node newChild, Node oldChild) throws DOMException
replaceChild in interface NodeDOMExceptionpublic Node removeChild(Node oldChild) throws DOMException
removeChild in interface NodeDOMExceptionpublic Node appendChild(Node newChild) throws DOMException
appendChild in interface NodeDOMExceptionpublic boolean hasChildNodes()
hasChildNodes in interface Nodepublic boolean isSupported(String feature, String version)
isSupported in interface Nodepublic String getNamespaceURI()
getNamespaceURI in interface Nodepublic void setPrefix(String prefix) throws DOMException
setPrefix in interface NodeDOMExceptionpublic String getLocalName()
getLocalName in interface Nodepublic boolean hasAttributes()
hasAttributes in interface Nodepublic String getBaseURI()
getBaseURI in interface Nodepublic short compareDocumentPosition(Node other) throws DOMException
compareDocumentPosition in interface NodeDOMExceptionpublic String getTextContent() throws DOMException
getTextContent in interface NodeDOMExceptionpublic void setTextContent(String textContent) throws DOMException
setTextContent in interface NodeDOMExceptionpublic boolean isSameNode(Node other)
isSameNode in interface Nodepublic String lookupPrefix(String namespaceURI)
lookupPrefix in interface Nodepublic boolean isDefaultNamespace(String namespaceURI)
isDefaultNamespace in interface Nodepublic String lookupNamespaceURI(String prefix)
lookupNamespaceURI in interface Nodepublic boolean isEqualNode(Node arg)
isEqualNode in interface Nodepublic Object getFeature(String feature, String version)
getFeature in interface Nodepublic Object setUserData(String key, Object data, UserDataHandler handler)
setUserData in interface Nodepublic Object getUserData(String key)
getUserData in interface Nodepublic String getData() throws DOMException
getData in interface CharacterDataDOMExceptionpublic void setData(String data) throws DOMException
setData in interface CharacterDataDOMExceptionpublic int getLength()
getLength in interface CharacterDatapublic String substringData(int offset, int count) throws DOMException
substringData in interface CharacterDataDOMExceptionpublic void appendData(String arg) throws DOMException
appendData in interface CharacterDataDOMExceptionpublic void insertData(int offset,
String arg)
throws DOMException
insertData in interface CharacterDataDOMExceptionpublic void deleteData(int offset,
int count)
throws DOMException
deleteData in interface CharacterDataDOMExceptionpublic void replaceData(int offset,
int count,
String arg)
throws DOMException
replaceData in interface CharacterDataDOMExceptionpublic SOAPDocumentImpl getSoapDocument()
Copyright © 2005–2017 Oracle Corporation. All rights reserved.