Class PrimaryExpr

  • All Implemented Interfaces:
    XPathExpression
    Direct Known Subclasses:
    FunctionCall, VariableReference

    public abstract class PrimaryExpr
    extends java.lang.Object
    implements XPathExpression
    Represents an XPath 1.0 PrimaryExpr
     from XPath 1.0 Recommendation:
     [15] PrimaryExpr ::= VariableReference
                          | '(' Expr ')'
                          | Literal
                          | Number
                          | FunctionCall
     
    Version:
    $Revision: 3734 $ $Date: 2003-05-13 09:55:04 +0200 (Tue, 13 May 2003) $
    Author:
    Keith Visco
    • Method Detail

      • getExprType

        public final short getExprType()
        Returns the XPathExpression type
        Specified by:
        getExprType in interface XPathExpression
        Returns:
        the XPathExpression type
      • getType

        public final short getType()
        Retrieves the type of this PrimaryExpr
        Returns:
        the type of this PrimaryExpr