public class XPath extends Object implements XPathTreeConstants, XPathConstants
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt |
protected org.apache.jackrabbit.spi.commons.query.xpath.JJTXPathState |
jjtree |
Token |
token |
XPathTokenManager |
token_source |
JJTADDITIVEEXPR, JJTANDEXPR, JJTANYKINDTEST, JJTANYNAME, JJTAPOSATTRCONTENTCHAR, JJTAPOSATTRVALUECONTENT, JJTAS, JJTASCENDING, JJTASSIGNEQUALS, JJTAT, JJTATOMICTYPE, JJTATSTRINGLITERAL, JJTATTRIBNAMEORWILDCARD, JJTATTRIBUTEDECLARATION, JJTATTRIBUTELBRACE, JJTATTRIBUTENAME, JJTATTRIBUTEQNAMELBRACE, JJTATTRIBUTETEST, JJTATTRIBUTETYPE, JJTATTRIBUTETYPEFORKINDTEST, JJTATWORD, JJTAXISANCESTOR, JJTAXISANCESTORORSELF, JJTAXISATTRIBUTE, JJTAXISCHILD, JJTAXISDESCENDANT, JJTAXISDESCENDANTORSELF, JJTAXISFOLLOWING, JJTAXISFOLLOWINGSIBLING, JJTAXISPARENT, JJTAXISPRECEDING, JJTAXISPRECEDINGSIBLING, JJTAXISSELF, JJTBASEURIDECL, JJTCASE, JJTCASECLAUSE, JJTCASTABLEEXPR, JJTCASTAS, JJTCASTEXPR, JJTCDATASECTION, JJTCDATASECTIONCHAR, JJTCDATASECTIONCONTENTS, JJTCDATASECTIONEND, JJTCDATASECTIONSTART, JJTCDATASECTIONSTARTFORELEMENTCONTENT, JJTCHARREF, JJTCLOSEAPOS, JJTCLOSEQUOT, JJTCOLLATION, JJTCOLONEQUALS, JJTCOMMAFORKINDTEST, JJTCOMMENTCONTENTCHAR, JJTCOMMENTCONTENTCHARDASH, JJTCOMMENTLBRACE, JJTCOMMENTLPARFORKINDTEST, JJTCOMMENTTEST, JJTCOMMONCONTENT, JJTCOMPARISONEXPR, JJTCOMPATTRCONSTRUCTOR, JJTCOMPCOMMENTCONSTRUCTOR, JJTCOMPDOCCONSTRUCTOR, JJTCOMPELEMCONSTRUCTOR, JJTCOMPPICONSTRUCTOR, JJTCOMPTEXTCONSTRUCTOR, JJTCOMPUTEDCONSTRUCTOR, JJTCONSTRUCTIONDECL, JJTCONSTRUCTOR, JJTCONTENTEXPR, JJTDECIMALLITERAL, JJTDECLAREBASEURI, JJTDECLARECOLLATION, JJTDECLARECONSTRUCTION, JJTDECLAREDEFAULTELEMENT, JJTDECLAREDEFAULTFUNCTION, JJTDECLAREDEFAULTORDERINGEMPTY, JJTDECLAREINHERITNAMESPACES, JJTDECLARENAMESPACE, JJTDECLAREORDERING, JJTDECLAREXMLSPACE, JJTDEFAULT, JJTDEFAULTCOLLATIONDECL, JJTDEFAULTELEMENT, JJTDEFAULTNAMESPACEDECL, JJTDEFINEFUNCTION, JJTDEFINEVARIABLE, JJTDESCENDING, JJTDIRATTRIBUTELIST, JJTDIRATTRIBUTEVALUE, JJTDIRCOMMENTCONSTRUCTOR, JJTDIRCOMMENTCONTENTS, JJTDIRECTCONSTRUCTOR, JJTDIRELEMCONSTRUCTOR, JJTDIRELEMCONTENT, JJTDIRPICONSTRUCTOR, JJTDIRPICONTENTS, JJTDOCUMENTLBRACE, JJTDOCUMENTLPAR, JJTDOCUMENTLPARFORKINDTEST, JJTDOCUMENTTEST, JJTDOT, JJTDOTDOT, JJTDOUBLELITERAL, JJTELEMENTCONTENTCHAR, JJTELEMENTDECLARATION, JJTELEMENTLBRACE, JJTELEMENTNAME, JJTELEMENTNAMEORWILDCARD, JJTELEMENTQNAMELBRACE, JJTELEMENTTEST, JJTELEMENTTYPE, JJTELEMENTTYPEFORDOCUMENTTEST, JJTELEMENTTYPEFORKINDTEST, JJTEMPTYGREATEST, JJTEMPTYLEAST, JJTEMPTYORDERINGDECL, JJTEMPTYTAGCLOSE, JJTEMPTYTOK, JJTENCLOSEDEXPR, JJTENDTAGCLOSE, JJTENDTAGOPEN, JJTESCAPEAPOS, JJTESCAPEQUOT, JJTEVERY, JJTEXPR, JJTEXTERNAL, JJTFLWOREXPR, JJTFUNCTIONCALL, JJTFUNCTIONDECL, JJTIFEXPR, JJTIMPORT, JJTIMPORTMODULETOKEN, JJTIMPORTSCHEMATOKEN, JJTIN, JJTINHERITNAMESPACESDECL, JJTINSTANCEOFEXPR, JJTINTEGERLITERAL, JJTINTERSECTEXCEPTEXPR, JJTITEM, JJTLBRACE, JJTLBRACEEXPRENCLOSURE, JJTLCURLYBRACEESCAPE, JJTLETCLAUSE, JJTLETVARIABLE, JJTLIBRARYMODULE, JJTMAINMODULE, JJTMODULE, JJTMODULEDECL, JJTMODULEIMPORT, JJTMODULENAMESPACE, JJTMULTIPLICATIVEEXPR, JJTNAMESPACE, JJTNAMESPACEDECL, JJTNAMETEST, JJTNCNAMECOLONSTAR, JJTNCNAMEFORPI, JJTNCNAMEFORPREFIX, JJTNILLABLE, JJTNO, JJTNODELPARFORKINDTEST, jjtNodeName, JJTNODETEST, JJTOCCURRENCEONEORMORE, JJTOCCURRENCEZEROORMORE, JJTOCCURRENCEZEROORONE, JJTOPENAPOS, JJTOPENQUOT, JJTORDERBY, JJTORDERBYCLAUSE, JJTORDERBYSTABLE, JJTORDERED, JJTORDEREDOPEN, JJTORDERINGMODEDECL, JJTORDERMODIFIER, JJTORDERSPEC, JJTORDERSPECLIST, JJTOREXPR, JJTPARAM, JJTPARAMLIST, JJTPATHEXPR, JJTPICONTENTCHAR, JJTPILBRACE, JJTPINCNAMELBRACE, JJTPITARGET, JJTPITEST, JJTPOSITIONALVAR, JJTPREDEFINEDENTITYREF, JJTPREDICATE, JJTPREDICATELIST, JJTPROCESSINGINSTRUCTIONEND, JJTPROCESSINGINSTRUCTIONLPARFORKINDTEST, JJTPROCESSINGINSTRUCTIONSTART, JJTPROCESSINGINSTRUCTIONSTARTFORELEMENTCONTENT, JJTPROLOG, JJTQNAME, JJTQNAMEFORATOMICTYPE, JJTQNAMEFORITEMTYPE, JJTQNAMEFORSEQUENCETYPE, JJTQNAMELPAR, JJTQUANTIFIEDEXPR, JJTQUERYBODY, JJTQUERYLIST, JJTQUOTATTRCONTENTCHAR, JJTQUOTATTRVALUECONTENT, JJTRANGEEXPR, JJTRBRACE, JJTRCURLYBRACEESCAPE, JJTROOT, JJTROOTDESCENDANTS, JJTS, JJTSATISFIES, JJTSCHEMAATTRIBUTETEST, JJTSCHEMAATTRIBUTETYPE, JJTSCHEMAATTRIBUTETYPEFORKINDTEST, JJTSCHEMAELEMENTTEST, JJTSCHEMAELEMENTTYPE, JJTSCHEMAELEMENTTYPEFORDOCUMENTTEST, JJTSCHEMAELEMENTTYPEFORKINDTEST, JJTSCHEMAIMPORT, JJTSCHEMAMODEFORDECLARECONSTRUCTION, JJTSCHEMAPREFIX, JJTSEPARATOR, JJTSEQUENCETYPE, JJTSETTER, JJTSFORPI, JJTSINGLETYPE, JJTSLASHSLASH, JJTSOME, JJTSTAR, JJTSTARCOLONNCNAME, JJTSTARTTAGCLOSE, JJTSTARTTAGOPEN, JJTSTARTTAGOPENROOT, JJTSTEPEXPR, JJTSTRINGLITERAL, JJTSTRINGLITERALFORKINDTEST, JJTSTRINGLITERALFORVERSION, JJTTAGQNAME, JJTTEXTLBRACE, JJTTEXTLPARFORKINDTEST, JJTTEXTTEST, JJTTREATEXPR, JJTTYPEDECLARATION, JJTTYPENAME, JJTTYPESWITCHEXPR, JJTUNARYEXPR, JJTUNARYMINUS, JJTUNARYPLUS, JJTUNIONEXPR, JJTUNORDERED, JJTUNORDEREDOPEN, JJTURLLITERAL, JJTVALIDATEEXPR, JJTVALIDATELBRACE, JJTVALIDATESCHEMAMODE, JJTVALUEINDICATOR, JJTVARDECL, JJTVARNAME, JJTVERSIONDECL, JJTVOID, JJTWHERE, JJTWHERECLAUSE, JJTXMLCOMMENTEND, JJTXMLCOMMENTSTART, JJTXMLCOMMENTSTARTFORELEMENTCONTENT, JJTXMLSPACEDECL, JJTXMLSPACEPRESERVE, JJTXMLSPACESTRIP, JJTXPATH2, JJTXQUERYENCODING, JJTXQUERYVERSION, JJTYES
And, AnyName, APOS_ATTRIBUTE_CONTENT, AposAttrContentChar, As, Ascending, AssignEquals, At, AtStringLiteral, AttributeLbrace, AttributeQNameLbrace, AttributeType, AttributeTypeForKindTest, AtWord, AxisAncestor, AxisAncestorOrSelf, AxisAttribute, AxisChild, AxisDescendant, AxisDescendantOrSelf, AxisFollowing, AxisFollowingSibling, AxisParent, AxisPreceding, AxisPrecedingSibling, AxisSelf, BaseChar, Case, Castable, CastAs, CDATA_SECTION, CDataSectionChar, CdataSectionEnd, CdataSectionStart, CdataSectionStartForElementContent, Char, CharRef, CloseApos, CLOSEKINDTEST, CloseQuot, Collation, ColonEquals, CombiningChar, Comma, CommaForKindTest, Comment, CommentContent, CommentContentChar, CommentContentCharDash, CommentContents, CommentEnd, CommentLbrace, CommentLpar, CommentLparForKindTest, CommentStart, DecimalLiteral, DeclareBaseURI, DeclareCollation, DeclareConstruction, DeclareDefaultElement, DeclareDefaultFunction, DeclareDefaultOrderingEmpty, DeclareInheritNamespaces, DeclareNamespace, DeclareOrdering, DeclareXMLSpace, Default, DEFAULT, DefaultElement, DefineFunction, DefineVariable, Descending, Digit, Digits, Div, DocumentLbrace, DocumentLpar, DocumentLparForKindTest, Dot, DotDot, DoubleLiteral, ELEMENT_CONTENT, ElementContentChar, ElementLbrace, ElementQNameLbrace, ElementType, ElementTypeForDocumentTest, ElementTypeForKindTest, Else, EmptyGreatest, EmptyLeast, EmptyTagClose, EmptyTok, END_TAG, EndTagClose, EndTagOpen, EOF, Equals, EscapeApos, EscapeQuot, Every, Except, EXPR_COMMENT, EXT_CONTENT, EXT_KEY, EXT_NAME, Extender, Extension, ExtensionContentChar, ExtensionContents, ExtensionEnd, ExtensionQName, ExtensionStart, External, FortranEq, FortranGe, FortranGt, FortranLe, FortranLt, FortranNe, ForVariable, Gt, GtEquals, GtGt, HexDigits, Ideographic, Idiv, IfLpar, ImportModuleToken, ImportSchemaToken, In, Instanceof, IntegerLiteral, Intersect, Is, Item, ITEMTYPE, KINDTEST, KINDTESTFORPI, Lbrace, LbraceExprEnclosure, Lbrack, LCurlyBraceEscape, Letter, LetVariable, LocalPart, Lpar, Lt, LtEquals, LtLt, Minus, Mod, ModuleNamespace, MUExtension, Multiply, Namespace, NAMESPACEDECL, NAMESPACEKEYWORD, NCName, NCNameColonStar, NCNameForPI, NCNameForPrefix, Nillable, Nmchar, Nmstart, No, NodeLpar, NodeLparForKindTest, NotEquals, NotNumber, NotOccurrenceIndicator, NotOperatorKeyword, OCCURRENCEINDICATOR, OccurrenceOneOrMore, OccurrenceZeroOrMore, OccurrenceZeroOrOne, OpenApos, OpenQuot, OPERATOR, Or, OrderBy, OrderByStable, Ordered, OrderedOpen, PIContentChar, PILbrace, PINCNameLbrace, PITarget, Plus, Pragma, PragmaKeyword, PredefinedEntityRef, Prefix, PROCESSING_INSTRUCTION, PROCESSING_INSTRUCTION_CONTENT, ProcessingInstructionEnd, ProcessingInstructionLpar, ProcessingInstructionLparForKindTest, ProcessingInstructionStart, ProcessingInstructionStartForElementContent, QName, QNameForAtomicType, QNameForItemType, QNameForSequenceType, QNameLpar, QuerySeparator, QUOT_ATTRIBUTE_CONTENT, QuotAttrContentChar, Rbrace, Rbrack, RCurlyBraceEscape, Return, Root, RootDescendants, Rpar, RparForKindTest, S, Satisfies, SchemaAttributeType, SchemaAttributeTypeForKindTest, SchemaElementType, SchemaElementTypeForDocumentTest, SchemaElementTypeForKindTest, SchemaModeForDeclareConstruction, SemiColon, SForExt, SForPI, SINGLETYPE, skip_, Slash, SlashSlash, Some, Star, StarColonNCName, START_TAG, StartTagClose, StartTagOpen, StartTagOpenRoot, StringLiteral, StringLiteralForKindTest, StringLiteralForVersion, TagQName, TextLbrace, TextLpar, TextLparForKindTest, Then, To, tokenImage, TreatAs, TypeswitchLpar, UnaryMinus, UnaryPlus, Union, Unordered, UnorderedOpen, URLLiteral, ValidateLbrace, ValidateSchemaMode, ValidationMode, ValueIndicator, VariableIndicator, VarName, VARNAME, Vbar, Where, WhitespaceChar, XML_COMMENT, XmlCommentEnd, XmlCommentStart, XmlCommentStartForElementContent, XMLSPACE_DECL, XMLSpacePreserve, XMLSpaceStrip, XQueryEncoding, XQueryVersion, XQUERYVERSION, Yes
Constructor and Description |
---|
XPath(InputStream stream) |
XPath(InputStream stream,
String encoding) |
XPath(Reader stream) |
XPath(XPathTokenManager tm) |
protected org.apache.jackrabbit.spi.commons.query.xpath.JJTXPathState jjtree
public XPathTokenManager token_source
public Token token
public Token jj_nt
public XPath(InputStream stream)
public XPath(InputStream stream, String encoding)
public XPath(Reader stream)
public XPath(XPathTokenManager tm)
public Node createNode(int id)
public final SimpleNode XPath2() throws ParseException
ParseException
public final void QueryList() throws ParseException
ParseException
public final void Module() throws ParseException
ParseException
public final void VersionDecl() throws ParseException
ParseException
public final void MainModule() throws ParseException
ParseException
public final void LibraryModule() throws ParseException
ParseException
public final void ModuleDecl() throws ParseException
ParseException
public final void Prolog() throws ParseException
ParseException
public final void Setter() throws ParseException
ParseException
public final void Import() throws ParseException
ParseException
public final void Separator() throws ParseException
ParseException
public final void NamespaceDecl() throws ParseException
ParseException
public final void XMLSpaceDecl() throws ParseException
ParseException
public final void DefaultNamespaceDecl() throws ParseException
ParseException
public final void OrderingModeDecl() throws ParseException
ParseException
public final void EmptyOrderingDecl() throws ParseException
ParseException
public final void InheritNamespacesDecl() throws ParseException
ParseException
public final void DefaultCollationDecl() throws ParseException
ParseException
public final void BaseURIDecl() throws ParseException
ParseException
public final void SchemaImport() throws ParseException
ParseException
public final void SchemaPrefix() throws ParseException
ParseException
public final void ModuleImport() throws ParseException
ParseException
public final void VarDecl() throws ParseException
ParseException
public final void ConstructionDecl() throws ParseException
ParseException
public final void FunctionDecl() throws ParseException
ParseException
public final void ParamList() throws ParseException
ParseException
public final void Param() throws ParseException
ParseException
public final void EnclosedExpr() throws ParseException
ParseException
public final void QueryBody() throws ParseException
ParseException
public final void Expr() throws ParseException
ParseException
public final void ExprSingle() throws ParseException
ParseException
public final void FLWORExpr() throws ParseException
ParseException
public final void ForClause() throws ParseException
ParseException
public final void PositionalVar() throws ParseException
ParseException
public final void LetClause() throws ParseException
ParseException
public final void WhereClause() throws ParseException
ParseException
public final void OrderByClause() throws ParseException
ParseException
public final void OrderSpecList() throws ParseException
ParseException
public final void OrderSpec() throws ParseException
ParseException
public final void OrderModifier() throws ParseException
ParseException
public final void QuantifiedExpr() throws ParseException
ParseException
public final void TypeswitchExpr() throws ParseException
ParseException
public final void CaseClause() throws ParseException
ParseException
public final void IfExpr() throws ParseException
ParseException
public final void OperatorExpr() throws ParseException
ParseException
public final void OrExpr() throws ParseException
ParseException
public final void AndExpr() throws ParseException
ParseException
public final void ComparisonExpr() throws ParseException
ParseException
public final void RangeExpr() throws ParseException
ParseException
public final void AdditiveExpr() throws ParseException
ParseException
public final void MultiplicativeExpr() throws ParseException
ParseException
public final void UnionExpr() throws ParseException
ParseException
public final void IntersectExceptExpr() throws ParseException
ParseException
public final void InstanceofExpr() throws ParseException
ParseException
public final void TreatExpr() throws ParseException
ParseException
public final void CastableExpr() throws ParseException
ParseException
public final void CastExpr() throws ParseException
ParseException
public final void UnaryExpr() throws ParseException
ParseException
public final void ValueExpr() throws ParseException
ParseException
public final void GeneralComp() throws ParseException
ParseException
public final void ValueComp() throws ParseException
ParseException
public final void NodeComp() throws ParseException
ParseException
public final void ValidateExpr() throws ParseException
ParseException
public final void PathExpr() throws ParseException
ParseException
public final void RelativePathExpr() throws ParseException
ParseException
public final void StepExpr() throws ParseException
ParseException
public final void AxisStep() throws ParseException
ParseException
public final void ForwardStep() throws ParseException
ParseException
public final void ForwardAxis() throws ParseException
ParseException
public final void AbbrevForwardStep() throws ParseException
ParseException
public final void ReverseStep() throws ParseException
ParseException
public final void ReverseAxis() throws ParseException
ParseException
public final void AbbrevReverseStep() throws ParseException
ParseException
public final void NodeTest() throws ParseException
ParseException
public final void NameTest() throws ParseException
ParseException
public final void Wildcard() throws ParseException
ParseException
public final void FilterExpr() throws ParseException
ParseException
public final void PredicateList() throws ParseException
ParseException
public final void Predicate() throws ParseException
ParseException
public final void PrimaryExpr() throws ParseException
ParseException
public final void Literal() throws ParseException
ParseException
public final void NumericLiteral() throws ParseException
ParseException
public final void VarRef() throws ParseException
ParseException
public final void ParenthesizedExpr() throws ParseException
ParseException
public final void ContextItemExpr() throws ParseException
ParseException
public final void OrderedExpr() throws ParseException
ParseException
public final void UnorderedExpr() throws ParseException
ParseException
public final void FunctionCall() throws ParseException
ParseException
public final void Constructor() throws ParseException
ParseException
public final void DirectConstructor() throws ParseException
ParseException
public final void DirElemConstructor() throws ParseException
ParseException
public final void DirAttributeList() throws ParseException
ParseException
public final void DirAttributeValue() throws ParseException
ParseException
public final void QuotAttrValueContent() throws ParseException
ParseException
public final void AposAttrValueContent() throws ParseException
ParseException
public final void DirElemContent() throws ParseException
ParseException
public final void CommonContent() throws ParseException
ParseException
public final void DirCommentConstructor() throws ParseException
ParseException
public final void DirCommentContents() throws ParseException
ParseException
public final void DirPIConstructor() throws ParseException
ParseException
public final void DirPIContents() throws ParseException
ParseException
public final void CDataSection() throws ParseException
ParseException
public final void CDataSectionContents() throws ParseException
ParseException
public final void ComputedConstructor() throws ParseException
ParseException
public final void CompDocConstructor() throws ParseException
ParseException
public final void CompElemConstructor() throws ParseException
ParseException
public final void ContentExpr() throws ParseException
ParseException
public final void CompAttrConstructor() throws ParseException
ParseException
public final void CompTextConstructor() throws ParseException
ParseException
public final void CompCommentConstructor() throws ParseException
ParseException
public final void CompPIConstructor() throws ParseException
ParseException
public final void SingleType() throws ParseException
ParseException
public final void TypeDeclaration() throws ParseException
ParseException
public final void SequenceType() throws ParseException
ParseException
public final void OccurrenceIndicator() throws ParseException
ParseException
public final void ItemType() throws ParseException
ParseException
public final void AtomicType() throws ParseException
ParseException
public final void KindTest() throws ParseException
ParseException
public final void AnyKindTest() throws ParseException
ParseException
public final void DocumentTest() throws ParseException
ParseException
public final void TextTest() throws ParseException
ParseException
public final void CommentTest() throws ParseException
ParseException
public final void PITest() throws ParseException
ParseException
public final void AttributeTest() throws ParseException
ParseException
public final void AttribNameOrWildcard() throws ParseException
ParseException
public final void SchemaAttributeTest() throws ParseException
ParseException
public final void AttributeDeclaration() throws ParseException
ParseException
public final void ElementTest() throws ParseException
ParseException
public final void ElementNameOrWildcard() throws ParseException
ParseException
public final void SchemaElementTest() throws ParseException
ParseException
public final void ElementDeclaration() throws ParseException
ParseException
public final void AttributeName() throws ParseException
ParseException
public final void ElementName() throws ParseException
ParseException
public final void TypeName() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(XPathTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.