com.infoengine.soap.util.saaj
Class Text_Impl
java.lang.Object
com.infoengine.soap.util.saaj.UnsupportedDOMNode
com.infoengine.soap.util.saaj.Text_Impl
- All Implemented Interfaces:
- CharacterData, Node, javax.xml.soap.Node, Text, javax.xml.soap.Text, Writable
- public class Text_Impl
- extends UnsupportedDOMNode
- implements javax.xml.soap.Text, Writable
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Methods inherited from class com.infoengine.soap.util.saaj.UnsupportedDOMNode |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
OUTPUT
protected boolean OUTPUT
msg
protected SOAPMessage_Impl msg
data
protected String data
Text_Impl
public Text_Impl(SOAPMessage_Impl msg,
String data)
appendData
public void appendData(String arg)
throws DOMException
- Specified by:
appendData
in interface CharacterData
- Throws:
DOMException
deleteData
public void deleteData(int offset,
int count)
throws DOMException
- Specified by:
deleteData
in interface CharacterData
- Throws:
DOMException
detachNode
public void detachNode()
- Specified by:
detachNode
in interface javax.xml.soap.Node
getData
public String getData()
throws DOMException
- Specified by:
getData
in interface CharacterData
- Throws:
DOMException
getLength
public int getLength()
- Specified by:
getLength
in interface CharacterData
getParentElement
public javax.xml.soap.SOAPElement getParentElement()
- Specified by:
getParentElement
in interface javax.xml.soap.Node
getValue
public String getValue()
- Specified by:
getValue
in interface javax.xml.soap.Node
insertData
public void insertData(int offset,
String arg)
throws DOMException
- Specified by:
insertData
in interface CharacterData
- Throws:
DOMException
isComment
public boolean isComment()
- Specified by:
isComment
in interface javax.xml.soap.Text
recycleNode
public void recycleNode()
- Specified by:
recycleNode
in interface javax.xml.soap.Node
replaceData
public void replaceData(int offset,
int count,
String arg)
throws DOMException
- Specified by:
replaceData
in interface CharacterData
- Throws:
DOMException
setData
public void setData(String data)
throws DOMException
- Specified by:
setData
in interface CharacterData
- Throws:
DOMException
setParentElement
public void setParentElement(javax.xml.soap.SOAPElement sOAPElement)
throws javax.xml.soap.SOAPException
- Specified by:
setParentElement
in interface javax.xml.soap.Node
- Throws:
javax.xml.soap.SOAPException
setValue
public void setValue(String str)
- Specified by:
setValue
in interface javax.xml.soap.Node
splitText
public Text splitText(int offset)
throws DOMException
- Specified by:
splitText
in interface Text
- Throws:
DOMException
substringData
public String substringData(int offset,
int count)
throws DOMException
- Specified by:
substringData
in interface CharacterData
- Throws:
DOMException
output
public void output()
throws javax.xml.soap.SOAPException
- Specified by:
output
in interface Writable
- Throws:
javax.xml.soap.SOAPException
normalizeXml
private String normalizeXml(String s)