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.sequencer.ddl   
 

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.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.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.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)
           
 

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)
           
 



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