Skip navigation links


com.bea.p13n.content.query
Class ContentQueryNode

java.lang.Object
  extended by com.bea.p13n.expression.internal.parser.ast.Node
      extended by com.bea.p13n.expression.internal.parser.ast.CompositeNode
          extended by com.bea.p13n.content.query.ContentQueryNode

All Implemented Interfaces
Serializable

public class ContentQueryNode
extends com.bea.p13n.expression.internal.parser.ast.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 ContentQueryNodes and leaf TextNodes for elements containing raw text data.

To convert a ContentQueryNode to a content query expression, use a RulesContentQuery.

See Also
Serialized Form

Field Summary

 

Fields inherited from class com.bea.p13n.expression.internal.parser.ast.Node
NO_COLUMN_NUMBER, NO_LINE_NUMBER

 

Constructor Summary
ContentQueryNode(String name)
           

 

Method Summary
 Object accept(com.bea.p13n.expression.internal.parser.ast.Visitor visitor, Object data)
           
 String getName()
           
 String toString()
           

 

Methods inherited from class com.bea.p13n.expression.internal.parser.ast.CompositeNode
addChild, childrenAccept, getAttribute, getSourceEndColumnNumber, getSourceEndLineNumber, iterateAttributes, iterateChildren, numChildren, setAttribute, setSourceEndColumnNumber, setSourceEndLineNumber

 

Methods inherited from class com.bea.p13n.expression.internal.parser.ast.Node
getSourceColumnNumber, getSourceLineNumber, setSourceColumnNumber, setSourceLineNumber

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

ContentQueryNode

public ContentQueryNode(String name)

Method Detail

getName

public String getName()

accept

public Object accept(com.bea.p13n.expression.internal.parser.ast.Visitor visitor,
                     Object data)
              throws com.bea.p13n.expression.internal.parser.ast.AstTraversalException
Specified by:
accept in class com.bea.p13n.expression.internal.parser.ast.Node
Throws
com.bea.p13n.expression.internal.parser.ast.AstTraversalException

toString

public String toString()
Overrides:
toString in class com.bea.p13n.expression.internal.parser.ast.CompositeNode

Skip navigation links


Copyright © 2010, Oracle. All rights reserved.