ContentQueryNode Class
- public class ContentQueryNode
extends CompositeNode
Class ContentQueryNode
is a simple representation of a node
in an instance of the contentquery-1_1.xsd schema.
It captures element
differentiation through basic name assignment. As such, a tree composed
from the contentquery schema will only contain
ContentQueryNode
s and leaf TextNode
s for
elements containing raw text data.
To convert a ContentQueryNode to a content query expression, use a
RulesContentQuery
.
-
Hierarchy
-
Object
Node
CompositeNode
ContentQueryNode
-
All Implemented Interfaces
-
Serializable
Fields from com.bea.p13n.expression.internal.parser.ast.Node |
NO_COLUMN_NUMBER, NO_LINE_NUMBER |
Methods from com.bea.p13n.expression.internal.parser.ast.CompositeNode |
addChild, childrenAccept, getAttribute, getSourceEndColumnNumber, getSourceEndLineNumber, iterateAttributes, iterateChildren, numChildren, setAttribute, setSourceEndColumnNumber, setSourceEndLineNumber, |
Methods from com.bea.p13n.expression.internal.parser.ast.Node |
getSourceColumnNumber, getSourceLineNumber, setSourceColumnNumber, setSourceLineNumber, toString |
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentQueryNode
public ContentQueryNode(String
name)
accept(Visitor, Object) Method
public Object
accept(Visitor
visitor,
Object
data)
throws AstTraversalException
-
Overrides
- Node.accept(Visitor, Object)
Exceptions
-
AstTraversalException
getName() Method
public String
getName()
toString() Method
public String
toString()
-
Overrides
- CompositeNode.toString()