org.apache.struts2.views.xslt
Class SimpleTextNode
java.lang.Object
org.apache.struts2.views.xslt.AbstractAdapterNode
org.apache.struts2.views.xslt.SimpleTextNode
- All Implemented Interfaces:
- AdapterNode, CharacterData, Node, Text
public class SimpleTextNode
- extends AbstractAdapterNode
- implements Node, Text
Methods inherited from class org.apache.struts2.views.xslt.AbstractAdapterNode |
appendChild, buildChildAdapters, cloneNode, compareDocumentPosition, getAdapterFactory, getAttributes, getBaseURI, getChildAdapters, getChildAfter, getChildBefore, getChildBeforeOrAfter, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParent, getParentNode, getPrefix, getPreviousSibling, getPropertyName, getPropertyValue, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, operationNotSupported, removeChild, replaceChild, setAdapterFactory, setContext, setNodeValue, setParent, setPrefix, setPropertyName, setPropertyValue, setTextContent, setUserData, toString |
SimpleTextNode
public SimpleTextNode(AdapterFactory rootAdapterFactory,
AdapterNode parent,
String propertyName,
Object value)
getStringValue
protected String getStringValue()
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
- Overrides:
getNodeName
in class AbstractAdapterNode
getNodeType
public short getNodeType()
- Specified by:
getNodeType
in interface Node
- Overrides:
getNodeType
in class AbstractAdapterNode
getNodeValue
public String getNodeValue()
throws DOMException
- Specified by:
getNodeValue
in interface Node
- Overrides:
getNodeValue
in class AbstractAdapterNode
- 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
isElementContentWhitespace
public boolean isElementContentWhitespace()
- Specified by:
isElementContentWhitespace
in interface Text
getWholeText
public String getWholeText()
- Specified by:
getWholeText
in interface Text
replaceWholeText
public Text replaceWholeText(String string)
throws DOMException
- Specified by:
replaceWholeText
in interface Text
- Throws:
DOMException
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.