Class XPathTokenManager
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.query.xpath.XPathTokenManager
-
- All Implemented Interfaces:
XPathConstants
public class XPathTokenManager extends Object implements XPathConstants
-
-
Field Summary
Fields Modifier and Type Field Description protected charcurCharPrintStreamdebugStreamprotected SimpleCharStreaminput_streamstatic int[]jjnewLexStatestatic String[]jjstrLiteralImagesstatic String[]lexStateNames-
Fields inherited from interface org.apache.jackrabbit.spi.commons.query.xpath.XPathConstants
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 Summary
Constructors Constructor Description XPathTokenManager(SimpleCharStream stream)XPathTokenManager(SimpleCharStream stream, int lexState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TokengetNextToken()protected TokenjjFillToken()voidprintLinePos()Print the current line position.voidReInit(SimpleCharStream stream)voidReInit(SimpleCharStream stream, int lexState)voidsetDebugStream(PrintStream ds)voidSwitchTo(int lexState)
-
-
-
Field Detail
-
debugStream
public PrintStream debugStream
-
jjstrLiteralImages
public static final String[] jjstrLiteralImages
-
lexStateNames
public static final String[] lexStateNames
-
jjnewLexState
public static final int[] jjnewLexState
-
input_stream
protected SimpleCharStream input_stream
-
curChar
protected char curChar
-
-
Constructor Detail
-
XPathTokenManager
public XPathTokenManager(SimpleCharStream stream)
-
XPathTokenManager
public XPathTokenManager(SimpleCharStream stream, int lexState)
-
-
Method Detail
-
printLinePos
public void printLinePos()
Print the current line position.
-
setDebugStream
public void setDebugStream(PrintStream ds)
-
ReInit
public void ReInit(SimpleCharStream stream)
-
ReInit
public void ReInit(SimpleCharStream stream, int lexState)
-
SwitchTo
public void SwitchTo(int lexState)
-
jjFillToken
protected Token jjFillToken()
-
getNextToken
public Token getNextToken()
-
-