© 2005 BEA Systems, Inc.

com.bea.p13n.content.query
Class ContentQueryNode

java.lang.Object
  extended bycom.bea.p13n.expression.internal.parser.ast.Node
      extended bycom.bea.p13n.expression.internal.parser.ast.CompositeNode
          extended bycom.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

accept

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

getName

public String getName()

toString

public String toString()

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved