|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.xact.Node dk.brics.xact.XML dk.brics.xact.TempNode dk.brics.xact.Text
public class Text
Text node.
Constructor Summary | |
---|---|
Text(String text)
Constructs a new text node. |
|
Text(String text,
Origin origin)
Constructs a new text node. |
|
Text(String text,
XML nextsibling,
Origin origin)
Constructs a new text node. |
Method Summary | |
---|---|
Text |
copy(XML nextsibling)
Returns a copy of this node with the given next sibling. |
String |
getString()
Returns the text string of this text node. |
String |
toString()
Returns a description of this node. |
Methods inherited from class dk.brics.xact.TempNode |
---|
getNextSibling |
Methods inherited from class dk.brics.xact.XML |
---|
analyze, append, appendContent, appendContent, byteLength, close, concat, concat, gapify, gapify, get, getAttribute, getAttribute, getElement, getElementByID, getElements, getFirstElement, getNamespaceMap, getNumber, getNumber, getString, getStrings, getThreadNamespaceMap, has, insertAfter, insertBefore, loadXMLSchema, loadXMLSchema, parseDocument, parseDocument, parseDocument, parseDocument, parseTemplate, parseTemplate, parseTemplate, parseTemplate, parseTemplateResource, parseTemplateResource, plug, plugList, plugWrap, prepend, prependContent, prependContent, remove, set, set, set, set, setContent, setContent, toDocument, toDocument, toDocument, toDocument, toTemplate, toTemplate, toTemplate, toXML, toXML, validate, visitBy, visitBy |
Methods inherited from class dk.brics.xact.Node |
---|
asAttribute, asComment, asElement, asNamespaceDecl, asProcessingInstruction, asText, getOrigin, isAttribute, isComment, isElement, isNamespaceDecl, isProcessingInstruction, isText |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Text(String text)
public Text(String text, Origin origin)
public Text(String text, XML nextsibling, Origin origin)
Method Detail |
---|
public Text copy(XML nextsibling)
TempNode
copy
in class TempNode
public String getString()
getString
in class XML
XML.getString(String)
public String toString()
Node
toString
in class Node
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |