|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jeuclid.dom.AbstractPartialNodeImpl
net.sourceforge.jeuclid.dom.PartialTextImpl
public class PartialTextImpl
Partial implementation of org.w3c.dom.Text.
This implements only the functions necessary for MathElements. Feel free to implement whatever functions you need.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.sourceforge.jeuclid.dom.AbstractPartialNodeImpl |
|---|
AbstractPartialNodeImpl.NodeList |
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
PartialTextImpl(String text)
Constructor. |
|
| Method Summary | |
|---|---|
void |
appendData(String arg)
|
void |
deleteData(int offset,
int count)
|
String |
getData()
|
int |
getLength()
|
String |
getNodeName()
|
short |
getNodeType()
|
String |
getNodeValue()
|
String |
getTextContent()
|
String |
getWholeText()
|
void |
insertData(int offset,
String arg)
|
boolean |
isElementContentWhitespace()
|
void |
replaceData(int offset,
int count,
String arg)
|
Text |
replaceWholeText(String newContent)
|
void |
setData(String data)
|
void |
setTextContent(String newTextContent)
|
Text |
splitText(int offset)
|
String |
substringData(int offset,
int count)
|
| Methods inherited from class net.sourceforge.jeuclid.dom.AbstractPartialNodeImpl |
|---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setUserData |
| 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, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setUserData |
| Constructor Detail |
|---|
public PartialTextImpl(String text)
text - text content for this node.| Method Detail |
|---|
public String getWholeText()
getWholeText in interface Textpublic boolean isElementContentWhitespace()
isElementContentWhitespace in interface Textpublic Text replaceWholeText(String newContent)
replaceWholeText in interface Textpublic Text splitText(int offset)
splitText in interface Textpublic void appendData(String arg)
appendData in interface CharacterData
public void deleteData(int offset,
int count)
deleteData in interface CharacterDatapublic String getData()
getData in interface CharacterDatapublic int getLength()
getLength in interface CharacterData
public void insertData(int offset,
String arg)
insertData in interface CharacterData
public void replaceData(int offset,
int count,
String arg)
replaceData in interface CharacterDatapublic void setData(String data)
setData in interface CharacterData
public String substringData(int offset,
int count)
substringData in interface CharacterDatapublic String getNodeName()
getNodeName in interface Nodepublic short getNodeType()
getNodeType in interface Nodepublic String getNodeValue()
getNodeValue in interface NodegetNodeValue in class AbstractPartialNodeImplpublic void setTextContent(String newTextContent)
setTextContent in interface NodesetTextContent in class AbstractPartialNodeImplpublic String getTextContent()
getTextContent in interface NodegetTextContent in class AbstractPartialNodeImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||