Class TextImpl<T extends CharacterData>
java.lang.Object
com.sun.xml.messaging.saaj.soap.impl.TextImpl<T>
- Type Parameters:
T- node type
- All Implemented Interfaces:
javax.xml.soap.Node,javax.xml.soap.Text,CharacterData,Node,Text
- Direct Known Subclasses:
CDATAImpl,SOAPCommentImpl,SOAPTextImpl
public abstract class TextImpl<T extends CharacterData>
extends Object
implements javax.xml.soap.Text, CharacterData
- Author:
- lukas
-
Field Summary
FieldsFields inherited from interface org.w3c.dom.Node
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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTextImpl(SOAPDocumentImpl ownerDoc, String text) protectedTextImpl(SOAPDocumentImpl ownerDoc, CharacterData data) -
Method Summary
Modifier and TypeMethodDescriptionappendChild(Node newChild) voidappendData(String arg) cloneNode(boolean deep) shortcompareDocumentPosition(Node other) protected abstract TcreateN(SOAPDocumentImpl ownerDoc, String text) protected abstract TcreateN(SOAPDocumentImpl ownerDoc, CharacterData data) voiddeleteData(int offset, int count) voiddoClone()getData()getFeature(String feature, String version) intshortjavax.xml.soap.SOAPElementgetUserData(String key) getValue()booleanbooleaninsertBefore(Node newChild, Node refChild) voidinsertData(int offset, String arg) booleanisDefaultNamespace(String namespaceURI) booleanisEqualNode(Node arg) booleanisSameNode(Node other) booleanisSupported(String feature, String version) lookupNamespaceURI(String prefix) lookupPrefix(String namespaceURI) voidvoidremoveChild(Node oldChild) replaceChild(Node newChild, Node oldChild) voidreplaceData(int offset, int count, String arg) voidvoidsetNodeValue(String nodeValue) voidsetParentElement(javax.xml.soap.SOAPElement parent) voidvoidsetTextContent(String textContent) setUserData(String key, Object data, UserDataHandler handler) voidsubstringData(int offset, int count) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.xml.soap.Text
isCommentMethods inherited from interface org.w3c.dom.Text
getWholeText, isElementContentWhitespace, replaceWholeText, splitText
-
Field Details
-
log
-
-
Constructor Details
-
TextImpl
-
TextImpl
-
-
Method Details
-
createN
-
createN
-
doClone
-
getDomElement
-
getValue
- Specified by:
getValuein interfacejavax.xml.soap.Node
-
setValue
- Specified by:
setValuein interfacejavax.xml.soap.Node
-
setParentElement
public void setParentElement(javax.xml.soap.SOAPElement parent) throws javax.xml.soap.SOAPException - Specified by:
setParentElementin interfacejavax.xml.soap.Node- Throws:
javax.xml.soap.SOAPException
-
getParentElement
public javax.xml.soap.SOAPElement getParentElement()- Specified by:
getParentElementin interfacejavax.xml.soap.Node
-
detachNode
public void detachNode()- Specified by:
detachNodein interfacejavax.xml.soap.Node
-
recycleNode
public void recycleNode()- Specified by:
recycleNodein interfacejavax.xml.soap.Node
-
getNodeName
- Specified by:
getNodeNamein interfaceNode
-
getNodeValue
- Specified by:
getNodeValuein interfaceNode- Throws:
DOMException
-
setNodeValue
- Specified by:
setNodeValuein interfaceNode- Throws:
DOMException
-
getNodeType
public short getNodeType()- Specified by:
getNodeTypein interfaceNode
-
getParentNode
- Specified by:
getParentNodein interfaceNode
-
getChildNodes
- Specified by:
getChildNodesin interfaceNode
-
getFirstChild
- Specified by:
getFirstChildin interfaceNode
-
getLastChild
- Specified by:
getLastChildin interfaceNode
-
getPreviousSibling
- Specified by:
getPreviousSiblingin interfaceNode
-
getNextSibling
- Specified by:
getNextSiblingin interfaceNode
-
getAttributes
- Specified by:
getAttributesin interfaceNode
-
getOwnerDocument
- Specified by:
getOwnerDocumentin interfaceNode
-
insertBefore
- Specified by:
insertBeforein interfaceNode- Throws:
DOMException
-
replaceChild
- Specified by:
replaceChildin interfaceNode- Throws:
DOMException
-
removeChild
- Specified by:
removeChildin interfaceNode- Throws:
DOMException
-
appendChild
- Specified by:
appendChildin interfaceNode- Throws:
DOMException
-
hasChildNodes
public boolean hasChildNodes()- Specified by:
hasChildNodesin interfaceNode
-
cloneNode
-
normalize
public void normalize() -
isSupported
- Specified by:
isSupportedin interfaceNode
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceNode
-
getPrefix
-
setPrefix
- Specified by:
setPrefixin interfaceNode- Throws:
DOMException
-
getLocalName
- Specified by:
getLocalNamein interfaceNode
-
hasAttributes
public boolean hasAttributes()- Specified by:
hasAttributesin interfaceNode
-
getBaseURI
- Specified by:
getBaseURIin interfaceNode
-
compareDocumentPosition
- Specified by:
compareDocumentPositionin interfaceNode- Throws:
DOMException
-
getTextContent
- Specified by:
getTextContentin interfaceNode- Throws:
DOMException
-
setTextContent
- Specified by:
setTextContentin interfaceNode- Throws:
DOMException
-
isSameNode
- Specified by:
isSameNodein interfaceNode
-
lookupPrefix
- Specified by:
lookupPrefixin interfaceNode
-
isDefaultNamespace
- Specified by:
isDefaultNamespacein interfaceNode
-
lookupNamespaceURI
- Specified by:
lookupNamespaceURIin interfaceNode
-
isEqualNode
- Specified by:
isEqualNodein interfaceNode
-
getFeature
- Specified by:
getFeaturein interfaceNode
-
setUserData
- Specified by:
setUserDatain interfaceNode
-
getUserData
- Specified by:
getUserDatain interfaceNode
-
getData
- Specified by:
getDatain interfaceCharacterData- Throws:
DOMException
-
setData
- Specified by:
setDatain interfaceCharacterData- Throws:
DOMException
-
getLength
public int getLength()- Specified by:
getLengthin interfaceCharacterData
-
substringData
- Specified by:
substringDatain interfaceCharacterData- Throws:
DOMException
-
appendData
- Specified by:
appendDatain interfaceCharacterData- Throws:
DOMException
-
insertData
- Specified by:
insertDatain interfaceCharacterData- Throws:
DOMException
-
deleteData
- Specified by:
deleteDatain interfaceCharacterData- Throws:
DOMException
-
replaceData
- Specified by:
replaceDatain interfaceCharacterData- Throws:
DOMException
-
getSoapDocument
-