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

- Packages that use Position
  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.

- - ### Uses of Position in org.modeshape.common.text

    Fields in org.modeshape.common.text declared as Position
    Modifier and Type | Field and Description
    --- | ---
    `static Position` | Position.`EMPTY_CONTENT_POSITION` The position is used when there is no content.

    Methods in org.modeshape.common.text that return Position
    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.

    Methods in org.modeshape.common.text with parameters of type Position
    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).

    Constructors in org.modeshape.common.text with parameters of type Position
    Constructor and Description
    `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.jcr.query.parse

    Methods in org.modeshape.jcr.query.parse that return Position
    Modifier and Type | Method and Description
    --- | ---
    `Position` | JcrSqlQueryParser.JoinableSources.`getJoinCriteriaPosition()`
    `Position` | JcrSqlQueryParser.JoinableSources.`getPositionForSelector(String selector)`

    Methods in org.modeshape.jcr.query.parse with parameters of type Position
    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.

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

  - ### Uses of Position in org.modeshape.sequencer.ddl

    Methods in org.modeshape.sequencer.ddl that return Position
    Modifier and Type | Method and Description
    --- | ---
    `Position` | StandardDdlParser.`getCurrentMarkedPosition()`

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

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