Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.modeshape.common.text.Position

Packages that use Position
org.modeshape.common.text | A set of utilities for working with text.
org.modeshape.graph.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.jcr.query |
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.

Uses of Position in org.modeshape.common.text

Fields in org.modeshape.common.text declared as Position
`static Position` | `Position.EMPTY_CONTENT_POSITION` The position is used when there is no content.

Methods in org.modeshape.common.text that return Position
`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()` Get the position of this token, which includes the line number and column number of the first character in the token.
`Position` | `TokenStream.CharacterStream.position(int startIndex)` Get the position for the last character returned from `TokenStream.CharacterStream.next()`.
`Position` | `TokenStream.CharacterArrayStream.position(int startIndex)` Get the position for the last character returned from `TokenStream.CharacterStream.next()`.
`Position` | `TokenStream.previousPosition()` Get the position of the previous token.

Methods in org.modeshape.common.text with parameters of type Position
`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)` Create a single-character token at the supplied index in the character stream.
`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)` 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.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)` 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.CaseInsensitiveTokenFactory.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.
`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).

Constructors in org.modeshape.common.text with parameters of type Position
`ParsingException(Position position)`
`ParsingException(Position position, String message)`
`ParsingException(Position position, String message, Throwable cause)`
`TokenStream.CaseInsensitiveToken(int startIndex, int endIndex, int type, Position position)`
`TokenStream.CaseSensitiveToken(int startIndex, int endIndex, int type, Position position)`

Uses of Position in org.modeshape.graph.query.parse

Methods in org.modeshape.graph.query.parse with parameters of type Position
`protected FullTextSearch.Term` | `SqlQueryParser.parseFullTextSearchExpression(String expression, Position startOfExpression)`
`protected String` | `SqlQueryParser.parseName(String token, TypeSystem typeSystem, Position position)`
`protected String` | `SqlQueryParser.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` | `SqlQueryParser.removeBracketsAndQuotes(String text, Position position)` Remove all leading and trailing single-quotes, double-quotes, or square brackets from the supplied text.

Uses of Position in org.modeshape.jcr.query

Methods in org.modeshape.jcr.query that return Position
`Position` | `JcrSqlQueryParser.JoinableSources.getJoinCriteriaPosition()`
`Position` | `JcrSqlQueryParser.JoinableSources.getPositionForSelector(String selector)`

Methods in org.modeshape.jcr.query with parameters of type Position
`void` | `JcrSqlQueryParser.JoinableSources.add(SameNodeJoinCondition joinCondition, Position position)`
`void` | `JcrSqlQueryParser.JoinableSources.add(Selector selector, Position position)`
`protected String` | `JcrSqlQueryParser.removeBracketsAndQuotes(String text, Position position)` Remove any leading and trailing single-quotes.

Constructors in org.modeshape.jcr.query with parameters of type Position
`JcrSqlQueryParser.JoinableSources(Selector firstSelector, Position position)`

Uses of Position in org.modeshape.sequencer.ddl

Methods in org.modeshape.sequencer.ddl that return Position
`Position` | `StandardDdlParser.getCurrentMarkedPosition()`

Constructors in org.modeshape.sequencer.ddl with parameters of type Position
`DdlParserProblem(int level, Position position, String message)`
`DdlParserProblem(int level, Position position, String message, Throwable cause)`
`DdlParserProblem(Position position)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.