XMLQueryConstants
public class XMLQuery extends Object implements XMLQueryConstants
Modifier and Type | Field | Description |
---|---|---|
Token |
jj_nt |
Next token.
|
Token |
token |
Current token.
|
XMLQueryTokenManager |
token_source |
Generated Token Manager.
|
Amp, APOS_ATTRIBUTE_CONTENT, AposAttrContentChar, Ascending, AttrLTCharError, BaseChar, CDATA_SECTION, CDataSectionChar, CdataSectionEnd, CdataSectionStart, CdataSectionStartForElementContent, Char, CharRef, CloseApos, CLOSEKINDTEST, CloseQuot, CombiningChar, Comment, CommentContent, CommentContentChar, CommentContentCharDash, CommentContents, CommentEnd, CommentStart, DecimalLiteral, DECLAREORDERING, DEFAULT, Descending, Digit, Digits, DoubleLiteral, DUMMYLABEL, ELEMENT_CONTENT, ElementContentChar, EmptyTagClose, END_TAG, EndTagClose, EndTagOpen, EndTagQName, EOF, EscapeApos, EscapeQuot, EXPR_COMMENT, Extender, ExtensionContentChar, External, FTMATCHOPTION, FTPOSFILTER, Greatest, HexDigits, Ideographic, IntegerLiteral, ITEMTYPE, KINDTEST, Lbrace, LbraceExprEnclosure, LCurlyBraceEscape, Least, LessThanOpOrTagO, Letter, LocalPart, Minus, NAMESPACEDECL, NAMESPACEKEYWORD, NCNameColonStar, NCNameTok, Nmchar, Nmstart, NotNumber, OCCURRENCEINDICATOR, OpenApos, OpenQuot, OPERAND, OPERATOR, OPTION, PIContentChar, PITarget, PITargetError, Plus, PRAGMA, PragmaClose, PRAGMACONTENTS, PRAGMACONTENTSSPACEDIVIDER, PragmaOpen, PredefinedEntityRef, Prefix, PROCESSING_INSTRUCTION, PROCESSING_INSTRUCTION_CONTENT, ProcessingInstructionEnd, ProcessingInstructionStart, ProcessingInstructionStartForElementContent, PROLOG, PROLOG_NCNAME, PROLOG_SPECIAL, QNameForPragma, QNameToken, QUOT_ATTRIBUTE_CONTENT, QuotAttrContentChar, Rbrace, RbraceErrorInContent, RCurlyBraceEscape, S, SForPI, SForPragma, SINGLETYPE, skip_, Slash, SlashSlash, StarColonNCName, START_TAG, StartTagClose, StartTagOpen, StringLiteral, TagQName, tokenImage, URITOOPERATOR, ValueIndicator, VARNAME, WhitespaceChar, XML_COMMENT, XMLCommentDoubleDashError, XmlCommentEnd, XmlCommentStart, XmlCommentStartForElementContent, XQUERYVERSION
Constructor | Description |
---|---|
XMLQuery(InputStream stream) |
Constructor with InputStream.
|
XMLQuery(InputStream stream,
String encoding) |
Constructor with InputStream and supplied encoding
|
XMLQuery(Reader stream) |
Constructor.
|
XMLQuery(XMLQueryTokenManager tm) |
Constructor with generated Token Manager.
|
public XMLQueryTokenManager token_source
public Token token
public Token jj_nt
public XMLQuery(InputStream stream)
public XMLQuery(InputStream stream, String encoding)
public XMLQuery(Reader stream)
public XMLQuery(XMLQueryTokenManager tm)
public void setSourceName(String sourceName)
public List<SystemException> getExceptions()
public final ModuleNode CUnit() throws ParseException
ParseException
public final ModuleNode Module() throws ParseException
ParseException
public final VersionDeclNode VersionDecl() throws ParseException
ParseException
public final ModuleNode MainModule(VersionDeclNode verDecl) throws ParseException
ParseException
public final ModuleNode LibraryModule(VersionDeclNode verDecl) throws ParseException
ParseException
public final ModuleDeclNode ModuleDecl() throws ParseException
ParseException
public final PrologNode Prolog() throws ParseException
ParseException
public final ASTNode Setter() throws ParseException
ParseException
public final ASTNode Import() throws ParseException
ParseException
public final void Separator() throws ParseException
ParseException
public final ASTNode NamespaceDecl() throws ParseException
ParseException
public final ASTNode BoundarySpaceDecl() throws ParseException
ParseException
public final ASTNode DefaultNamespaceDecl() throws ParseException
ParseException
public final ASTNode OptionDecl() throws ParseException
ParseException
public final void FTOptionDecl() throws ParseException
ParseException
public final ASTNode OrderingModeDecl() throws ParseException
ParseException
public final ASTNode EmptyOrderDecl() throws ParseException
ParseException
public final ASTNode CopyNamespacesDecl() throws ParseException
ParseException
public final boolean PreserveMode() throws ParseException
ParseException
public final boolean InheritMode() throws ParseException
ParseException
public final ASTNode DefaultCollationDecl() throws ParseException
ParseException
public final ASTNode BaseURIDecl() throws ParseException
ParseException
public final ASTNode SchemaImport() throws ParseException
ParseException
public final String[] SchemaPrefix() throws ParseException
ParseException
public final ASTNode ModuleImport() throws ParseException
ParseException
public final ASTNode VarDecl() throws ParseException
ParseException
public final ASTNode ConstructionDecl() throws ParseException
ParseException
public final ASTNode FunctionDecl() throws ParseException
ParseException
public final void ParamList(List<ParamNode> params) throws ParseException
ParseException
public final ParamNode Param() throws ParseException
ParseException
public final ASTNode EnclosedExpr() throws ParseException
ParseException
public final QueryBodyNode QueryBody() throws ParseException
ParseException
public final ExprNode Expr() throws ParseException
ParseException
public final ASTNode ExprSingle() throws ParseException
ParseException
public final ASTNode FLWORExpr() throws ParseException
ParseException
public final void ForClause(List<FLWORClauseNode> clauses) throws ParseException
ParseException
public final QNameNode PositionalVar() throws ParseException
ParseException
public final QNameNode FTScoreVar() throws ParseException
ParseException
public final void LetClause(List<FLWORClauseNode> clauses) throws ParseException
ParseException
public final void WhereClause(List<FLWORClauseNode> clauses) throws ParseException
ParseException
public final void OrderByClause(List<FLWORClauseNode> clauses) throws ParseException
ParseException
public final List<OrderSpecNode> OrderSpecList() throws ParseException
ParseException
public final OrderSpecNode OrderSpec() throws ParseException
ParseException
public final void OrderModifier(OrderSpecNode os) throws ParseException
ParseException
public final QuantifiedExprNode QuantifiedExpr() throws ParseException
ParseException
public final ASTNode TypeswitchExpr() throws ParseException
ParseException
public final void CaseClause(List<CaseClauseNode> cases) throws ParseException
ParseException
public final ASTNode IfExpr() throws ParseException
ParseException
public final ASTNode OrExpr() throws ParseException
ParseException
public final ASTNode AndExpr() throws ParseException
ParseException
public final ASTNode ComparisonExpr() throws ParseException
ParseException
public final ASTNode FTContainsExpr() throws ParseException
ParseException
public final ASTNode RangeExpr() throws ParseException
ParseException
public final ASTNode AdditiveExpr() throws ParseException
ParseException
public final ASTNode MultiplicativeExpr() throws ParseException
ParseException
public final ASTNode UnionExpr() throws ParseException
ParseException
public final ASTNode IntersectExceptExpr() throws ParseException
ParseException
public final ASTNode InstanceofExpr() throws ParseException
ParseException
public final ASTNode TreatExpr() throws ParseException
ParseException
public final ASTNode CastableExpr() throws ParseException
ParseException
public final ASTNode CastExpr() throws ParseException
ParseException
public final ASTNode UnaryExpr() throws ParseException
ParseException
public final ASTNode ValueExpr() throws ParseException
ParseException
public final org.apache.commons.lang3.tuple.Pair<Token,InfixExprNode.InfixOperator> GeneralComp() throws ParseException
ParseException
public final org.apache.commons.lang3.tuple.Pair<Token,InfixExprNode.InfixOperator> ValueComp() throws ParseException
ParseException
public final org.apache.commons.lang3.tuple.Pair<Token,InfixExprNode.InfixOperator> NodeComp() throws ParseException
ParseException
public final ASTNode ValidateExpr() throws ParseException
ParseException
public final XQueryConstants.ValidationMode ValidationMode() throws ParseException
ParseException
public final ASTNode ExtensionExpr() throws ParseException
ParseException
public final PragmaNode Pragma() throws ParseException
ParseException
public final String PragmaContents() throws ParseException
ParseException
public final ASTNode PathExpr() throws ParseException
ParseException
public final List<RelativePathExprNode> RelativePathExpr() throws ParseException
ParseException
public final ASTNode StepExpr() throws ParseException
ParseException
public final ASTNode AxisStep() throws ParseException
ParseException
public final AxisStepNode ForwardStep() throws ParseException
ParseException
public final org.apache.commons.lang3.tuple.Pair<Token,AxisStepNode.Axis> ForwardAxis() throws ParseException
ParseException
public final AxisStepNode AbbrevForwardStep() throws ParseException
ParseException
public final AxisStepNode ReverseStep() throws ParseException
ParseException
public final org.apache.commons.lang3.tuple.Pair<Token,AxisStepNode.Axis> ReverseAxis() throws ParseException
ParseException
public final AxisStepNode AbbrevReverseStep() throws ParseException
ParseException
public final ASTNode NodeTest() throws ParseException
ParseException
public final NameTestNode NameTest() throws ParseException
ParseException
public final NameTestNode Wildcard() throws ParseException
ParseException
public final ASTNode FilterExpr() throws ParseException
ParseException
public final List<ASTNode> PredicateList() throws ParseException
ParseException
public final ASTNode Predicate() throws ParseException
ParseException
public final ASTNode PrimaryExpr() throws ParseException
ParseException
public final ASTNode Literal() throws ParseException
ParseException
public final ASTNode NumericLiteral() throws ParseException
ParseException
public final ASTNode VarRef() throws ParseException
ParseException
public final QNameNode VarName() throws ParseException
ParseException
public final ASTNode ParenthesizedExpr() throws ParseException
ParseException
public final ASTNode ContextItemExpr() throws ParseException
ParseException
public final ASTNode OrderedExpr() throws ParseException
ParseException
public final ASTNode UnorderedExpr() throws ParseException
ParseException
public final ASTNode FunctionCall() throws ParseException
ParseException
public final ASTNode Constructor() throws ParseException
ParseException
public final ASTNode DirectConstructor() throws ParseException
ParseException
public final ASTNode DirElemConstructor() throws ParseException
ParseException
public final List<DirectAttributeConstructorNode> DirAttributeList() throws ParseException
ParseException
public final List<ASTNode> DirAttributeValue() throws ParseException
ParseException
public final ASTNode DirCommentConstructor() throws ParseException
ParseException
public final String DirCommentContents() throws ParseException
ParseException
public final ASTNode DirPIConstructor() throws ParseException
ParseException
public final String DirPIContents() throws ParseException
ParseException
public final ASTNode CDataSection() throws ParseException
ParseException
public final String CDataSectionContents() throws ParseException
ParseException
public final ASTNode ComputedConstructor() throws ParseException
ParseException
public final ASTNode CompDocConstructor() throws ParseException
ParseException
public final ASTNode CompElemConstructor() throws ParseException
ParseException
public final ASTNode ContentExpr() throws ParseException
ParseException
public final ASTNode CompAttrConstructor() throws ParseException
ParseException
public final ASTNode CompTextConstructor() throws ParseException
ParseException
public final ASTNode CompCommentConstructor() throws ParseException
ParseException
public final ASTNode CompPIConstructor() throws ParseException
ParseException
public final SingleTypeNode SingleType() throws ParseException
ParseException
public final TypeDeclNode TypeDeclaration() throws ParseException
ParseException
public final SequenceTypeNode SequenceType() throws ParseException
ParseException
public final XQueryConstants.TypeQuantifier OccurrenceIndicator() throws ParseException
ParseException
public final ASTNode ItemType() throws ParseException
ParseException
public final AtomicTypeNode AtomicType() throws ParseException
ParseException
public final ASTNode KindTest() throws ParseException
ParseException
public final ASTNode AnyKindTest() throws ParseException
ParseException
public final DocumentTestNode DocumentTest() throws ParseException
ParseException
public final TextTestNode TextTest() throws ParseException
ParseException
public final CommentTestNode CommentTest() throws ParseException
ParseException
public final PITestNode PITest() throws ParseException
ParseException
public final AttributeTestNode AttributeTest() throws ParseException
ParseException
public final NameTestNode AttribNameOrWildcard() throws ParseException
ParseException
public final SchemaAttributeTestNode SchemaAttributeTest() throws ParseException
ParseException
public final QNameNode AttributeDeclaration() throws ParseException
ParseException
public final ElementTestNode ElementTest() throws ParseException
ParseException
public final NameTestNode ElementNameOrWildcard() throws ParseException
ParseException
public final SchemaElementTestNode SchemaElementTest() throws ParseException
ParseException
public final QNameNode ElementDeclaration() throws ParseException
ParseException
public final QNameNode AttributeName() throws ParseException
ParseException
public final QNameNode ElementName() throws ParseException
ParseException
public final QNameNode TypeName() throws ParseException
ParseException
public final String URILiteral() throws ParseException
ParseException
public final void FTSelection() throws ParseException
ParseException
public final void FTOrExpr() throws ParseException
ParseException
public final void FTOr() throws ParseException
ParseException
public final void FTAnd() throws ParseException
ParseException
public final void FTMildNot() throws ParseException
ParseException
public final void FTUnaryNot() throws ParseException
ParseException
public final void FTPrimaryWithOptions() throws ParseException
ParseException
public final void FTPrimary() throws ParseException
ParseException
public final void FTWords() throws ParseException
ParseException
public final void FTWordsValue() throws ParseException
ParseException
public final void FTExtensionSelection() throws ParseException
ParseException
public final void FTAnyallOption() throws ParseException
ParseException
public final void FTTimes() throws ParseException
ParseException
public final void FTRange() throws ParseException
ParseException
public final void FTPosFilter() throws ParseException
ParseException
public final void FTOrder() throws ParseException
ParseException
public final void FTWindow() throws ParseException
ParseException
public final void FTDistance() throws ParseException
ParseException
public final void FTUnit() throws ParseException
ParseException
public final void FTScope() throws ParseException
ParseException
public final void FTBigUnit() throws ParseException
ParseException
public final void FTContent() throws ParseException
ParseException
public final void FTMatchOptions() throws ParseException
ParseException
public final void FTMatchOption() throws ParseException
ParseException
public final void FTCaseOption() throws ParseException
ParseException
public final void FTDiacriticsOption() throws ParseException
ParseException
public final void FTStemOption() throws ParseException
ParseException
public final void FTThesaurusOption() throws ParseException
ParseException
public final void FTThesaurusID() throws ParseException
ParseException
public final void FTStopwordOption() throws ParseException
ParseException
public final void FTRefOrList() throws ParseException
ParseException
public final void FTInclExclStringLiteral() throws ParseException
ParseException
public final void FTLanguageOption() throws ParseException
ParseException
public final void FTWildCardOption() throws ParseException
ParseException
public final void FTExtensionOption() throws ParseException
ParseException
public final void FTIgnoreOption() throws ParseException
ParseException
public final NCNameNode NCName() throws ParseException
ParseException
public final QNameNode QName() throws ParseException
ParseException
public final QNameNode FunctionQName() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(XMLQueryTokenManager 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 © 2019 Apache Software Foundation. All rights reserved.