com.opensymphony.webwork.views.xslt
Class SimpleTextNode

java.lang.Object
  extended bycom.opensymphony.webwork.views.xslt.DefaultAdapterNode
      extended bycom.opensymphony.webwork.views.xslt.SimpleTextNode
All Implemented Interfaces:
AdapterNode, CharacterData, Node, Text

public class SimpleTextNode
extends DefaultAdapterNode
implements Text, AdapterNode

Author:
Philipp Meier Date: 10.10.2003 Time: 19:45:12

Field Summary
 
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
 
Constructor Summary
SimpleTextNode(DOMAdapter rootAdapter, AdapterNode parent, String propertyName, Object value)
           
 
Method Summary
 void appendData(String string)
           
 void deleteData(int i, int i1)
           
 String getData()
           
 int getLength()
           
 String getNodeName()
           
 short getNodeType()
           
 String getNodeValue()
           
 void insertData(int i, String string)
           
 void replaceData(int i, int i1, String string)
           
 void setData(String string)
           
 Text splitText(int i)
           
 String substringData(int beginIndex, int endIndex)
           
 
Methods inherited from class com.opensymphony.webwork.views.xslt.DefaultAdapterNode
appendChild, cloneNode, equals, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNextSibling, getOwnerDocument, getParentAdapterNode, getParentNode, getPrefix, getPreviousSibling, getPropertyName, getRootAdapter, getValue, hasAttributes, hasChildNodes, hashCode, insertBefore, isSupported, normalize, operationNotSupported, removeChild, replaceChild, setNodeValue, setPrefix
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 
Methods inherited from interface com.opensymphony.webwork.views.xslt.AdapterNode
getNextSibling, getParentAdapterNode, getPropertyName, getRootAdapter, getValue
 

Constructor Detail

SimpleTextNode

public SimpleTextNode(DOMAdapter rootAdapter,
                      AdapterNode parent,
                      String propertyName,
                      Object value)
Method Detail

setData

public void setData(String string)
             throws DOMException
Specified by:
setData in interface CharacterData
Throws:
DOMException

getData

public String getData()
               throws DOMException
Specified by:
getData in interface CharacterData
Throws:
DOMException

getLength

public int getLength()
Specified by:
getLength in interface CharacterData

getNodeName

public String getNodeName()
Specified by:
getNodeName in interface Node

getNodeType

public short getNodeType()
Specified by:
getNodeType in interface Node

getNodeValue

public String getNodeValue()
                    throws DOMException
Specified by:
getNodeValue in interface Node
Overrides:
getNodeValue in class DefaultAdapterNode
Throws:
DOMException

appendData

public void appendData(String string)
                throws DOMException
Specified by:
appendData in interface CharacterData
Throws:
DOMException

deleteData

public void deleteData(int i,
                       int i1)
                throws DOMException
Specified by:
deleteData in interface CharacterData
Throws:
DOMException

insertData

public void insertData(int i,
                       String string)
                throws DOMException
Specified by:
insertData in interface CharacterData
Throws:
DOMException

replaceData

public void replaceData(int i,
                        int i1,
                        String string)
                 throws DOMException
Specified by:
replaceData in interface CharacterData
Throws:
DOMException

splitText

public Text splitText(int i)
               throws DOMException
Specified by:
splitText in interface Text
Throws:
DOMException

substringData

public String substringData(int beginIndex,
                            int endIndex)
                     throws DOMException
Specified by:
substringData in interface CharacterData
Throws:
DOMException

WebWork Project Page