railo.runtime.text.xml.struct
Class XMLTextStruct
java.lang.Object
railo.runtime.type.util.StructSupport
railo.runtime.text.xml.struct.XMLNodeStruct
railo.runtime.text.xml.struct.XMLTextStruct
- All Implemented Interfaces:
- Serializable, Cloneable, Map, CharacterData, Node, Text, Dumpable, Castable, XMLObject, XMLStruct, Collection, ForEachIteratorable, Iteratorable, Objects, Sizeable, Struct
public final class XMLTextStruct
- extends XMLNodeStruct
- implements Text
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Fields 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 |
Methods inherited from class railo.runtime.text.xml.struct.XMLNodeStruct |
appendChild, castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, clear, compareDocumentPosition, compareTo, compareTo, compareTo, compareTo, containsKey, entryIterator, equals, get, get, getAttributes, getBaseURI, getCaseSensitive, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getMap, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, getXMLNodeList, hasAttributes, hasChildNodes, insertBefore, isCaseSensitive, isDefaultNamespace, isEqualNode, isSameNode, isSupported, keyIterator, keys, keysAsStringIterator, lookupNamespaceURI, lookupPrefix, normalize, remove, removeChild, removeEL, replaceChild, set, setEL, setNodeValue, setPrefix, setTextContent, setUserData, size, toDumpData, toNode, valueIterator |
Methods inherited from class railo.runtime.type.util.StructSupport |
call, callWithNamedValues, clone, containsKey, containsKey, containsValue, entrySet, get, get, get, get, get, getIterator, hashCode, invalidKey, isEmpty, keySet, put, putAll, remove, set, set, setEL, setEL, sizeOf, toString, values |
Methods inherited from interface org.w3c.dom.Node |
appendChild, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
Methods inherited from interface java.util.Map |
containsKey, containsValue, entrySet, get, hashCode, isEmpty, keySet, put, putAll, remove, values |
XMLTextStruct
public XMLTextStruct(Text text,
boolean caseSensitive)
- Parameters:
text
- caseSensitive
-
splitText
public Text splitText(int offset)
throws DOMException
- Specified by:
splitText
in interface Text
- Throws:
DOMException
getLength
public int getLength()
- Specified by:
getLength
in interface CharacterData
deleteData
public void deleteData(int offset,
int count)
throws DOMException
- Specified by:
deleteData
in interface CharacterData
- Throws:
DOMException
getData
public String getData()
throws DOMException
- Specified by:
getData
in interface CharacterData
- Throws:
DOMException
substringData
public String substringData(int offset,
int count)
throws DOMException
- Specified by:
substringData
in interface CharacterData
- Throws:
DOMException
replaceData
public void replaceData(int offset,
int count,
String arg)
throws DOMException
- Specified by:
replaceData
in interface CharacterData
- Throws:
DOMException
insertData
public void insertData(int offset,
String arg)
throws DOMException
- Specified by:
insertData
in interface CharacterData
- Throws:
DOMException
appendData
public void appendData(String arg)
throws DOMException
- Specified by:
appendData
in interface CharacterData
- Throws:
DOMException
setData
public void setData(String data)
throws DOMException
- Specified by:
setData
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 content)
throws DOMException
- Specified by:
replaceWholeText
in interface Text
- Throws:
DOMException
duplicate
public Collection duplicate(boolean deepCopy)
- Specified by:
duplicate
in interface Collection
- Overrides:
duplicate
in class XMLNodeStruct
cloneNode
public Node cloneNode(boolean deep)
- Specified by:
cloneNode
in interface Node
- Overrides:
cloneNode
in class XMLNodeStruct
Copyright © 2012 Railo