Package | Description |
---|---|
org.modeshape.common.text |
A set of utilities for working with text.
|
org.modeshape.jcr.query.parse |
This package defines the
QueryParser interface, which defines a component that can parse a query represented
in a specific language and produce the corresponding abstract query model representation. |
org.modeshape.sequencer.ddl |
The classes that make up the DDL sequencer, which is capable of parsing the more important DDL statements
from SQL-92, Oracle, Derby, and PostgreSQL, and constructing a graph structure containing a structured
representation of these statements.
|
Modifier and Type | Field and Description |
---|---|
static Position |
Position.EMPTY_CONTENT_POSITION
The position is used when there is no content.
|
Modifier and Type | Method and Description |
---|---|
Position |
Position.add(Position position)
Return a new position that is the addition of this position and that supplied.
|
Position |
ParsingException.getPosition() |
Position |
TokenStream.nextPosition()
Get the position of the next (or current) token.
|
Position |
TokenStream.Token.position()
Get the position of this token, which includes the line number and column number of the first character in the token.
|
Position |
TokenStream.CaseSensitiveToken.position() |
Position |
TokenStream.CharacterStream.position(int startIndex)
Get the position for the last character returned from
TokenStream.CharacterStream.next() . |
Position |
TokenStream.CharacterArrayStream.position(int startIndex) |
Position |
TokenStream.previousPosition()
Get the position of the previous token.
|
Modifier and Type | Method and Description |
---|---|
Position |
Position.add(Position position)
Return a new position that is the addition of this position and that supplied.
|
void |
TokenStream.Tokens.addToken(Position position,
int index)
Create a single-character token at the supplied index in the character stream.
|
void |
TokenStream.TokenFactory.addToken(Position position,
int index) |
void |
TokenStream.Tokens.addToken(Position position,
int startIndex,
int endIndex)
Create a single- or multi-character token with the characters in the range given by the starting and ending index in
the character stream.
|
void |
TokenStream.TokenFactory.addToken(Position position,
int startIndex,
int endIndex) |
void |
TokenStream.Tokens.addToken(Position position,
int startIndex,
int endIndex,
int type)
Create a single- or multi-character token with the supplied type and with the characters in the range given by the
starting and ending index in the character stream.
|
void |
TokenStream.CaseSensitiveTokenFactory.addToken(Position position,
int startIndex,
int endIndex,
int type) |
void |
TokenStream.CaseInsensitiveTokenFactory.addToken(Position position,
int startIndex,
int endIndex,
int type) |
String |
TokenStream.getContentBetween(Position starting,
Position end)
Gets the content string starting at the first position (inclusive) and continuing up to the end position (exclusive).
|
Constructor and Description |
---|
CaseInsensitiveToken(int startIndex,
int endIndex,
int type,
Position position) |
CaseSensitiveToken(int startIndex,
int endIndex,
int type,
Position position) |
ParsingException(Position position) |
ParsingException(Position position,
String message) |
ParsingException(Position position,
String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Position |
JcrSqlQueryParser.JoinableSources.getJoinCriteriaPosition() |
Position |
JcrSqlQueryParser.JoinableSources.getPositionForSelector(String selector) |
Modifier and Type | Method and Description |
---|---|
void |
JcrSqlQueryParser.JoinableSources.add(SameNodeJoinCondition joinCondition,
Position position) |
void |
JcrSqlQueryParser.JoinableSources.add(Selector selector,
Position position) |
protected FullTextSearch.Term |
BasicSqlQueryParser.parseFullTextSearchExpression(String expression,
Position startOfExpression) |
protected String |
BasicSqlQueryParser.parseName(String token,
TypeSystem typeSystem,
Position position) |
protected String |
BasicSqlQueryParser.removeBracketsAndQuotes(String text,
boolean recursive,
Position position)
Remove any leading and trailing single-quotes, double-quotes, or square brackets from the supplied text.
|
protected String |
JcrSqlQueryParser.removeBracketsAndQuotes(String text,
Position position) |
protected String |
BasicSqlQueryParser.removeBracketsAndQuotes(String text,
Position position)
Remove all leading and trailing single-quotes, double-quotes, or square brackets from the supplied text.
|
Constructor and Description |
---|
JoinableSources(Selector firstSelector,
Position position) |
Modifier and Type | Method and Description |
---|---|
Position |
StandardDdlParser.getCurrentMarkedPosition() |
Constructor and Description |
---|
DdlParserProblem(int level,
Position position,
String message) |
DdlParserProblem(int level,
Position position,
String message,
Throwable cause) |
DdlParserProblem(Position position) |
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.