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

A

accept - Variable in class uk.ac.bham.gloss.Mode
 
accept() - Method in class uk.ac.bham.gloss.Mode
returns the "accept" attribute
accept() - Method in class uk.ac.bham.gloss.ModeExecution
returns the "accept" attribute
acceptDef - Variable in class uk.ac.bham.gloss.Mode
 
actionMode(String) - Method in class uk.ac.bham.gloss.Mode
gets the action mode corresponding to preprocess, process, postprocess, execute.
addRE(String) - Method in class uk.ac.bham.gloss.StreamTokenizer
Adds an RE "re" to the library, precompiling it for future use.
adjustChildren(int) - Method in class uk.ac.bham.gloss.ModeExecution
add or subtract to/from total number of children
appendValue(String, String, String) - Method in class uk.ac.bham.gloss.ParameterContainer
Appends further data to an existing value.
appendValue(String, String) - Method in class uk.ac.bham.gloss.ParameterContainer
Appends further data to an existing value.
attribute(int, String, String) - Method in interface uk.ac.bham.gloss.Logger
add attribute to an opened tag
attribute(String, String) - Method in interface uk.ac.bham.gloss.Logger
add attribute to an opened tag
attribute(int, String, boolean) - Method in interface uk.ac.bham.gloss.Logger
add attribute to an opened tag
attribute(String, boolean) - Method in interface uk.ac.bham.gloss.Logger
add attribute to an opened tag
attribute(int, String, int) - Method in interface uk.ac.bham.gloss.Logger
add attribute to an opened tag
attribute(String, int) - Method in interface uk.ac.bham.gloss.Logger
add attribute to an opened tag
attribute(int, String, String) - Method in class uk.ac.bham.gloss.NullLogger
 
attribute(String, String) - Method in class uk.ac.bham.gloss.NullLogger
 
attribute(int, String, int) - Method in class uk.ac.bham.gloss.NullLogger
 
attribute(String, int) - Method in class uk.ac.bham.gloss.NullLogger
 
attribute(int, String, boolean) - Method in class uk.ac.bham.gloss.NullLogger
 
attribute(String, boolean) - Method in class uk.ac.bham.gloss.NullLogger
 
attrvaltsREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 

B

b64digitre - Static variable in class uk.ac.bham.gloss.StreamTokenizer
b64digitre matches a base64 digit
b64dtsREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
b64re - Static variable in class uk.ac.bham.gloss.StreamTokenizer
b64re matches a base64 constant starting with = and ending with = or == for padding if required.

C

capturedModes - Variable in class uk.ac.bham.gloss.Mode
 
chardtsREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
charre - Static variable in class uk.ac.bham.gloss.StreamTokenizer
charre matches a character constant which is delimited by '...' and contains either a single character or a \c escape combination.
children - Variable in class uk.ac.bham.gloss.Mode
 
children() - Method in class uk.ac.bham.gloss.Mode
Returns the children nodes for this mode.
children() - Method in class uk.ac.bham.gloss.ModeExecution
returns the children of the mode
childrenDef - Variable in class uk.ac.bham.gloss.Mode
 
childrenToFind() - Method in class uk.ac.bham.gloss.Mode
returns the number of children to find
childrenToFind() - Method in class uk.ac.bham.gloss.ModeExecution
returns the number of children to find
clone() - Method in class uk.ac.bham.gloss.ParameterContainer
Returns a clone of this container.
closeelement(int) - Method in interface uk.ac.bham.gloss.Logger
closes the element line
closeelement() - Method in interface uk.ac.bham.gloss.Logger
closes the element line
closeelement(int, String) - Method in interface uk.ac.bham.gloss.Logger
closes the element line, checking correct name
closeelement(String) - Method in interface uk.ac.bham.gloss.Logger
closes the element line, checking correct name
closeelement(int) - Method in class uk.ac.bham.gloss.NullLogger
 
closeelement() - Method in class uk.ac.bham.gloss.NullLogger
 
closeelement(int, String) - Method in class uk.ac.bham.gloss.NullLogger
 
closeelement(String) - Method in class uk.ac.bham.gloss.NullLogger
 
closetag(int) - Method in interface uk.ac.bham.gloss.Logger
close the tag
closetag() - Method in interface uk.ac.bham.gloss.Logger
close the tag
closetag(int) - Method in class uk.ac.bham.gloss.NullLogger
 
closetag() - Method in class uk.ac.bham.gloss.NullLogger
 
col() - Method in class uk.ac.bham.gloss.DocumentLocator
column number, starting at 0; returns -1 if this data is not available.
col() - Method in class uk.ac.bham.gloss.Gloss
Return the column number of this token.
col() - Method in class uk.ac.bham.gloss.Glosser
returns -1 to say the column number of position in the MV document is not available
col() - Method in exception uk.ac.bham.gloss.GlossException
Get the column number (starting from 0) of the position in the document raising this exception, or -1 if this data is not known or not available.
col() - Method in interface uk.ac.bham.gloss.Locator
column number, starting at 0; returns -1 if this data is not available.
col() - Method in class uk.ac.bham.gloss.StreamTokenizer
Returns the column number of the next character to be read.
col() - Method in class uk.ac.bham.gloss.Token
Return the column number of this token.
col() - Method in class uk.ac.bham.gloss.TokenTokenizer
 
commentnlREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
compileMode(Mode) - Method in class uk.ac.bham.gloss.Glosser
This method compiles the mode given.
Copy - Class in uk.ac.bham.gloss
Class providing a command line utility to copy files listed in file "list" in directory args[0] to the directory of the file args[1], by default without clobbering existing files.
Copy() - Constructor for class uk.ac.bham.gloss.Copy
 
copy(ParameterContainer, Logger) - Static method in class uk.ac.bham.gloss.Copy
This is the main command line, with logger and parameter container arguments.
copy(String, String, boolean, Logger) - Static method in class uk.ac.bham.gloss.Copy
This is the main executed method: copies files listed in file "list" in directory src to the directory of the file dest, with silent and clobber flags.
copyFiles(String, String, boolean, Logger) - Static method in class uk.ac.bham.gloss.Copy
copies any files in srcDir to destDir
cr(int) - Method in interface uk.ac.bham.gloss.Logger
prints a cr and indentation
cr() - Method in interface uk.ac.bham.gloss.Logger
prints a cr and indentation
cr(int) - Method in class uk.ac.bham.gloss.NullLogger
 
cr() - Method in class uk.ac.bham.gloss.NullLogger
 
cref1REI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
cref2REI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 

D

data() - Method in class uk.ac.bham.gloss.Token
Return the data of this token as a string.
depth() - Method in class uk.ac.bham.gloss.Mode
Returns the depth of the current token, provided for compatibility with ModeExecution.
depth() - Method in class uk.ac.bham.gloss.ModeExecution
Returns the depth of the current token read by this mode.
depth() - Method in class uk.ac.bham.gloss.Token
Returns the depth of this token as an int.
displayState(String) - Method in class uk.ac.bham.gloss.StreamTokenizer
Internal method that displays the current state of the Tokenizer.
doattribute(String, String) - Method in class uk.ac.bham.gloss.DoubleLogger
add attribute to an opened tag
doattribute(String, int) - Method in class uk.ac.bham.gloss.DoubleLogger
add attribute to an opened tag
doattribute(String, boolean) - Method in class uk.ac.bham.gloss.DoubleLogger
add attribute to an opened tag
doattribute(String, String) - Method in class uk.ac.bham.gloss.MCBLogger
add attribute to an opened tag
doattribute(String, int) - Method in class uk.ac.bham.gloss.MCBLogger
add attribute to an opened tag
doattribute(String, boolean) - Method in class uk.ac.bham.gloss.MCBLogger
add attribute to an opened tag
doattribute(String, String) - Method in class uk.ac.bham.gloss.NullLogger
 
doattribute(String, int) - Method in class uk.ac.bham.gloss.NullLogger
 
doattribute(String, boolean) - Method in class uk.ac.bham.gloss.NullLogger
 
doc() - Method in class uk.ac.bham.gloss.DocumentLocator
document, file or URI name; returns null if this data is not available.
doc() - Method in class uk.ac.bham.gloss.Gloss
Returns the document name of this token.
doc() - Method in class uk.ac.bham.gloss.Glosser
returns the name of the MV document
doc() - Method in exception uk.ac.bham.gloss.GlossException
Get the filename or url of the document raising this exception, or null if this data is not known or not available.
doc() - Method in interface uk.ac.bham.gloss.Locator
document, file or URI name; returns null if this data is not available.
doc() - Method in class uk.ac.bham.gloss.StreamTokenizer
Returns the document name or URL.
doc() - Method in class uk.ac.bham.gloss.Token
Returns the document name of this token.
doc() - Method in class uk.ac.bham.gloss.TokenTokenizer
Returns the document name or URL.
doc(Node) - Static method in class uk.ac.bham.gloss.XRNormalizer
Returns the owner document for node n, provided as a shorthand for n.getOwnerDocument()
docloseelement() - Method in class uk.ac.bham.gloss.DoubleLogger
closes the element line
docloseelement(String) - Method in class uk.ac.bham.gloss.DoubleLogger
closes the element line, checking correct name
docloseelement() - Method in class uk.ac.bham.gloss.MCBLogger
closes the element line
docloseelement(String) - Method in class uk.ac.bham.gloss.MCBLogger
closes the element line, checking correct name
docloseelement() - Method in class uk.ac.bham.gloss.NullLogger
 
docloseelement(String) - Method in class uk.ac.bham.gloss.NullLogger
 
doclosetag() - Method in class uk.ac.bham.gloss.DoubleLogger
close the tag
doclosetag() - Method in class uk.ac.bham.gloss.MCBLogger
close the tag
doclosetag() - Method in class uk.ac.bham.gloss.NullLogger
 
docr() - Method in class uk.ac.bham.gloss.DoubleLogger
prints cr and indentation
docr() - Method in class uk.ac.bham.gloss.MCBLogger
prints cr and require indentation on next line
docr() - Method in class uk.ac.bham.gloss.NullLogger
 
DocumentLocator - Class in uk.ac.bham.gloss
Interface for an object that can identify the document and/or position where an error or other event has occurred.
DocumentLocator(String, int, int) - Constructor for class uk.ac.bham.gloss.DocumentLocator
 
doelement(String) - Method in class uk.ac.bham.gloss.DoubleLogger
opens a log line with a XML tag "name"
doelement(String) - Method in class uk.ac.bham.gloss.MCBLogger
opens a log line with a XML tag "name"
doelement(String) - Method in class uk.ac.bham.gloss.NullLogger
 
doprint(String) - Method in class uk.ac.bham.gloss.DoubleLogger
prints text to output
doprint(String) - Method in class uk.ac.bham.gloss.MCBLogger
prints text to output
doprint(String) - Method in class uk.ac.bham.gloss.NullLogger
 
doprintln(String) - Method in class uk.ac.bham.gloss.DoubleLogger
prints text to output
doprintln(String) - Method in class uk.ac.bham.gloss.MCBLogger
prints text to output
doprintln(String) - Method in class uk.ac.bham.gloss.NullLogger
 
DoubleLogger - Class in uk.ac.bham.gloss
A Loger object presents a "log" of an execution, eg, for debugging.
DoubleLogger(Logger, Logger) - Constructor for class uk.ac.bham.gloss.DoubleLogger
 

E

element(int, String) - Method in interface uk.ac.bham.gloss.Logger
opens a log line with a XML tag "name"
element(String) - Method in interface uk.ac.bham.gloss.Logger
opens a log line with a XML tag "name"
element(int, String) - Method in class uk.ac.bham.gloss.NullLogger
 
element(String) - Method in class uk.ac.bham.gloss.NullLogger
 
eltnametsREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
entrefREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
equals(Object) - Method in class uk.ac.bham.gloss.Token
equality method for Tokens: two tokens are equal by this method if they have the same type and data and exactly the same depth and coordinates.
error(SAXParseException) - Method in class uk.ac.bham.gloss.ErrorHandler
Prints an error message to standard error and continues.
error(TransformerException) - Method in class uk.ac.bham.gloss.ErrorHandler
Prints an error message to standard error and continues.
ErrorHandler - Class in uk.ac.bham.gloss
Class provided to deal with XML parsing errors and transformer reasonably helpfully, giving line and column number of file when a warning or error occurs.
ErrorHandler(Logger) - Constructor for class uk.ac.bham.gloss.ErrorHandler
constructor: specify the logger object
ErrorMessages - Class in uk.ac.bham.gloss
Interface providing a call-back mechanism for error-messages etc to be sent to the standard error stream.
ErrorMessages() - Constructor for class uk.ac.bham.gloss.ErrorMessages
constructor
escapeComment(String) - Static method in class uk.ac.bham.gloss.XRPrinter
Returns a version of buff that can be placed inside a comment.
escapePI(String) - Static method in class uk.ac.bham.gloss.XRPrinter
Returns a version of buff that can be placed inside a comment.
escapeXML(String) - Static method in class uk.ac.bham.gloss.XRNormalizer
Returns "s" as an escaped String with ampersand converted to standard XML escape sequence, etc.
execute(ModeExecution, Tokenizer, Node, Node, ParameterContainer, boolean) - Method in class uk.ac.bham.gloss.GlossExecution
This method executes all commands given in the children of the node exNode that arises when in mode mode with the output data inserted into outpNode.
execute() - Method in class uk.ac.bham.gloss.ModeExecution
 
EXECUTE_TYPE - Static variable in class uk.ac.bham.gloss.Mode
 
executeMode - Variable in class uk.ac.bham.gloss.Mode
 
executeMode() - Method in class uk.ac.bham.gloss.Mode
Accessor
execution() - Method in class uk.ac.bham.gloss.Glosser
The accessor method for the execution object.
execution() - Method in class uk.ac.bham.gloss.ModeExecution
accessor
exportParameter(String, ParameterContainer) - Method in class uk.ac.bham.gloss.ModeExecution
Exports the value of the parameter "name" from "pc" to the parent ME, and continues recursively exporting to other ancestors; the last ancestor exported to is the first found in the same namespace, or the root if no such ancestor is found.

F

fatalError(SAXParseException) - Method in class uk.ac.bham.gloss.ErrorHandler
Prints an error message to standard error and re-throw the exception.
fatalError(TransformerException) - Method in class uk.ac.bham.gloss.ErrorHandler
Prints an error message to standard error and re-throws the exception.
findGlossDirectory() - Static method in class uk.ac.bham.gloss.Resolver
Searches for a GLOSS distribuition directory in the following locations (in order) $GLOSS $HOME/gloss $HOME/.gloss /usr/local/share/gloss /usr/local/lib/gloss /usr/share/gloss /usr/lib/gloss else uses null (i.e., use URLs rather than local files).
findLocalNodePath(Element, String) - Method in class uk.ac.bham.gloss.XRPrinter
find the element in this document corresponding to nodePath starting at node
findMatch(Mode, Token, ParameterContainer) - Method in class uk.ac.bham.gloss.ModeExecution
This method searches for a match for token tok amongst the nodes in the mode mode (and any included modes linked from this).
findMode(String) - Method in class uk.ac.bham.gloss.Glosser
Find the element describing the mode given by modeName.
findNodeID(Element, String, boolean) - Method in class uk.ac.bham.gloss.XRPrinter
find the element in this document with the given ID
findNodePath(Element, String, boolean) - Method in class uk.ac.bham.gloss.XRPrinter
find the element in this document corresponding to nodePath starting at node
fpdatatsREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
fpre - Static variable in class uk.ac.bham.gloss.StreamTokenizer
fpre matches an (arb precision) fp constant
fullName() - Method in class uk.ac.bham.gloss.Token
Returns the "full name" part of this token's data.

G

getATTR(int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getAttributeData(Node) - Method in class uk.ac.bham.gloss.XRPrinter
Get character data, etc, in node as an escaped String suitable for direct printing as an attribute value.
getB64(int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getCapturedMode(String, String) - Method in class uk.ac.bham.gloss.Mode
Accessor
getCDATAData(Node) - Method in class uk.ac.bham.gloss.XRPrinter
Get character data in the node as an String escaped suitably for direct printing as a CDATA value, and with leading "".
getCHAR(int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getCharacterData(Node, StringBuffer) - Method in class uk.ac.bham.gloss.XRPrinter
Internal method that collects character data in child TEXT, CDATA and other descendents nodes of "node" and appends it to the StringBuffer buff without any escaping.
getCommentData(Node) - Method in class uk.ac.bham.gloss.XRPrinter
Get character data in the node as an String escaped suitably for direct printing as a comment, with <!-- and --> to wrap it.
getCREF(int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getELT(int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getEOS(int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getEREF(int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getFP(int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getHEX(int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getINT(int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getLABEL(int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getLineContinuationChar() - Method in class uk.ac.bham.gloss.StreamTokenizer
Returns the line continuation char, or '\0' if there is none set.
getLiteralData(Node) - Method in class uk.ac.bham.gloss.XRPrinter
Get character data in the node as an String escaped suitably for direct printing as a literal value.
getModes(Element, ParameterContainer) - Method in class uk.ac.bham.gloss.Glosser
The getModes method collects together all the modes for this MV and compiles or preprocesses them.
getNS(int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getNSfromPars(String, ParameterContainer) - Method in class uk.ac.bham.gloss.GlossExecution
 
getPDEF(int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getPELT(int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getPI(int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getPIData(Node, String) - Method in class uk.ac.bham.gloss.XRPrinter
Get character data in the node as an String escaped suitably for direct printing as a PI value.
getPREF(int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getPUNC(String, int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getRegex(int) - Method in class uk.ac.bham.gloss.StreamTokenizer
Internal private method that gets a string matching a regex at the beginning of unread input (inbuff, at inindx) returning it (or returning null if no such match).
getSTR(int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getTextData(Node) - Method in class uk.ac.bham.gloss.XRPrinter
Get character data in the node as an String, escaped suitable for direct printing as text (PCDATA).
getTextOrAttributeData(Node, StringBuffer) - Method in class uk.ac.bham.gloss.XRPrinter
Appends that part of the content of node that can be interpreted as an attribute value or text data to buff.
getToken(String) - Method in class uk.ac.bham.gloss.StreamTokenizer
Default form of getToken in which the "disregardComments" and "disregardWhitespace" parameters are true provided UC is not one of the acceptable types, and false otherwise.
getToken(String, boolean, boolean, boolean, boolean) - Method in class uk.ac.bham.gloss.StreamTokenizer
Gets the next token, where the argument "allowedtypes" is a bitwise OR (|) of Token.type_TYPE values of allowed token types.
getToken(String) - Method in interface uk.ac.bham.gloss.Tokenizer
 
getToken(String) - Method in class uk.ac.bham.gloss.TokenTokenizer
 
getUC(int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getURI(int, int, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
 
getValue(String) - Method in class uk.ac.bham.gloss.Glosser
Returns the value of the parameter with this name or null if there is no such parameter.
getValue(String, String) - Method in class uk.ac.bham.gloss.ParameterContainer
Returns the value of the parameter with this name in this container, or null if there is no such parameter.
getValue(String) - Method in class uk.ac.bham.gloss.ParameterContainer
Returns the value of the parameter with this name in this container, or null if there is no such parameter.
getXRAttribute(Node, String, boolean) - Method in class uk.ac.bham.gloss.XRNormalizer
Returns an attribute for an XR element which is not in a namespace.
getXRAttributeData(Node, StringBuffer, boolean) - Method in class uk.ac.bham.gloss.XRNormalizer
Appends that part of the content of input Node node that can be interpreted as an attribute value for an xr: element to buff.
getXRAttributeData(Node, boolean) - Method in class uk.ac.bham.gloss.XRNormalizer
Returns that part of the content of input Node node that can be interpreted as an attribute value for an xr: element.
getXRAttributeNS(Node, String, String, ParameterContainer, boolean) - Method in class uk.ac.bham.gloss.XRNormalizer
Returns an attribute for an XR element: this will be the string value of the attribute, unescaped, and any xr:attribute node used to provide it will be removed.
Gloss - Class in uk.ac.bham.gloss
Class providing static methods and a command line utility to gloss an input file against a modular vocab and write the XML output to an output file.
Gloss(ParameterContainer, Logger) - Constructor for class uk.ac.bham.gloss.Gloss
Create a thread for the static method gloss(p,l) below.
gloss(ParameterContainer) - Static method in class uk.ac.bham.gloss.Gloss
This is the main command line.
gloss(ParameterContainer, Logger) - Static method in class uk.ac.bham.gloss.Gloss
This is the main command line.
gloss(String, InputStreamReader) - Method in class uk.ac.bham.gloss.Glosser
Glosses token data from InputStreamReader "isr" against the modular vocabulary preloaded in this glosser.
gloss(Tokenizer) - Method in class uk.ac.bham.gloss.Glosser
Glosses token data from the Tokenizer given against the modular vocabulary preloaded in this glosser.
Glosser - Class in uk.ac.bham.gloss
A glosser for this system is an binary object that represents a modular vocabulary, ie, it is able to read tokens from a token stream (a Tokenizer object) and create an XML document.
Glosser(String, Logger) - Constructor for class uk.ac.bham.gloss.Glosser
Construct a glosser object using the modularvocab from the URI given and the logger object given.
Glosser(Document, DocumentBuilder, Logger) - Constructor for class uk.ac.bham.gloss.Glosser
Construct a glosser object using the modularvocab from the parsed mv document given and the logger given.
glosser() - Method in class uk.ac.bham.gloss.ModeExecution
accessor
GlossException - Exception in uk.ac.bham.gloss
Exception class for the gloss package.
GlossException(String) - Constructor for exception uk.ac.bham.gloss.GlossException
Raise an exception with given message.
GlossException(String, Locator) - Constructor for exception uk.ac.bham.gloss.GlossException
Raise an exception with given message and locator.
GlossException(String, Token) - Constructor for exception uk.ac.bham.gloss.GlossException
Raise an exception with given message and token.
GlossException(String, Mode) - Constructor for exception uk.ac.bham.gloss.GlossException
Raise an exception with given message, when executing a mode.
GlossExecution - Class in uk.ac.bham.gloss
A glosser for this system is an binary object that represents a modular vocabulary, ie, it is able to read tokens from a token stream (a Tokenizer object) and create an XML document.
GlossExecution(Glosser) - Constructor for class uk.ac.bham.gloss.GlossExecution
 

H

hasParameter(String, String) - Method in class uk.ac.bham.gloss.ParameterContainer
Returns true if the argument is the name of a parameter in this container.
hasParameter(String) - Method in class uk.ac.bham.gloss.ParameterContainer
Returns true if the argument is the name of a parameter in this container.
hasType(String) - Method in class uk.ac.bham.gloss.Token
Returns true if the type of this token is one of those listed in the string t.
hexdatatsREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
hexre - Static variable in class uk.ac.bham.gloss.StreamTokenizer
hexre matches an (arb precision) signed hex integer, almost according to OpenMath syntax, except that a leading 0 is required (after any - sign) and before the x.

I

idAttrName - Variable in class uk.ac.bham.gloss.XRPrinter
The name of any ID attribute other than the standard xml:id, null if none
idAttrNS - Variable in class uk.ac.bham.gloss.XRPrinter
The namespace of any ID attribute other than the standard xml:id, null if none
INCLUDE_TYPE - Static variable in class uk.ac.bham.gloss.Mode
 
incrValue(String, String, String) - Method in class uk.ac.bham.gloss.ParameterContainer
Numerically increments a value (default = 1) to an existing numerical value.
incrValue(String, String) - Method in class uk.ac.bham.gloss.ParameterContainer
Numerically increments a value (default = 1) to an existing numerical value.
inheritParent() - Method in class uk.ac.bham.gloss.ModeExecution
returns the use inherit-parent status
initParameters(Element, ParameterContainer, ParameterContainer) - Method in class uk.ac.bham.gloss.Glosser
 
intdatatsREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
interpolateAttr(String, String, Node, Mode, ParameterContainer) - Method in class uk.ac.bham.gloss.GlossExecution
Gets an attr="..." attribute from node and returns its value, interpolated against token, params and modeName.
interpolateText(String, Mode, ParameterContainer) - Method in class uk.ac.bham.gloss.GlossExecution
Interpolates several $escapes in pattern: The process is as follows.
interpolateText(String, Mode, ParameterContainer, boolean) - Method in class uk.ac.bham.gloss.GlossExecution
version of interpolateText where we can select whether or not to use prefixes
intre - Static variable in class uk.ac.bham.gloss.StreamTokenizer
intre matches an (arb precision) signed integer written to base 10, acording to syntax defined in OpenMath.
intType(String) - Static method in class uk.ac.bham.gloss.Token
Returns the int value of the input which is a string representation of a Token type; eg returns Token.UCTYPE on input "uc".
intTypes(String) - Static method in class uk.ac.bham.gloss.Token
Returns a | separated int of all types that appear in the string t.
isExecuteType() - Method in class uk.ac.bham.gloss.Mode
Returns true if it is a execute type mode.
isIncludeType() - Method in class uk.ac.bham.gloss.Mode
Returns true if it is a include type mode.
isProcessType() - Method in class uk.ac.bham.gloss.Mode
Returns true if it is a process type mode.
isUndefinedType() - Method in class uk.ac.bham.gloss.Mode
Returns true if it is a process type mode.
isWhiteSpace(String) - Static method in class uk.ac.bham.gloss.GlossExecution
returns true if the string is entirely white space false otherwise.
isWhiteSpace(String) - Static method in class uk.ac.bham.gloss.XRNormalizer
Returns true if the string is entirely whitespace, and false otherwise.
iterator() - Method in class uk.ac.bham.gloss.ParameterContainer
returns an iterator over all keys in this container
itype() - Method in class uk.ac.bham.gloss.Token
Returns the type of this token as an int.

L

lastLineNumber() - Method in class uk.ac.bham.gloss.StreamTokenizer
Returns the number of the last line read from the input stream, 0 if no line has been read.
lastmask() - Method in class uk.ac.bham.gloss.NullLogger
Returns the mask used in the last method call to this class that specified one and resets that mask to "all".
leadcommREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
leadlabcommREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
leadspcommREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
leadspREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
lex() - Method in class uk.ac.bham.gloss.ModeExecution
accessor
line() - Method in class uk.ac.bham.gloss.DocumentLocator
line number, starting at 1; returns -1 if this data is not available.
line() - Method in class uk.ac.bham.gloss.Gloss
Returns the line number of this token.
line() - Method in class uk.ac.bham.gloss.Glosser
returns -1 to say the line number of position in the MV document is not available
line() - Method in exception uk.ac.bham.gloss.GlossException
Get the line number (starting from 1) of the position in the document raising this exception, or -1 if this data is not known or not available.
line() - Method in interface uk.ac.bham.gloss.Locator
line number, starting at 1; returns -1 if this data is not available.
line() - Method in class uk.ac.bham.gloss.StreamTokenizer
Returns the line number of the next character to be read.
line() - Method in class uk.ac.bham.gloss.Token
Returns the line number of this token.
line() - Method in class uk.ac.bham.gloss.TokenTokenizer
 
localName() - Method in class uk.ac.bham.gloss.Token
Returns the local-name part of this token's name.
localName(String) - Static method in class uk.ac.bham.gloss.XRNormalizer
Returns the localName part of qname.
Locator - Interface in uk.ac.bham.gloss
Interface for an object that can identify the document and/or position where an error or other event has occurred.
LOG_ACTIONS - Static variable in interface uk.ac.bham.gloss.Logger
 
LOG_ALL - Static variable in interface uk.ac.bham.gloss.Logger
 
LOG_ERRORS - Static variable in interface uk.ac.bham.gloss.Logger
 
LOG_FILES - Static variable in interface uk.ac.bham.gloss.Logger
 
LOG_INPUT - Static variable in interface uk.ac.bham.gloss.Logger
 
LOG_MESSAGES - Static variable in interface uk.ac.bham.gloss.Logger
 
LOG_MODES - Static variable in interface uk.ac.bham.gloss.Logger
 
LOG_NONE - Static variable in interface uk.ac.bham.gloss.Logger
 
LOG_NORMAL - Static variable in interface uk.ac.bham.gloss.Logger
 
LOG_OUTPUT - Static variable in interface uk.ac.bham.gloss.Logger
 
LOG_PARAMETERS - Static variable in interface uk.ac.bham.gloss.Logger
 
LOG_PROCESSES - Static variable in interface uk.ac.bham.gloss.Logger
 
logger() - Method in class uk.ac.bham.gloss.ErrorHandler
accessor: get the logger object
logger() - Method in class uk.ac.bham.gloss.Glosser
accessor for this glosser's logger object
Logger - Interface in uk.ac.bham.gloss
A Logger object presents a "trace" of an execution, eg, for debugging.
logger() - Method in class uk.ac.bham.gloss.ModeExecution
accessor
logger() - Method in class uk.ac.bham.gloss.StreamTokenizer
accessor: get the logger object

M

main(String[]) - Static method in class uk.ac.bham.gloss.Copy
main: called from the console.
main(String[]) - Static method in class uk.ac.bham.gloss.Gloss
main: called from the console.
main(String[]) - Static method in class uk.ac.bham.gloss.SupportedEncodings
 
main(String[]) - Static method in class uk.ac.bham.gloss.TestTokenizer
main: called from the console.
main(String[]) - Static method in class uk.ac.bham.gloss.Transform
main: called from the console.
main(String[]) - Static method in class uk.ac.bham.gloss.Validate
main: called from the console.
makeChild(Mode, Tokenizer, ParameterContainer, Node) - Method in class uk.ac.bham.gloss.ModeExecution
factory method: makes a child ModeExecution object
matches(String, int) - Method in class uk.ac.bham.gloss.StreamTokenizer
Internal private method that tests is a string matches a RE.
MCBLogger - Class in uk.ac.bham.gloss
A Logger object presents a "log" of an execution, eg, for debugging.
MCBLogger(int, MessageCallBack) - Constructor for class uk.ac.bham.gloss.MCBLogger
Create a logger that logs all messages matching mode
message(String, String, String, int, int, Exception) - Method in class uk.ac.bham.gloss.ErrorHandler
Prints a general error/warning message to standard error and continues.
MessageCallBack - Interface in uk.ac.bham.gloss
Interface providing a call-back mechanism for error-messages etc.
mode() - Method in class uk.ac.bham.gloss.DoubleLogger
 
mode() - Method in interface uk.ac.bham.gloss.Logger
returns the mode of this logger
mode() - Method in class uk.ac.bham.gloss.MCBLogger
returns an int value indicating type of log
Mode - Class in uk.ac.bham.gloss
A mode is the main building block for modular vocabularies and the glossing operation.
Mode() - Constructor for class uk.ac.bham.gloss.Mode
Constructs a strange "init" node used as the root to get the gloss process going.
Mode(ParameterContainer) - Constructor for class uk.ac.bham.gloss.Mode
Constructs a strange "init" node used as the root to initialize variables.
Mode(Mode) - Constructor for class uk.ac.bham.gloss.Mode
shallow clone of an existing mode
Mode(Element, ParameterContainer) - Constructor for class uk.ac.bham.gloss.Mode
Main constructor: defines a mode from a given XML DOM element and a given list of valid prefixes.
mode() - Method in class uk.ac.bham.gloss.NullLogger
 
modeElt - Variable in class uk.ac.bham.gloss.Mode
 
modeElts - Variable in class uk.ac.bham.gloss.Mode
 
ModeExecution - Class in uk.ac.bham.gloss
A mode is a record of various data within the mv:mode tag.
ModeExecution(Glosser, Mode, Tokenizer, Mode, Mode, ParameterContainer, Node) - Constructor for class uk.ac.bham.gloss.ModeExecution
constructor: construct a ModeExecution from Mode m, Tokenizer l, Glosser g and parent p, putting data in output Node n.
modeName - Variable in class uk.ac.bham.gloss.Mode
 
modeType - Variable in class uk.ac.bham.gloss.Mode
 
mvURI - Variable in class uk.ac.bham.gloss.Glosser
The namespace URI of the mv elements.
mvURI - Variable in class uk.ac.bham.gloss.GlossExecution
The namespace URI of the mv elements.
mvURI - Variable in class uk.ac.bham.gloss.ModeExecution
The namespace URI of the mv elements.
mvXMLNS - Variable in class uk.ac.bham.gloss.GlossExecution
The namespace of parameters defining XML namespaces for elements.

N

name() - Method in class uk.ac.bham.gloss.Mode
Returns the mode name.
name() - Method in class uk.ac.bham.gloss.ModeExecution
Returns the name of the current mode being executed.
namere - Static variable in class uk.ac.bham.gloss.StreamTokenizer
namere matches a fully qualified element name.
newModeAfterMatch() - Method in class uk.ac.bham.gloss.ModeExecution
This variable contains a reference to the new mode included from the current one after doing findMatch.
nlcoREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
node() - Method in class uk.ac.bham.gloss.Mode
Returns the node for this mode.
normalize(Document) - Method in class uk.ac.bham.gloss.XRNormalizer
Main method: checks and transforms the document at doc.
normalize(Node, ParameterContainer, boolean) - Method in class uk.ac.bham.gloss.XRNormalizer
checks and transforms the document at node; ns_pars contain a list of prefix=NSURI pairs that have been declared on ancestor elements and may be assumed and do not need to be re-declared.
normalizeChildren(Node, ParameterContainer, boolean) - Method in class uk.ac.bham.gloss.XRNormalizer
 
normalizeElement(Node, ParameterContainer, boolean) - Method in class uk.ac.bham.gloss.XRNormalizer
 
normalizeEmptyNode(Node) - Method in class uk.ac.bham.gloss.XRNormalizer
normalise an empty node
normalizeText(Node, boolean, boolean) - Method in class uk.ac.bham.gloss.XRNormalizer
normalise a node (xr:attribute, xr:text, xr:literal, xr:cdata, xr:comment, xr:processing-instruction) with just text content.
normalizeText(Node, boolean, Node, StringBuffer, boolean) - Method in class uk.ac.bham.gloss.XRNormalizer
normalise a node (xr:attribute, xr:text, xr:literal, xr:cdata, xr:comment, xr:processing-instruction) with just text content
notReadEnough(int, boolean, boolean, boolean, boolean) - Method in class uk.ac.bham.gloss.StreamTokenizer
Method to determine if we have read in enough data to guarentee a token.
nsre - Static variable in class uk.ac.bham.gloss.StreamTokenizer
nsre matches a non-space unicode character in UTF-16
nsreREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
NullLogger - Class in uk.ac.bham.gloss
A Logger object presents a "log" of an execution, eg, for debugging.
NullLogger() - Constructor for class uk.ac.bham.gloss.NullLogger
create a logger that logs all messages matching mode
NullMessages - Class in uk.ac.bham.gloss
Interface providing a call-back mechanism for error-messages etc to be swallowed completely, a bit like /dev/null.
NullMessages() - Constructor for class uk.ac.bham.gloss.NullMessages
constructor

O

out() - Method in class uk.ac.bham.gloss.XRNormalizer
 
outpNode() - Method in class uk.ac.bham.gloss.ModeExecution
accessor

P

ParameterContainer - Class in uk.ac.bham.gloss
Class to hold a collection of values of the form name="value", where name is a non-null key or parameter-name and value is a non-null string.
ParameterContainer() - Constructor for class uk.ac.bham.gloss.ParameterContainer
Constructor for a new empty container.
ParameterContainer(ParameterContainer) - Constructor for class uk.ac.bham.gloss.ParameterContainer
Constructor for a new container that is a clone of the existing one.
parameters() - Method in class uk.ac.bham.gloss.ModeExecution
Returns ParameterContainer for this mode
parent() - Method in class uk.ac.bham.gloss.Mode
Returns the mode name.
parent() - Method in class uk.ac.bham.gloss.ModeExecution
returns the parent mode
parentTok() - Method in class uk.ac.bham.gloss.ModeExecution
returns the parent mode
parreftsREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
parse(String) - Static method in class uk.ac.bham.gloss.ParameterContainer
parses a parameter or mode name into: outp[0] = namespace (null if absent) outp[1] = name where key is "{namespace}name" or "name" and namespace has balanced braces, and, in the second case, "name" does not start with "{".
parseMessage(String, SAXParseException) - Method in class uk.ac.bham.gloss.ErrorHandler
Prints a generated error/warning message to standard error and continues.
parvaltsREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
peltvaltsREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
pideftsREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
pnamere - Static variable in class uk.ac.bham.gloss.StreamTokenizer
pnamere matches a resolved parameter name.
postProcessMode - Variable in class uk.ac.bham.gloss.Mode
 
postProcessMode() - Method in class uk.ac.bham.gloss.Mode
Accessor
prefix() - Method in class uk.ac.bham.gloss.Token
Returns the prefix or namespace part of this token's name.
prefix(String) - Static method in class uk.ac.bham.gloss.XRNormalizer
Returns the prefix part of qname or null if none.
prefixes - Variable in class uk.ac.bham.gloss.Mode
 
prefixes() - Method in class uk.ac.bham.gloss.Mode
Returns the container of prefixes.
prefixes() - Method in class uk.ac.bham.gloss.ModeExecution
Returns the container of prefixes.
preProcessMode - Variable in class uk.ac.bham.gloss.Mode
 
preProcessMode() - Method in class uk.ac.bham.gloss.Mode
Accessor
print(int, String) - Method in interface uk.ac.bham.gloss.Logger
prints text to output, with indentation if required
print(String) - Method in interface uk.ac.bham.gloss.Logger
prints text to output, with indentation if required
print(String) - Method in interface uk.ac.bham.gloss.MessageCallBack
Prints the String s to the message call-back mechanism, without carriage return.
print(int, String) - Method in class uk.ac.bham.gloss.NullLogger
 
print(String) - Method in class uk.ac.bham.gloss.NullLogger
 
print(String) - Method in class uk.ac.bham.gloss.NullMessages
Prints the String s to the message call-back mechanism, without carriage return.
print(String) - Method in class uk.ac.bham.gloss.PrintStreamMessages
Prints the String s to the message call-back mechanism, without carriage return.
print(Document) - Method in class uk.ac.bham.gloss.XRPrinter
Main method: parses and prints the document at doc.
print(Node, ParameterContainer) - Method in class uk.ac.bham.gloss.XRPrinter
Main method that prints a node, with ns_pars listing a list of prefixes and their namespaces that are in scope and therefore do not have to be printed.
printAttributes(Element, ParameterContainer, ParameterContainer, ParameterContainer) - Method in class uk.ac.bham.gloss.XRPrinter
Internal method that prints the attributes of a given element.
printChildren(Node, ParameterContainer) - Method in class uk.ac.bham.gloss.XRPrinter
Internal method that prints all child nodes of the given one.
printChildren(Node, ParameterContainer, boolean) - Method in class uk.ac.bham.gloss.XRPrinter
Internal method that prints all child nodes of the given one, and with escaping of text nodes specified.
printChildren(Node, ParameterContainer, String) - Method in class uk.ac.bham.gloss.XRPrinter
Internal method that prints all child nodes of the given one, separated by sep and with escaping of text nodes true.
printChildren(Node, ParameterContainer, String, boolean) - Method in class uk.ac.bham.gloss.XRPrinter
Internal method that prints all child nodes of the given one, separated by sep.
printElement(Element, ParameterContainer) - Method in class uk.ac.bham.gloss.XRPrinter
Internal method that prints the Element node "node"; All known namespace prefixes and URIs are in ns_pars.
printElementContent(Element, ParameterContainer) - Method in class uk.ac.bham.gloss.XRPrinter
Internal method that prints the content of an element.
printExternal(Node, ParameterContainer) - Method in class uk.ac.bham.gloss.XRPrinter
 
printExternalChildren(Node, ParameterContainer) - Method in class uk.ac.bham.gloss.XRPrinter
 
println(int, String) - Method in interface uk.ac.bham.gloss.Logger
prints text to output, with indentation if required
println(String) - Method in interface uk.ac.bham.gloss.Logger
prints text to output, with indentation if required
println() - Method in interface uk.ac.bham.gloss.MessageCallBack
Prints carriage return.
println(String) - Method in interface uk.ac.bham.gloss.MessageCallBack
Prints the String s to the message call-back mechanism, with carriage return.
println(int, String) - Method in class uk.ac.bham.gloss.NullLogger
 
println(String) - Method in class uk.ac.bham.gloss.NullLogger
 
println() - Method in class uk.ac.bham.gloss.NullMessages
Prints carriage return.
println(String) - Method in class uk.ac.bham.gloss.NullMessages
Prints the String s to the message call-back mechanism, with carriage return.
println() - Method in class uk.ac.bham.gloss.PrintStreamMessages
Prints carriage return.
println(String) - Method in class uk.ac.bham.gloss.PrintStreamMessages
Prints the String s to the message call-back mechanism, with carriage return.
printRawDocument(Document) - Method in class uk.ac.bham.gloss.XRNormalizer
Prints the XML document d to OutputStream out using the built-in java serializer.
PrintStreamMessages - Class in uk.ac.bham.gloss
Interface providing a call-back mechanism for error-messages etc to be sent to the standard error stream.
PrintStreamMessages(PrintStream) - Constructor for class uk.ac.bham.gloss.PrintStreamMessages
constructor
printXRDocument(Document) - Method in class uk.ac.bham.gloss.XRNormalizer
Prints the XML document d to OutputStream out using the built-in java serializer.
PROCESS_TYPE - Static variable in class uk.ac.bham.gloss.Mode
 
processMode - Variable in class uk.ac.bham.gloss.Mode
 
processMode() - Method in class uk.ac.bham.gloss.Mode
Accessor
puncvaltsREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
putValue(String, String) - Method in class uk.ac.bham.gloss.Glosser
Puts a new parameter into the list of global parameters or overwrites an existing one.
putValue(String, String, String) - Method in class uk.ac.bham.gloss.ParameterContainer
Puts a new parameter or overwrites an existing one.
putValue(String, String) - Method in class uk.ac.bham.gloss.ParameterContainer
Puts a new parameter or overwrites an existing one.
putValues(ParameterContainer) - Method in class uk.ac.bham.gloss.Glosser
Puts a set of parameter into the list of global parameters.
putValues(ParameterContainer) - Method in class uk.ac.bham.gloss.ParameterContainer
Puts all values in pc into this ParameterContainer by copying them one-by-one.

R

replaceAll(String, int, String) - Method in class uk.ac.bham.gloss.StreamTokenizer
Internal private method that performs a replaceAll operation on string s against an re.
replaceFirst(String, int, String) - Method in class uk.ac.bham.gloss.StreamTokenizer
Internal private method that performs a replaceFirst operation on string s against an re.
replaceGlossURLPrefix(String, String) - Static method in class uk.ac.bham.gloss.Resolver
 
resolve(String, String) - Method in class uk.ac.bham.gloss.Resolver
 
resolveEntity(String) - Method in class uk.ac.bham.gloss.Resolver
Standard resolveEntity method as required in org.xml.sax.EntityResolver.
resolveEntity(String, String) - Method in class uk.ac.bham.gloss.Resolver
Standard resolveEntity method as required in org.xml.sax.EntityResolver.
resolveMode(Mode) - Method in class uk.ac.bham.gloss.Glosser
This method resolves any remaining mode attributes from any declared template for that mode.
resolvePrefix(String, ParameterContainer) - Method in class uk.ac.bham.gloss.GlossExecution
Resolves a name such as "pref:localpart" to "{uri}localpart" Here, uri is the value of "pref" in prefixes.
resolvePrefix(String) - Method in class uk.ac.bham.gloss.Mode
uses this mode's set of prefixes to resolve the name
Resolver - Class in uk.ac.bham.gloss
This class extends EntityResolver and provides a filter to determine which XML input files are local and from the GLOSS distribution and which are non-local.
Resolver() - Constructor for class uk.ac.bham.gloss.Resolver
 
Resolver(Logger) - Constructor for class uk.ac.bham.gloss.Resolver
 
run() - Method in class uk.ac.bham.gloss.Gloss
run the main method, gloss(params,logger), in a separate thread returning an Error on error, with location in this object.

S

setAccept(String) - Method in class uk.ac.bham.gloss.Mode
Resets the "accept" attribute
setActionMode(Mode, String) - Method in class uk.ac.bham.gloss.Mode
gets the action mode corresponding to preprocess, process, postprocess, execute.
setCapturedMode(String, String, Mode) - Method in class uk.ac.bham.gloss.Mode
Sets captured mode
setChildrenRemaining(int) - Method in class uk.ac.bham.gloss.ModeExecution
set number of children remaining
setChildrenTotal(int) - Method in class uk.ac.bham.gloss.ModeExecution
set total number of children
setExecuteTokenMode(boolean) - Method in class uk.ac.bham.gloss.ModeExecution
Sets "execute token mode" which is a special mode in which all children="..." and children-XXX="..." attributes are ignored and a single token is executed then control is returned.
setGlossDirectory(String) - Method in class uk.ac.bham.gloss.Resolver
Sets the directory of a GLOSS distribution directory.
setInheritParent(boolean) - Method in class uk.ac.bham.gloss.ModeExecution
returns the state of this mode, whether it should inherit its parent
setLineContinuationChar(char) - Method in class uk.ac.bham.gloss.StreamTokenizer
Sets the line continuation char, set to '\0' if none is required.
setLocator(Locator) - Method in class uk.ac.bham.gloss.ErrorHandler
set the logger object
setLogger(Logger) - Method in class uk.ac.bham.gloss.ErrorHandler
set the logger object
setLogger(Logger) - Method in class uk.ac.bham.gloss.Glosser
Sets the logger of this glosser.
setLogger(Logger) - Method in class uk.ac.bham.gloss.Resolver
Sets the logger object for diagnostics on this resolver
setLogger(Logger) - Method in class uk.ac.bham.gloss.StreamTokenizer
set the logger object
setOS(OutputStream) - Method in class uk.ac.bham.gloss.XRNormalizer
 
setOutputEncoding(String) - Method in class uk.ac.bham.gloss.XRNormalizer
set output stream encoding
setUseIndentation(boolean) - Method in class uk.ac.bham.gloss.ModeExecution
overrides default behaviour for this mode (set in <mv:mode ...> element) to use or not use indentation.
slabtabREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
spcommentnlREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
speqspREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
spnlREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
sptabREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
startSubProcess(Mode, String, String, String, String, Tokenizer, ParameterContainer, Node, ModeExecution, boolean, boolean, boolean) - Method in class uk.ac.bham.gloss.GlossExecution
Starts a new subprocess, ie, a new mode execution.
StdOutMessages - Class in uk.ac.bham.gloss
Interface providing a call-back mechanism for error-messages etc to be sent to the standard error stream.
StdOutMessages() - Constructor for class uk.ac.bham.gloss.StdOutMessages
constructor
StreamTokenizer - Class in uk.ac.bham.gloss
The StreamTokenizer class represents an object that reads a stream of data and converts it into tokens.
StreamTokenizer(String, InputStreamReader, Logger) - Constructor for class uk.ac.bham.gloss.StreamTokenizer
Constructor: use null for documentname if it is not available.
stringdtsREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
stringre1 - Static variable in class uk.ac.bham.gloss.StreamTokenizer
stringre1 matches a string delimited with "
stringre2 - Static variable in class uk.ac.bham.gloss.StreamTokenizer
 
stype() - Method in class uk.ac.bham.gloss.Token
Returns the type of this token as a String.
SupportedEncodings - Class in uk.ac.bham.gloss
Lists character encodings supported by the java runtime.
SupportedEncodings() - Constructor for class uk.ac.bham.gloss.SupportedEncodings
 

T

template - Variable in class uk.ac.bham.gloss.Mode
 
templateDef - Variable in class uk.ac.bham.gloss.Mode
 
testGlossLocalBase(String) - Static method in class uk.ac.bham.gloss.Resolver
Tests to see if "glossLB" is the base directory of a GLOSS distribution.
testMatch(Token, String, String) - Method in class uk.ac.bham.gloss.ModeExecution
Performs a match of tok against matchStr, where matchStr is a non-null strings.
TestTokenizer - Class in uk.ac.bham.gloss
This class provides a simple command-line test utility that reads tokens from a file and writes them to standard output.
TestTokenizer() - Constructor for class uk.ac.bham.gloss.TestTokenizer
 
testTokenizer(String[]) - Static method in class uk.ac.bham.gloss.TestTokenizer
This is the main command line.
testTokenizer(String[], MessageCallBack) - Static method in class uk.ac.bham.gloss.TestTokenizer
Main command: optional first argument is the token class, main argument is the file to be read.
thisLogger() - Method in class uk.ac.bham.gloss.DoubleLogger
 
thisLogger() - Method in interface uk.ac.bham.gloss.Logger
returns this logger
thisLogger() - Method in class uk.ac.bham.gloss.MCBLogger
Returns this logger
thisLogger() - Method in class uk.ac.bham.gloss.NullLogger
 
token() - Method in class uk.ac.bham.gloss.Mode
Returns the current token, for compatibility with ModeExecution.
token() - Method in class uk.ac.bham.gloss.ModeExecution
Returns the current token read by this mode.
Token - Class in uk.ac.bham.gloss
A token is a unit of textual information from an input file.
Token(int, int, String, int, int, String) - Constructor for class uk.ac.bham.gloss.Token
Constructor for a token with given type, depth, data, and location.
Token(int, int, String, Locator) - Constructor for class uk.ac.bham.gloss.Token
Constructor for a token with given type, depth, data, and locator.
Token(String, int, String, Locator) - Constructor for class uk.ac.bham.gloss.Token
Construct a token with type, depth and data and locator as given.
Tokenizer - Interface in uk.ac.bham.gloss
The Tokenizer interface represents an object that reads a stream of data and converts it into tokens.
TokenTokenizer - Class in uk.ac.bham.gloss
A TokenTokenizer object is a Tokenizer that returns a single token first and then reverts to a previous tokenizer.
TokenTokenizer(Token, Tokenizer) - Constructor for class uk.ac.bham.gloss.TokenTokenizer
 
toLog(int, Logger) - Method in class uk.ac.bham.gloss.ParameterContainer
method to send this ParameterContainer to the logger object with given mask
toString() - Method in class uk.ac.bham.gloss.DocumentLocator
 
toString() - Method in class uk.ac.bham.gloss.Mode
Returns a string representation of this mode.
toString() - Method in class uk.ac.bham.gloss.ModeExecution
Returns a string representation of this mode.
toString() - Method in class uk.ac.bham.gloss.ParameterContainer
toString method
toString() - Method in class uk.ac.bham.gloss.Token
Returns a string representation of this token.
toString(Token) - Static method in class uk.ac.bham.gloss.Token
static version of toString that checks for t==null
Transform - Class in uk.ac.bham.gloss
Applies an XSLT transform to a file, using GLOSS's own resolver and error handler to generate the messages.
Transform() - Constructor for class uk.ac.bham.gloss.Transform
 
transform(ParameterContainer, Logger) - Static method in class uk.ac.bham.gloss.Transform
The main command.
transformerMessage(String, TransformerException) - Method in class uk.ac.bham.gloss.ErrorHandler
Prints a warning message to standard error and continues.
trimLeadingSpace(String) - Method in class uk.ac.bham.gloss.StreamTokenizer
Returns the string with leading whitespace (tab, space, nl) removed
trimSpace(String) - Static method in class uk.ac.bham.gloss.XRNormalizer
Returns text with leading and trailing white space (\n, \r, \t, ' ' characters) removed.
trimTrailingSpace(String) - Method in class uk.ac.bham.gloss.StreamTokenizer
Returns the string with trailing whitespace (tab, space, nl) removed
tsre - Static variable in class uk.ac.bham.gloss.StreamTokenizer
tsre matches trailing space
type() - Method in class uk.ac.bham.gloss.Mode
Returns the mode type.
type() - Method in class uk.ac.bham.gloss.Token
Returns the type of this token as a String.
typeString - Static variable in class uk.ac.bham.gloss.Mode
 

U

ucre - Static variable in class uk.ac.bham.gloss.StreamTokenizer
ucre matches a unicode character in UTF-16
ucreREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
uk.ac.bham.gloss - package uk.ac.bham.gloss
 
UNDEFINED_TYPE - Static variable in class uk.ac.bham.gloss.Mode
 
unescape(String) - Static method in class uk.ac.bham.gloss.Token
Unescapes a string where: \n->newline \r->cr, \t->tab, \c->c, for any other c and c->c otherwise.
ungetToken() - Method in class uk.ac.bham.gloss.StreamTokenizer
Restores the state of this Tokenizer to just before the last getToken operation.
ungetToken() - Method in interface uk.ac.bham.gloss.Tokenizer
 
ungetToken() - Method in class uk.ac.bham.gloss.TokenTokenizer
 
uqnre - Static variable in class uk.ac.bham.gloss.StreamTokenizer
uqnre matches a namespace prefix.
uridtsREI - Variable in class uk.ac.bham.gloss.StreamTokenizer
 
urire - Static variable in class uk.ac.bham.gloss.StreamTokenizer
urire matches a uri constant which can be almost anything that uses the safe characters a-z A-Z 0-9 $ - _ .
useIndentation - Variable in class uk.ac.bham.gloss.Mode
 
useIndentation() - Method in class uk.ac.bham.gloss.Mode
returns the use-indentation status
useIndentation() - Method in class uk.ac.bham.gloss.ModeExecution
returns the use indentation status
useIndentationDef - Variable in class uk.ac.bham.gloss.Mode
 

V

Validate - Class in uk.ac.bham.gloss
Reads and validates an XML file, using GLOSS's own resolver and error handler to generate the messages.
Validate() - Constructor for class uk.ac.bham.gloss.Validate
 
validate(String[], Logger) - Static method in class uk.ac.bham.gloss.Validate
validate: the main method, without any exception trapping.
validTypes(int) - Static method in class uk.ac.bham.gloss.Token
Returns a string of the form "type|type|...|type" representing all the allowed types and allowed punctuation.
validTypes(int, String) - Static method in class uk.ac.bham.gloss.Token
Returns a string of the form "type|type|...|type|p|p" representing all the allowed types and allowed punctuation.
value() - Method in class uk.ac.bham.gloss.Token
Returns the value part of this token's data.
valuere - Static variable in class uk.ac.bham.gloss.StreamTokenizer
valuere matches either stringre1, stringre2 or a string not starting with " or ' and not containing whitespace

W

warning(SAXParseException) - Method in class uk.ac.bham.gloss.ErrorHandler
Prints a warning message to standard error and continues.
warning(TransformerException) - Method in class uk.ac.bham.gloss.ErrorHandler
Prints a warning message to standard error and continues.
warning(String) - Method in class uk.ac.bham.gloss.XRNormalizer
Prints a warning message, or throws and exception, etc.

X

xmlescape(String) - Static method in class uk.ac.bham.gloss.Token
escapes a string where: newline-> cr-> , tab-> , "->", '->' &->& etc and c->c otherwise.
xmlnsURI - Variable in class uk.ac.bham.gloss.XRNormalizer
 
xmlURI - Variable in class uk.ac.bham.gloss.XRNormalizer
 
XRNormalizer - Class in uk.ac.bham.gloss
This is a class that checks and normalizes an XR document with xmlrepresentation mark-up.
XRNormalizer() - Constructor for class uk.ac.bham.gloss.XRNormalizer
 
xrPrefix - Variable in class uk.ac.bham.gloss.XRNormalizer
The URI default prefix and namespace of the xmlrepresentation tags
XRPrinter - Class in uk.ac.bham.gloss
This is the class representing objects that take a DOM with XR mark-up and prints xml to an output stream.
XRPrinter(OutputStream) - Constructor for class uk.ac.bham.gloss.XRPrinter
Constructor: specify the output stream for documents to go to.
xrURI - Variable in class uk.ac.bham.gloss.GlossExecution
The namespace URI of the xr elements.
xrURI - Variable in class uk.ac.bham.gloss.XRNormalizer
 

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