|
|||||||
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.Comment
public class Comment
Comment node.
Constructor Summary | |
---|---|
Comment(String value)
Constructs a new comment node. |
|
Comment(String value,
Origin origin)
Constructs a new comment node. |
|
Comment(String value,
XML nextsibling,
Origin origin)
Constructs a new comment node. |
Method Summary | ||
---|---|---|
Comment |
copy(XML nextsibling)
Returns a copy of this node with the given next sibling. |
|
String |
getValue()
Returns the comment value. |
|
String |
toString()
Returns a description of this node. |
|
(package private) void |
visitAnyBy(AnyNodeVisitor v)
Visits this node by the given any-node visitor. |
|
(package private) void |
visitNormalizedBy(NodeVisitor v)
Visits this normalized node it by the given visitor. |
|
(package private)
|
visitNormalizedBy(NodeVisitorParameterized<R,A> v,
A arg)
Visits this normalized node it by the given visitor. |
Methods inherited from class dk.brics.xact.TempNode |
---|
getNextSibling, getRealNextSibling |
Methods inherited from class dk.brics.xact.XML |
---|
analyze, append, appendContent, appendContent, byteLength, close, concat, concat, concatXML, gapify, gapify, get, getAttribute, getAttribute, getElement, getElementByID, getElements, getFirstElement, getNamespaceMap, getNumber, getNumber, getString, getString, getStrings, getThreadNamespaceMap, has, insertAfter, insertBefore, loadXMLSchema, loadXMLSchema, normalize, 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, asTemplate, asText, expanded, follow, follow, follow, follow, forward, getOrigin, isAttribute, isComment, isElement, isNamespaceDecl, isProcessingInstruction, isTemplate, isText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Comment(String value)
public Comment(String value, Origin origin)
public Comment(String value, XML nextsibling, Origin origin)
Method Detail |
---|
public Comment copy(XML nextsibling)
TempNode
copy
in class TempNode
public String getValue()
public String toString()
Node
toString
in class Node
void visitAnyBy(AnyNodeVisitor v)
Node
visitAnyBy
in class Node
void visitNormalizedBy(NodeVisitor v)
Node
visitNormalizedBy
in class TempNode
<R,A> R visitNormalizedBy(NodeVisitorParameterized<R,A> v, A arg)
Node
visitNormalizedBy
in class Node
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |