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, org.w3c.dom.CharacterData, org.w3c.dom.Node, org.w3c.dom.Text
public class SimpleTextNode
- extends AbstractAdapterNode
- implements org.w3c.dom.Node, org.w3c.dom.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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SimpleTextNode
public SimpleTextNode(AdapterFactory rootAdapterFactory,
AdapterNode parent,
java.lang.String propertyName,
java.lang.Object value)
getStringValue
protected java.lang.String getStringValue()
setData
public void setData(java.lang.String string)
throws org.w3c.dom.DOMException
- Specified by:
setData
in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
getData
public java.lang.String getData()
throws org.w3c.dom.DOMException
- Specified by:
getData
in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
getLength
public int getLength()
- Specified by:
getLength
in interface org.w3c.dom.CharacterData
getNodeName
public java.lang.String getNodeName()
- Specified by:
getNodeName
in interface org.w3c.dom.Node
- Overrides:
getNodeName
in class AbstractAdapterNode
getNodeType
public short getNodeType()
- Specified by:
getNodeType
in interface org.w3c.dom.Node
- Overrides:
getNodeType
in class AbstractAdapterNode
getNodeValue
public java.lang.String getNodeValue()
throws org.w3c.dom.DOMException
- Specified by:
getNodeValue
in interface org.w3c.dom.Node
- Overrides:
getNodeValue
in class AbstractAdapterNode
- Throws:
org.w3c.dom.DOMException
appendData
public void appendData(java.lang.String string)
throws org.w3c.dom.DOMException
- Specified by:
appendData
in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
deleteData
public void deleteData(int i,
int i1)
throws org.w3c.dom.DOMException
- Specified by:
deleteData
in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
insertData
public void insertData(int i,
java.lang.String string)
throws org.w3c.dom.DOMException
- Specified by:
insertData
in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
replaceData
public void replaceData(int i,
int i1,
java.lang.String string)
throws org.w3c.dom.DOMException
- Specified by:
replaceData
in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
splitText
public org.w3c.dom.Text splitText(int i)
throws org.w3c.dom.DOMException
- Specified by:
splitText
in interface org.w3c.dom.Text
- Throws:
org.w3c.dom.DOMException
substringData
public java.lang.String substringData(int beginIndex,
int endIndex)
throws org.w3c.dom.DOMException
- Specified by:
substringData
in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
isElementContentWhitespace
public boolean isElementContentWhitespace()
- Specified by:
isElementContentWhitespace
in interface org.w3c.dom.Text
getWholeText
public java.lang.String getWholeText()
- Specified by:
getWholeText
in interface org.w3c.dom.Text
replaceWholeText
public org.w3c.dom.Text replaceWholeText(java.lang.String string)
throws org.w3c.dom.DOMException
- Specified by:
replaceWholeText
in interface org.w3c.dom.Text
- Throws:
org.w3c.dom.DOMException
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.