A B C D E F G H I J K L M N O P R S T U V W

A

addEscapes(String) - Static method in error org.jomc.util.TokenMgrError
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
adjustBeginLineColumn(int, int) - Method in class org.jomc.util.SimpleCharStream
Method to adjust line and column numbers for the start of a token.

B

backup(int) - Method in class org.jomc.util.SimpleCharStream
Backup a number of characters.
beginColumn - Variable in class org.jomc.util.Token
The column number of the first character of this Token.
beginLine - Variable in class org.jomc.util.Token
The line number of the first character of this Token.
BeginToken() - Method in class org.jomc.util.SimpleCharStream
Start.
bufcolumn - Variable in class org.jomc.util.SimpleCharStream
 
buffer - Variable in class org.jomc.util.SimpleCharStream
 
bufline - Variable in class org.jomc.util.SimpleCharStream
 
bufpos - Variable in class org.jomc.util.SimpleCharStream
Position in buffer.

C

clear() - Method in class org.jomc.util.WeakIdentityHashMap
Removes all of the mappings from this map so that the map will be empty after this call returns.
column - Variable in class org.jomc.util.SimpleCharStream
 
compare(String, String) - Static method in class org.jomc.util.VersionParser
Compares two versions for order.
containsKey(Object) - Method in class org.jomc.util.WeakIdentityHashMap
Gets a flag indicating if this map contains a mapping for a given key.
containsValue(Object) - Method in class org.jomc.util.WeakIdentityHashMap
Gets a flag indicating if this map maps one or more keys to the specified value.
curChar - Variable in class org.jomc.util.VersionParserTokenManager
 
currentToken - Variable in exception org.jomc.util.ParseException
This is the last token that has been consumed successfully.

D

debugStream - Variable in class org.jomc.util.VersionParserTokenManager
Debug output.
DEFAULT - Static variable in interface org.jomc.util.VersionParserConstants
Lexical state.
disable_tracing() - Method in class org.jomc.util.VersionParser
Disable tracing.
Done() - Method in class org.jomc.util.SimpleCharStream
Reset buffer when finished.

E

edit(String) - Method in class org.jomc.util.LineEditor
Edits text.
editLine(String) - Method in class org.jomc.util.LineEditor
Edits a line.
editLine(String) - Method in class org.jomc.util.SectionEditor
 
editLine(String) - Method in class org.jomc.util.TrailingWhitespaceEditor
Edits a line.
editSection(Section) - Method in class org.jomc.util.SectionEditor
Edits a section.
enable_tracing() - Method in class org.jomc.util.VersionParser
Enable tracing.
endColumn - Variable in class org.jomc.util.Token
The column number of the last character of this Token.
endLine - Variable in class org.jomc.util.Token
The line number of the last character of this Token.
entrySet() - Method in class org.jomc.util.WeakIdentityHashMap
Gets a Set view of the mappings contained in this map.
EOF - Static variable in interface org.jomc.util.VersionParserConstants
End of File.
eol - Variable in exception org.jomc.util.ParseException
The end of line string for this machine.
equals(Object) - Method in class org.jomc.util.WeakIdentityHashMap
Compares the specified object with this map for equality.
ExpandBuff(boolean) - Method in class org.jomc.util.SimpleCharStream
 
expectedTokenSequences - Variable in exception org.jomc.util.ParseException
Each entry in this array is an array of integers.

F

FillBuff() - Method in class org.jomc.util.SimpleCharStream
 
finalize() - Method in class org.jomc.util.WeakIdentityHashMap
Finalizes the object by polling the internal reference queue for any pending references.

G

generateParseException() - Method in class org.jomc.util.VersionParser
Generate ParseException.
get(Object) - Method in class org.jomc.util.WeakIdentityHashMap
Gets the value to which a given key is mapped or null, if this map contains no mapping for that key.
getBeginColumn() - Method in class org.jomc.util.SimpleCharStream
Get token beginning column number.
getBeginLine() - Method in class org.jomc.util.SimpleCharStream
Get token beginning line number.
getColumn() - Method in class org.jomc.util.SimpleCharStream
Deprecated.  
getEndColumn() - Method in class org.jomc.util.SimpleCharStream
Get token end column number.
getEndingLine() - Method in class org.jomc.util.Section
Gets the line marking the end of this section.
getEndLine() - Method in class org.jomc.util.SimpleCharStream
Get token end line number.
getHeadContent() - Method in class org.jomc.util.Section
Gets the content of this section preceding any child section content.
GetImage() - Method in class org.jomc.util.SimpleCharStream
Get token literal value.
getLine() - Method in class org.jomc.util.SimpleCharStream
Deprecated.  
getLineNumber() - Method in class org.jomc.util.LineEditor
Gets the current line number.
getLineSeparator() - Method in class org.jomc.util.LineEditor
Gets the line separator of the editor.
getMessage() - Method in error org.jomc.util.TokenMgrError
You can also modify the body of this method to customize your error messages.
getName() - Method in class org.jomc.util.Section
Gets the name of this section.
getNextToken() - Method in class org.jomc.util.VersionParser
Get the next Token.
getNextToken() - Method in class org.jomc.util.VersionParserTokenManager
Get the next Token.
getOutput(Section) - Method in class org.jomc.util.SectionEditor
Gets the output of the editor.
getSection(String) - Method in class org.jomc.util.Section
Gets a child section matching a given name.
getSection(String) - Method in class org.jomc.util.SectionEditor
Parses the given line to mark the start of a new section.
getSections() - Method in class org.jomc.util.Section
Gets the child sections of this section.
getStartingLine() - Method in class org.jomc.util.Section
Gets the line marking the start of this section.
GetSuffix(int) - Method in class org.jomc.util.SimpleCharStream
Get the suffix.
getTabSize(int) - Method in class org.jomc.util.SimpleCharStream
 
getTailContent() - Method in class org.jomc.util.Section
Gets the content of this section succeeding any child section content.
getToken(int) - Method in class org.jomc.util.VersionParser
Get the specific Token.
getValue() - Method in class org.jomc.util.Token
An optional attribute value of the Token.

H

hashCode() - Method in class org.jomc.util.WeakIdentityHashMap
Gets the hash code value for this map.

I

IDENTIFIER - Static variable in interface org.jomc.util.VersionParserConstants
RegularExpression Id.
image - Variable in class org.jomc.util.Token
The string image of the token.
inBuf - Variable in class org.jomc.util.SimpleCharStream
 
input_stream - Variable in class org.jomc.util.VersionParserTokenManager
 
inputStream - Variable in class org.jomc.util.SimpleCharStream
 
INTEGER - Static variable in interface org.jomc.util.VersionParserConstants
RegularExpression Id.
isEmpty() - Method in class org.jomc.util.WeakIdentityHashMap
Gets a flag indicating if this map is empty.
isSectionFinished(String) - Method in class org.jomc.util.SectionEditor
Parses the given line to mark the end of a section.
isSectionPresent(String) - Method in class org.jomc.util.SectionEditor
Gets a flag indicating that the input of the editor contained a named section.

J

jj_nt - Variable in class org.jomc.util.VersionParser
Next token.
jjFillToken() - Method in class org.jomc.util.VersionParserTokenManager
 
jjstrLiteralImages - Static variable in class org.jomc.util.VersionParserTokenManager
Token literal values.

K

keySet() - Method in class org.jomc.util.WeakIdentityHashMap
Gets a Set view of the keys contained in this map.
kind - Variable in class org.jomc.util.Token
An integer that describes the kind of this token.

L

LexicalError(boolean, int, int, int, String, char) - Static method in error org.jomc.util.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
lexStateNames - Static variable in class org.jomc.util.VersionParserTokenManager
Lexer state names.
line - Variable in class org.jomc.util.SimpleCharStream
 
LineEditor - Class in org.jomc.util
Interface to line based editing.
LineEditor() - Constructor for class org.jomc.util.LineEditor
Creates a new LineEditor instance.
LineEditor(String) - Constructor for class org.jomc.util.LineEditor
Creates a new LineEditor instance taking a string to use for separating lines.
LineEditor(LineEditor) - Constructor for class org.jomc.util.LineEditor
Creates a new LineEditor instance taking an editor to chain.
LineEditor(LineEditor, String) - Constructor for class org.jomc.util.LineEditor
Creates a new LineEditor instance taking an editor to chain and a string to use for separating lines.

M

maxNextCharInd - Variable in class org.jomc.util.SimpleCharStream
 

N

newToken(int, String) - Static method in class org.jomc.util.Token
Returns a new Token object, by default.
newToken(int) - Static method in class org.jomc.util.Token
 
next - Variable in class org.jomc.util.Token
A reference to the next regular (non-special) token from the input stream.

O

org.jomc.util - package org.jomc.util
Object management and configuration utility classes.

P

parse() - Method in class org.jomc.util.VersionParser
Parses the input to produce an array of tokens.
ParseException - Exception in org.jomc.util
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception org.jomc.util.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception org.jomc.util.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception org.jomc.util.ParseException
Constructor with message.
prevCharIsCR - Variable in class org.jomc.util.SimpleCharStream
 
prevCharIsLF - Variable in class org.jomc.util.SimpleCharStream
 
put(K, V) - Method in class org.jomc.util.WeakIdentityHashMap
Associates a given value with a given key in this map.
putAll(Map<? extends K, ? extends V>) - Method in class org.jomc.util.WeakIdentityHashMap
Copies all of the mappings from a given map to this map.

R

readChar() - Method in class org.jomc.util.SimpleCharStream
Read a character.
ReInit(Reader, int, int, int) - Method in class org.jomc.util.SimpleCharStream
Reinitialise.
ReInit(Reader, int, int) - Method in class org.jomc.util.SimpleCharStream
Reinitialise.
ReInit(Reader) - Method in class org.jomc.util.SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int, int) - Method in class org.jomc.util.SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int, int) - Method in class org.jomc.util.SimpleCharStream
Reinitialise.
ReInit(InputStream, String) - Method in class org.jomc.util.SimpleCharStream
Reinitialise.
ReInit(InputStream) - Method in class org.jomc.util.SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int) - Method in class org.jomc.util.SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int) - Method in class org.jomc.util.SimpleCharStream
Reinitialise.
ReInit(InputStream) - Method in class org.jomc.util.VersionParser
Reinitialise.
ReInit(InputStream, String) - Method in class org.jomc.util.VersionParser
Reinitialise.
ReInit(Reader) - Method in class org.jomc.util.VersionParser
Reinitialise.
ReInit(VersionParserTokenManager) - Method in class org.jomc.util.VersionParser
Reinitialise.
ReInit(SimpleCharStream) - Method in class org.jomc.util.VersionParserTokenManager
Reinitialise parser.
ReInit(SimpleCharStream, int) - Method in class org.jomc.util.VersionParserTokenManager
Reinitialise parser.
remove(Object) - Method in class org.jomc.util.WeakIdentityHashMap
Removes the mapping for a given key from this map if it is present.

S

Section - Class in org.jomc.util
Section of text.
Section() - Constructor for class org.jomc.util.Section
Creates a new Section instance.
SectionEditor - Class in org.jomc.util
Interface to section based editing.
SectionEditor() - Constructor for class org.jomc.util.SectionEditor
Creates a new SectionEditor instance.
SectionEditor(String) - Constructor for class org.jomc.util.SectionEditor
Creates a new SectionEditor instance taking a string to use for separating lines.
SectionEditor(LineEditor) - Constructor for class org.jomc.util.SectionEditor
Creates a new SectionEditor instance taking an editor to chain.
SectionEditor(LineEditor, String) - Constructor for class org.jomc.util.SectionEditor
Creates a new SectionEditor instance taking an editor to chain and a string to use for separating lines.
SEPARATOR - Static variable in interface org.jomc.util.VersionParserConstants
RegularExpression Id.
setDebugStream(PrintStream) - Method in class org.jomc.util.VersionParserTokenManager
Set debug output.
setEndingLine(String) - Method in class org.jomc.util.Section
Sets the line marking the end of this section.
setName(String) - Method in class org.jomc.util.Section
Sets the name of this section.
setStartingLine(String) - Method in class org.jomc.util.Section
Sets the line marking the start of this section.
setTabSize(int) - Method in class org.jomc.util.SimpleCharStream
 
SimpleCharStream - Class in org.jomc.util
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
SimpleCharStream(Reader, int, int, int) - Constructor for class org.jomc.util.SimpleCharStream
Constructor.
SimpleCharStream(Reader, int, int) - Constructor for class org.jomc.util.SimpleCharStream
Constructor.
SimpleCharStream(Reader) - Constructor for class org.jomc.util.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int, int) - Constructor for class org.jomc.util.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int, int) - Constructor for class org.jomc.util.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int) - Constructor for class org.jomc.util.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int) - Constructor for class org.jomc.util.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String) - Constructor for class org.jomc.util.SimpleCharStream
Constructor.
SimpleCharStream(InputStream) - Constructor for class org.jomc.util.SimpleCharStream
Constructor.
size() - Method in class org.jomc.util.WeakIdentityHashMap
Gets the number of key-value mappings in this map.
specialToken - Variable in class org.jomc.util.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
staticFlag - Static variable in class org.jomc.util.SimpleCharStream
Whether parser is static.
SwitchTo(int) - Method in class org.jomc.util.VersionParserTokenManager
Switch to specified lex state.

T

tabSize - Variable in class org.jomc.util.SimpleCharStream
 
Token - Class in org.jomc.util
Describes the input token stream.
Token() - Constructor for class org.jomc.util.Token
No-argument constructor
Token(int) - Constructor for class org.jomc.util.Token
Constructs a new token for the specified Image.
Token(int, String) - Constructor for class org.jomc.util.Token
Constructs a new token for the specified Image and Kind.
token - Variable in class org.jomc.util.VersionParser
Current token.
token_source - Variable in class org.jomc.util.VersionParser
Generated Token Manager.
tokenImage - Variable in exception org.jomc.util.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
tokenImage - Static variable in interface org.jomc.util.VersionParserConstants
Literal token values.
TokenMgrError - Error in org.jomc.util
Token Manager Error.
TokenMgrError() - Constructor for error org.jomc.util.TokenMgrError
No arg constructor.
TokenMgrError(String, int) - Constructor for error org.jomc.util.TokenMgrError
Constructor with message and reason.
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error org.jomc.util.TokenMgrError
Full Constructor.
toString() - Method in class org.jomc.util.Token
Returns the image.
toString() - Method in class org.jomc.util.WeakIdentityHashMap
Returns a string representation of the object.
TrailingWhitespaceEditor - Class in org.jomc.util
LineEditor removing trailing whitespace.
TrailingWhitespaceEditor() - Constructor for class org.jomc.util.TrailingWhitespaceEditor
Creates a new TrailingWhitespaceEditor instance.
TrailingWhitespaceEditor(String) - Constructor for class org.jomc.util.TrailingWhitespaceEditor
Creates a new TrailingWhitespaceEditor instance taking a string to use for separating lines.
TrailingWhitespaceEditor(LineEditor) - Constructor for class org.jomc.util.TrailingWhitespaceEditor
Creates a new TrailingWhitespaceEditor instance taking an editor to chain.
TrailingWhitespaceEditor(LineEditor, String) - Constructor for class org.jomc.util.TrailingWhitespaceEditor
Creates a new TrailingWhitespaceEditor instance taking an editor to chain and a string to use for separating lines.

U

UpdateLineColumn(char) - Method in class org.jomc.util.SimpleCharStream
 

V

values() - Method in class org.jomc.util.WeakIdentityHashMap
Gets a Collection view of the values contained in this map.
VersionParser - Class in org.jomc.util
Parses and compares version identifiers.
VersionParser(InputStream) - Constructor for class org.jomc.util.VersionParser
Constructor with InputStream.
VersionParser(InputStream, String) - Constructor for class org.jomc.util.VersionParser
Constructor with InputStream and supplied encoding
VersionParser(Reader) - Constructor for class org.jomc.util.VersionParser
Constructor.
VersionParser(VersionParserTokenManager) - Constructor for class org.jomc.util.VersionParser
Constructor with generated Token Manager.
VersionParserConstants - Interface in org.jomc.util
Token literal values and constants.
VersionParserTokenManager - Class in org.jomc.util
Token Manager.
VersionParserTokenManager(SimpleCharStream) - Constructor for class org.jomc.util.VersionParserTokenManager
Constructor.
VersionParserTokenManager(SimpleCharStream, int) - Constructor for class org.jomc.util.VersionParserTokenManager
Constructor.

W

WeakIdentityHashMap<K,V> - Class in org.jomc.util
Hash-table based Map implementation with weak keys, using object-identity in place of object-equality when comparing keys.
WeakIdentityHashMap() - Constructor for class org.jomc.util.WeakIdentityHashMap
Constructs a new, empty WeakIdentityHashMap with the default initial capacity (16) and load factor (0.75).
WeakIdentityHashMap(int) - Constructor for class org.jomc.util.WeakIdentityHashMap
Constructs a new, empty WeakIdentityHashMap with the given initial capacity and the default load factor (0.75).
WeakIdentityHashMap(float) - Constructor for class org.jomc.util.WeakIdentityHashMap
Constructs a new, empty WeakIdentityHashMap with the default initial capacity (16) and the given load factor.
WeakIdentityHashMap(int, float) - Constructor for class org.jomc.util.WeakIdentityHashMap
Constructs a new, empty WeakIdentityHashMap with the given initial capacity and the given load factor.

A B C D E F G H I J K L M N O P R S T U V W

Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.