|
|||||||
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.OperationNode
abstract class OperationNode
Base class for operation nodes. Used for lazily executed operations.
Constructor Summary | |
---|---|
OperationNode(Origin origin)
Constructs a new operation node. |
Method Summary | ||
---|---|---|
Comment |
asComment()
Returns this node as a comment node. |
|
Element |
asElement()
Returns this node as an element node. |
|
ProcessingInstruction |
asProcessingInstruction()
Returns this node as a processing instruction node. |
|
TempNode |
asTemplate()
Returns this node as an XML template content node. |
|
Text |
asText()
Returns this node as a text node. |
|
boolean |
isComment()
Checks whether this is an comment node. |
|
boolean |
isElement()
Checks whether this is an element node. |
|
boolean |
isProcessingInstruction()
Checks whether this is an processing instruction node. |
|
(package private) boolean |
isTemplate()
Checks whether this is an XML template content node. |
|
boolean |
isText()
Checks whether this is a text node. |
|
(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.XML |
---|
analyze, append, appendContent, appendContent, byteLength, close, concat, concat, concatXML, gapify, gapify, get, getAttribute, getAttribute, getElement, getElementByID, getElements, getFirstElement, getNamespaceMap, getNextSibling, getNumber, getNumber, getRealNextSibling, 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, asNamespaceDecl, expanded, follow, follow, follow, follow, forward, getOrigin, isAttribute, isNamespaceDecl, toString, visitAnyBy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
OperationNode(Origin origin)
Method Detail |
---|
public Comment asComment()
Node
asComment
in class Node
public Element asElement()
Node
asElement
in class Node
public ProcessingInstruction asProcessingInstruction()
Node
asProcessingInstruction
in class Node
public TempNode asTemplate()
Node
asTemplate
in class Node
public Text asText()
Node
asText
in class Node
public boolean isComment()
Node
isComment
in class Node
public boolean isElement()
Node
isElement
in class Node
public boolean isProcessingInstruction()
Node
isProcessingInstruction
in class Node
boolean isTemplate()
Node
isTemplate
in class Node
public boolean isText()
Node
isText
in class Node
void visitNormalizedBy(NodeVisitor v)
Node
visitNormalizedBy
in class Node
<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 |