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

A

actionPerformed(ActionEvent) - Method in class com.reverseXSL.util.RegexCheck
 
add(Object) - Method in class com.reverseXSL.parser.Parser.ExceptionListIterator
 
adjustExceptionsLineOffsets(int) - Method in class com.reverseXSL.parser.Parser
Adjust the line offsets of all recorded exceptions by adding the given adjustment value to all line offsets (relevant whenever the input message is set of lines).
ANY - Static variable in class com.reverseXSL.types.DataFormat
DataFormat data can be anything; it is unspecified.

B

BINARY - Static variable in class com.reverseXSL.types.DataFormat
Full transparent binary content that must be preserved from any alteration

C

Cardinality - Class in com.reverseXSL.types
Marks the Cardinality of a group, segment or data element: Mandatory, Optional or Conditional.
com.reverseXSL - package com.reverseXSL
The reverseXSL software provides two interfaces: The command line interface is described in this one package. The API, comprising the Transformer, TransformerFactory, and lower-level Parser objects; cfr these other packages.
com.reverseXSL.exception - package com.reverseXSL.exception
 
com.reverseXSL.message - package com.reverseXSL.message
 
com.reverseXSL.parser - package com.reverseXSL.parser
 
com.reverseXSL.transform - package com.reverseXSL.transform
 
com.reverseXSL.types - package com.reverseXSL.types
 
com.reverseXSL.util - package com.reverseXSL.util
 
CONDITIONAL - Static variable in class com.reverseXSL.types.Cardinality
Marks a Conditional group, segment or data element; its presence in the message depends from the existence (or values) of other groups, segments or data elements.
CSV - Static variable in class com.reverseXSL.types.DataFormat
A text-oriented dataFormat with Comma Separated Values; also holds for ';', tabs and other usual separators.
CurrentDate - Class in com.reverseXSL.util
To be used as Xalan XSLT extension function for inserting the current date into XSLT outputs.
CurrentDate() - Constructor for class com.reverseXSL.util.CurrentDate
 

D

Data - Class in com.reverseXSL.message
Wraps byte-oriented collections or structures into an object enriched with numerous methods capable of normalizing interchange data.
Data(ByteBuffer) - Constructor for class com.reverseXSL.message.Data
Instantiate a Data object from a byte buffer, assuming UTF-8 as charset for character oriented operations on this data.
Data(ByteBuffer, Charset) - Constructor for class com.reverseXSL.message.Data
Instantiate a Data object from a byte buffer, with the explicit charset that must be assumed for character oriented operations on this data.
Data(byte[]) - Constructor for class com.reverseXSL.message.Data
Instantiate a Data object from a byte array, assuming UTF-8 as charset for character oriented operations on this data.
Data(byte[], Charset) - Constructor for class com.reverseXSL.message.Data
Instantiate a Data object from a byte buffer, with the explicit charset that must be assumed for character oriented operations on this data.
Data(InputStream, Charset) - Constructor for class com.reverseXSL.message.Data
Instantiate a Data object from a byte buffer, with the explicit charset that must be assumed for character oriented operations on this data.
DataFormat - Class in com.reverseXSL.types
DataFormat singletons indicate the format of message data (CSV, XML, free text, etc.).
Definition - Class in com.reverseXSL.parser
A Definition object holds the complete hierarchical description of a text-based structured message.
Definition() - Constructor for class com.reverseXSL.parser.Definition
This is the only way to create a new Definition object.

E

EDIFACT - Static variable in class com.reverseXSL.types.DataFormat
An EDIFACT interchange as defined by standard ISO 9735 (made by United Nations Trade Facilitation Committee).
equals(Object) - Method in class com.reverseXSL.types.Cardinality
 
equals(Object) - Method in class com.reverseXSL.types.DataFormat
 
equals(Object) - Method in class com.reverseXSL.types.Handling
 
equals(Object) - Method in class com.reverseXSL.types.Impact
 
equals(Object) - Method in class com.reverseXSL.types.Priority
 
exceptionIterator() - Method in class com.reverseXSL.parser.Parser
Provides a List Iterator on the Array List of recorded exceptions (stored in parser state next to a Parser.parse(String, String, int).
extractCompositeValue(StringBuffer, Pattern, String) - Method in class com.reverseXSL.parser.Parser
Magic procedure able to return the concatenated value of all capturing groups in a complex pattern applied to a string (the pattern can match once or more times).
extractCompositeValue(StringBuffer, Pattern) - Method in class com.reverseXSL.parser.Parser
Magic procedure able to return the concatenated value of all capturing groups in a complex pattern applied to a string (the pattern can match once or more times).
extractReference(CharSequence, String) - Static method in class com.reverseXSL.message.Header
The procedure concatenates all captured info pieces (by one or several capturing groups in the regular expression) from the first match found in the char sequence passed as argument, using MULTILINE and DOTALL modes.
extractReference(CharSequence, String, int) - Static method in class com.reverseXSL.message.Header
Variant of Header.extractReference(CharSequence, String) that limits here the pattern lookup to the region from the first to 'upTo' characters.

F

FATAL - Static variable in class com.reverseXSL.types.Impact
FATAL exception for the relevant message; it implies that the message cannot be processed to the end, and will be rejected; the parser may be allowed to continue and record more than one FATAL exception before rejecting a message.
fatalExceptionsCount() - Method in class com.reverseXSL.parser.Parser.ExceptionListIterator
 
find(String) - Static method in class com.reverseXSL.types.DataFormat
 
find(String) - Static method in class com.reverseXSL.types.Priority
 
FormattedException - Exception in com.reverseXSL.exception
FormattedException is the root of all exceptions that are handled according to the 'i18n' multi-language support standard by the reverseXSL software.
FormattedMessage - Class in com.reverseXSL.exception
Provides multi-language suport for application messages, regular traces, and logs.
Formatters - Class in com.reverseXSL.util
A collection of utility methods bound to formatting data.
Formatters() - Constructor for class com.reverseXSL.util.Formatters
 

G

getArray() - Method in class com.reverseXSL.message.Data
Get the backing byte array.
getBytes() - Method in class com.reverseXSL.message.Data
 
getCause() - Method in exception com.reverseXSL.exception.FormattedException
 
getConvertedData(int) - Method in class com.reverseXSL.message.Data
Converting the Data bytes to Characters while at the same time filtering and normalizing data.
getFormat() - Method in class com.reverseXSL.message.Data
Get the data format type.
getLocalizedMessage() - Method in exception com.reverseXSL.exception.FormattedException
 
getLog() - Method in class com.reverseXSL.transform.Transformer
get a printable log of the Transformer activities during the last call to Transformer.transform(InputStream, OutputStream).
getMessage() - Method in exception com.reverseXSL.exception.FormattedException
Get the formatted message through the FormattingService, itself based on MessageFormat.
getMessage() - Method in class com.reverseXSL.exception.FormattedMessage
Get the formatted message through the FormattingService, itself based on MessageFormat.
getName() - Method in class com.reverseXSL.transform.Transformer
get the name of the Mapping Selection Table entry that has just been used to transform the last message.
getParserExceptionListIterator() - Method in class com.reverseXSL.transform.Transformer
Browse the detail, exception per exception with possible nested causes, of the Parser warnings and errors.
getParserExceptionListXML() - Method in class com.reverseXSL.transform.Transformer
Returns an XML document representation of all Parser warnings and errors in sequence.
getParserExceptionsCount() - Method in class com.reverseXSL.transform.Transformer
Whenever Transformer.transform(InputStream, OutputStream) is invoked, it returns the total count of parser exceptions (below thresholds, otherwise an exception would have been thrown).
getXML(boolean, boolean) - Method in class com.reverseXSL.parser.Parser
Provides an XML rendering of the tagged message as resulting from parsing, i.e.
getXMLSample(boolean, boolean) - Method in class com.reverseXSL.parser.Definition
Generates a sample XML message with element descriptions as data values.

H

Handling - Class in com.reverseXSL.types
To indicate the expected Handling of parser exceptions: Record or Throw the exception.
hasNext() - Method in class com.reverseXSL.parser.Parser.ExceptionListIterator
 
hasNextFatal() - Method in class com.reverseXSL.parser.Parser.ExceptionListIterator
 
hasPrevious() - Method in class com.reverseXSL.parser.Parser.ExceptionListIterator
 
Header - Class in com.reverseXSL.message
NOTE: The support for EDI headers is not yet integrated into the current version of the tool set, but a few static utility procedures are already used elsewhere.
Header() - Constructor for class com.reverseXSL.message.Header
 
hexEscape(byte[], int, int) - Static method in class com.reverseXSL.util.Formatters
Utility method to hex-encode a byte array so that it becomes XML-safe and readable whatever the enclosed byte values.
hexUnEscape(String) - Static method in class com.reverseXSL.util.Formatters
Inverse of Formatters.hexEscape(byte[], int, int).

I

IATA - Static variable in class com.reverseXSL.types.DataFormat
A standard IATA message for IMP, AHM, SSIM and other sub-brands, starting with a Type-B SITA header.
identify() - Method in class com.reverseXSL.message.Data
Inspect data and set the data format type.
identify(String) - Static method in class com.reverseXSL.message.Data
Attempts an identification of the data format based on a short string.
Impact - Class in com.reverseXSL.types
Impact singletons specify the impact-level of a given exception onto a processed message (FATAL or WARNING), and not onto the system in general.

L

length() - Method in class com.reverseXSL.message.Data
get the actual data length.
loadDefinition(LineNumberReader) - Method in class com.reverseXSL.parser.Definition
Build a Definition object from a LineNumberReader containing a complete DEF file.
LOW - Static variable in class com.reverseXSL.types.Priority
Low priority message; may be batched for delayed transmission

M

main(String[]) - Static method in class com.reverseXSL.Parse
Command-line tool entry point.
main(String[]) - Static method in class com.reverseXSL.Transform
Entry to the command-line tool for 'reverse-XSL' data transformations.
main(String[]) - Static method in class com.reverseXSL.util.RegexCheck
 
MANDATORY - Static variable in class com.reverseXSL.types.Cardinality
Marks a Mandatory group, segment or data element.

N

newInstance() - Static method in class com.reverseXSL.transform.TransformerFactory
Instantiates a Transformer Factory that will load meta-data from the software distribution jar file itself.
newTransformer() - Method in class com.reverseXSL.transform.TransformerFactory
Instantiate a new Transformer from the factory.
newTransformer(Reader, Reader) - Method in class com.reverseXSL.transform.TransformerFactory
Instantiates a new Transformer instance from the factory, which will bypass the Mapping Selection process.
newTransformer(JarFile) - Method in class com.reverseXSL.transform.TransformerFactory
Instantiates a Transformer with meta-data from an explicitly specified jar file.
next() - Method in class com.reverseXSL.parser.Parser.ExceptionListIterator
 
nextException() - Method in class com.reverseXSL.parser.Parser.ExceptionListIterator
 
nextFatalException() - Method in class com.reverseXSL.parser.Parser.ExceptionListIterator
 
nextIndex() - Method in class com.reverseXSL.parser.Parser.ExceptionListIterator
 
niceXML(StringBuffer, String, String) - Static method in class com.reverseXSL.util.Formatters
There a BIG issue with indentation according to the JVM version and/or preferred XML parser on the classpath.
NORMAL - Static variable in class com.reverseXSL.types.Priority
Default Priority; just process on the fly
nowDate() - Static method in class com.reverseXSL.util.CurrentDate
Returns a predefined-format date string.
nowDate(String) - Static method in class com.reverseXSL.util.CurrentDate
Returns a date string formatted as specified in argument.
nowXMLDate() - Static method in class com.reverseXSL.util.CurrentDate
Returns a date and time value compliant with the XML-schema dateTime simple type.

O

OPTIONAL - Static variable in class com.reverseXSL.types.Cardinality
Marks an Optional group, segment or data element.

P

Parse - Class in com.reverseXSL
The stand-alone command-line Parser is quite useful in development-cycle automation.
Parse() - Constructor for class com.reverseXSL.Parse
 
parse(String, LineNumberReader, int) - Method in class com.reverseXSL.parser.Parser
Parses an input character stream using a LineNumberReader.
parse(String, String, int) - Method in class com.reverseXSL.parser.Parser
Variant parse method starting from a string and falling back onto the other Parser.parse(String, LineNumberReader, int) method whenever the system discovers that the cut function at the Message level is CUT-ON-NL.
Parser - Class in com.reverseXSL.parser
Provides the methods to translate input character streams into XML documents.
Parser() - Constructor for class com.reverseXSL.parser.Parser
Required but not much useful as such.
Parser(Definition, int, int) - Constructor for class com.reverseXSL.parser.Parser
Initialises a new Parser object with a reference Definition and Exception handling parameters.
Parser(Definition, int, int, int) - Constructor for class com.reverseXSL.parser.Parser
Variant of Parser.Parser(Definition, int, int) that allows to set the max number of successive segment/element matching failures after which the parser will attempt to 'backtrack'.
Parser.ExceptionListIterator - Class in com.reverseXSL.parser
This Inner Class sub-classes a ListIterator such as to support methods more specific to the handling of the Exception list recorded by the parser.
Parser.ExceptionListIterator(ArrayList) - Constructor for class com.reverseXSL.parser.Parser.ExceptionListIterator
 
previous() - Method in class com.reverseXSL.parser.Parser.ExceptionListIterator
 
previousIndex() - Method in class com.reverseXSL.parser.Parser.ExceptionListIterator
 
printableTransform(InputStream, StringBuffer) - Method in class com.reverseXSL.transform.Transformer
A variant of Transformer.transform(InputStream, OutputStream) that guarantees a nice indentation of XML outputs; neutral operation for other brands.
Priority - Class in com.reverseXSL.types
Defines message priority (header level): Urgent, Normal, Low
PROPRIETARY - Static variable in class com.reverseXSL.types.DataFormat
A bilaterally agreed format, a corporate flat file.

R

RECORD - Static variable in class com.reverseXSL.types.Handling
Instructs to Record parser exceptions.
RegexCheck - Class in com.reverseXSL.util
Command-line tool.
RegexCheck() - Constructor for class com.reverseXSL.util.RegexCheck
 
remove() - Method in class com.reverseXSL.parser.Parser.ExceptionListIterator
 
removeNonRepeatableNilOptionalElements(boolean) - Method in class com.reverseXSL.parser.Parser
This method must be called before parsing in itself (i.e.
reset() - Method in class com.reverseXSL.transform.Transformer
Reset the Transformer state and free associated resources.

S

set(Object) - Method in class com.reverseXSL.parser.Parser.ExceptionListIterator
 
setBaseNamespace(String) - Method in class com.reverseXSL.parser.Parser
Sets the base XML namespace for every following Parser.parse(String, LineNumberReader, int) invocation followed by Parser.getXML(boolean, boolean).
setExternalMappingSelectionTable(Reader) - Method in class com.reverseXSL.transform.TransformerFactory
Imposes the specified Mapping Selection Table meta-data (full replacement).
setExternalMappingSelectionTable(Reader, String) - Method in class com.reverseXSL.transform.TransformerFactory
Imposes the specified Mapping Selection Table meta-data (full replacement).
setInputCharSet(Charset) - Method in class com.reverseXSL.transform.TransformerFactory
Sets the Charset used for decoding input message bytes into characters, using a java Charset object.
setInputCharSet(String) - Method in class com.reverseXSL.transform.TransformerFactory
Sets the Charset used for decoding input message bytes into characters, using a java Charset name.
setInputDataConversions(int) - Method in class com.reverseXSL.transform.TransformerFactory
Sets the conversions to perform on input data at byte or character level before applying transformations in proper.
setLocalMessageReferences(String, Date) - Method in class com.reverseXSL.transform.Transformer
Impose a fixed message ID and fixed date as message references.
setLocalMessageReferences(String, DecimalFormat) - Method in class com.reverseXSL.transform.Transformer
Defines the message ID from a base string that will be followed by a decimal format.
setOutputCharSet(Charset) - Method in class com.reverseXSL.transform.TransformerFactory
Sets the Charset used for encoding output message characters into bytes, using a java Charset object.
setOutputCharSet(String) - Method in class com.reverseXSL.transform.TransformerFactory
Sets the Charset used for encoding output message characters into bytes, using a java Charset object.
setParserExceptionThresholds(int, int) - Method in class com.reverseXSL.transform.TransformerFactory
Sets specific Parser tolerance to input message syntax errors.
setParserRemoveNonRepeatableNilOptionalElements(boolean) - Method in class com.reverseXSL.transform.TransformerFactory
Would cause (if set TRUE) to remove from the output XML document all data elements with a NIL value that are optional or conditional elements, and whose matching definition indicates that the element is non repeatable (i.e.
setPrintableXmlIndent(String) - Method in class com.reverseXSL.transform.TransformerFactory
Sets the pattern of chars that will be repeated at each depth level to indent the printable-XML output.
SWIFT - Static variable in class com.reverseXSL.types.DataFormat
A standard financial message as defined in the SWIFT FIN User Handbook.

T

table - Static variable in class com.reverseXSL.types.Cardinality
May be used to iterate over all possible enumeration values.
table - Static variable in class com.reverseXSL.types.DataFormat
May be used to iterate over all possible enumeration values.
table - Static variable in class com.reverseXSL.types.Handling
May be used to iterate over all possible enumeration values.
table - Static variable in class com.reverseXSL.types.Impact
May be used to iterate over all possible enumeration values.
table - Static variable in class com.reverseXSL.types.Priority
May be used to iterate over all possible enumeration values.
TEXT - Static variable in class com.reverseXSL.types.DataFormat
Plain human readable text
THROW - Static variable in class com.reverseXSL.types.Handling
Instructs to Throw parser exceptions.
toCode() - Method in class com.reverseXSL.types.Handling
 
toCode() - Method in class com.reverseXSL.types.Impact
 
tokenValue(String) - Static method in class com.reverseXSL.message.Data
utility method to convert named conversion tokens into the corresponding conversion token value.
toString() - Method in exception com.reverseXSL.exception.FormattedException
Similar to FormattedException.getMessage(), prefixed with the error code.
toString() - Method in class com.reverseXSL.exception.FormattedMessage
Same as FormattedMessage.getMessage().
toString() - Method in class com.reverseXSL.parser.Definition
In order to trace the definition itself, i.e.
toString() - Method in class com.reverseXSL.parser.Parser
Dumps an overview of the parser state into a text string.
toString() - Method in class com.reverseXSL.transform.Transformer
 
toString() - Method in class com.reverseXSL.types.Cardinality
Provides a default string rendering with code only.
toString() - Method in class com.reverseXSL.types.DataFormat
 
toString() - Method in class com.reverseXSL.types.Handling
Provides a default string rendering with long name only.
toString() - Method in class com.reverseXSL.types.Impact
Provides a default string rendering with long name only.
toString() - Method in class com.reverseXSL.types.Priority
Provides a default string rendering with long name followed by (CODE) as would be used when using a member like Priority.CODE.
totalExceptionsCount() - Method in class com.reverseXSL.parser.Parser.ExceptionListIterator
 
toVerboseString() - Method in class com.reverseXSL.types.DataFormat
Provides a default string rendering with long name followed by (CODE) as would be used when using a member like AddressType.CODE.
TRADACOMS - Static variable in class com.reverseXSL.types.DataFormat
A Standard TRADACOMS message as edited by the UK Article Numbering Association.
Transform - Class in com.reverseXSL
Transformation command-line tool.
Transform() - Constructor for class com.reverseXSL.Transform
 
transform(InputStream, OutputStream) - Method in class com.reverseXSL.transform.Transformer
Reads a message from the InputStream (till no more bytes are available) and then transforms it according to Parsing and XSL Transformation steps defined in the Mapping Selection Table.
Transformer - Class in com.reverseXSL.transform
Executes message transformations, which may comprise a Parsing step and an XSLT step (or only one of, or none at all = pass-through).
TransformerFactory - Class in com.reverseXSL.transform
A TransformerFactory is instantiated with a source of transformation meta-data, namely mapping selection meta-data as well as parsing DEFinitions and XSL transformation templates.

U

URGENT - Static variable in class com.reverseXSL.types.Priority
Urgent message; shall be processed first; can pass in front of other messages and/or be routed through specific/reserved communication channels

W

WARNING - Static variable in class com.reverseXSL.types.Impact
WARNING impact exception affecting a message; the message may in theory be processed entirely and even distributed to recipients, but with warnings.

X

X12 - Static variable in class com.reverseXSL.types.DataFormat
The American National Standard ANSI X12, published by NIST.
XML - Static variable in class com.reverseXSL.types.DataFormat
a valid XML document

_

_1NewLineAtEnd - Static variable in class com.reverseXSL.message.Data
arg for Data.getConvertedData(int) : suppress trailing empty lines and ensure that the very last data line bears a single line terminator.
_ASCII7bits - Static variable in class com.reverseXSL.message.Data
arg for Data.getConvertedData(int) : control characters (value<32) are discarded except for tabs, carriage returns and line feeds.
_NoBlankLine - Static variable in class com.reverseXSL.message.Data
arg for Data.getConvertedData(int) : suppress blank lines everywhere in the original data.
_NoCRLFBytes - Static variable in class com.reverseXSL.message.Data
arg for Data.getConvertedData(int) : suppress all CR's and LF's.
_NoCtrlBytes - Static variable in class com.reverseXSL.message.Data
arg for Data.getConvertedData(int) : control BYTES (value<32) are discarded except for tabs, carriage returns and line feeds.
_NoCtrlChars - Static variable in class com.reverseXSL.message.Data
arg for Data.getConvertedData(int) : control characters (value<32) are discarded except for tabs, carriage returns and line feeds.
_NONE - Static variable in class com.reverseXSL.message.Data
arg for Data.getConvertedData(int) : case of no conversion requested.
_ToCRLF - Static variable in class com.reverseXSL.message.Data
arg for Data.getConvertedData(int) : convert standalone LF's to CRLF's, and preserve existing CRLF's.
_ToLF - Static variable in class com.reverseXSL.message.Data
arg for Data.getConvertedData(int) : remove CR's.
_ToUPPER - Static variable in class com.reverseXSL.message.Data
arg for Data.getConvertedData(int) : convert all characters to their uppercase equivalents (based on built-in java String methods).
_TrimNBSP - Static variable in class com.reverseXSL.message.Data
arg for Data.getConvertedData(int) : Trim Non-Breaking SPaces (i.e.
_UnfoldPSCRMRemarks - Static variable in class com.reverseXSL.message.Data
arg for Data.getConvertedData(int) : IATA PSCRM messages still generated by older systems can enforce the 69 chars limit of the even older TELEX transmission system by cutting lines in the middle of remarks elements, e.g.

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