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

A

AbstractRegexProcessor - class org.txt2xml.core.AbstractRegexProcessor.
Base class for regex based Processors that can accept a pattern String and need to create a java.util.regex.Matcher before processing text.
AbstractRegexProcessor() - Constructor for class org.txt2xml.core.AbstractRegexProcessor
 

B

Batch - class org.txt2xml.cli.Batch.
A simple command line utility to apply a txt2xml conversion with a specified configuration to a set of files.
Batch() - Constructor for class org.txt2xml.cli.Batch
 

C

charAt(int) - Method in class org.txt2xml.core.SubCharSequence
 
chars - Variable in class org.txt2xml.core.Processor
The current CharSequence being matched against.
CONFIG_TEXT - Static variable in class org.txt2xml.gui.GuiModel
 
ConfigException - exception org.txt2xml.config.ConfigException.
 
ConfigException() - Constructor for class org.txt2xml.config.ConfigException
 
ConfigException(String) - Constructor for class org.txt2xml.config.ConfigException
 
ConfigException(String, Throwable) - Constructor for class org.txt2xml.config.ConfigException
 
ConfigException(Throwable) - Constructor for class org.txt2xml.config.ConfigException
 
createProcessor(Reader) - Method in class org.txt2xml.config.ProcessorFactory
Read the configuration and return the Processor defined: this will include sub-Processors or following Processors if defined in the config.
createProcessor(URL) - Method in class org.txt2xml.config.ProcessorFactory
Read the configuration and return the Processor defined: this will include sub-Processors or following Processors if defined in the config.

D

DEST_TEXT - Static variable in class org.txt2xml.gui.GuiModel
 
doHandleControl(Control) - Method in class org.txt2xml.gui.GuiController
 
DomDriver - class org.txt2xml.driver.DomDriver.
Sends XML from a Processor into a DOM document.
DomDriver() - Constructor for class org.txt2xml.driver.DomDriver
 
DomDriver(Processor) - Constructor for class org.txt2xml.driver.DomDriver
 

E

equals(Object) - Method in class org.txt2xml.core.SubCharSequence
 
ERROR_MESSAGE - Static variable in class org.txt2xml.gui.GuiModel
 

F

findMatch() - Method in class org.txt2xml.core.RegexMatchProcessor
 
findMatch() - Method in class org.txt2xml.core.RegexDelimitedProcessor
 
findMatch() - Method in class org.txt2xml.core.Processor
Find next match, updating state appropriately.

G

generateEndXmlElement() - Method in class org.txt2xml.core.Processor
Write the end element for this Processor.
generateStartXmlElement() - Method in class org.txt2xml.core.Processor
Write this Processor's start element as a simple element with no attributes.
generateXmlDocument(CharSequence) - Method in class org.txt2xml.driver.JdomDriver
 
generateXmlDocument(CharSequence) - Method in class org.txt2xml.driver.DomDriver
Dump XML into a returned DOM Document.
generateXmlDocument(CharSequence, ContentHandler) - Method in class org.txt2xml.driver.SaxDriver
Dump XML to a SAX ContentHandler.
generateXmlDocument(CharSequence, OutputStream) - Method in class org.txt2xml.driver.StreamDriver
Dump XML to an OutputStream using a null XSL Transformer as a serializer, and closing the OutputStream after use.
generateXmlElementCharacters() - Method in class org.txt2xml.core.Processor
Write the contents of the element.
generateXmlFragment(CharSequence, ContentHandler) - Method in class org.txt2xml.core.Processor
Match part of the passed CharSequence.
getCloseControl() - Method in class org.txt2xml.gui.GuiView
 
getConfigText() - Method in class org.txt2xml.gui.GuiModel
 
getDestText() - Method in class org.txt2xml.gui.GuiModel
 
getElement() - Method in class org.txt2xml.core.Processor
 
getErrorMessage() - Method in class org.txt2xml.gui.GuiModel
 
getInstance() - Static method in class org.txt2xml.config.ProcessorFactory
 
getMatchedText() - Method in class org.txt2xml.core.RegexMatchProcessor
 
getMatchedText() - Method in class org.txt2xml.core.RegexDelimitedProcessor
 
getMatchedText() - Method in class org.txt2xml.core.Processor
Override this!
getMenuBar() - Method in class org.txt2xml.gui.GuiView
 
getNextProcessor() - Method in class org.txt2xml.core.Processor
Gets the nextProcessor.
getOffset() - Method in class org.txt2xml.core.SubCharSequence
 
getOutputProperties() - Method in class org.txt2xml.driver.StreamDriver
Gets the current output properties used for the Transformer that serializes XML to an OutputStream.
getRegex() - Method in class org.txt2xml.core.AbstractRegexProcessor
 
getRemainderText() - Method in class org.txt2xml.core.RegexMatchProcessor
 
getRemainderText() - Method in class org.txt2xml.core.RegexDelimitedProcessor
 
getRemainderText() - Method in class org.txt2xml.core.Processor
Override this!
getSourceText() - Method in class org.txt2xml.gui.GuiModel
 
getSubProcessor() - Method in class org.txt2xml.core.Processor
 
getTitle() - Method in class org.txt2xml.gui.GuiView
 
GuiController - class org.txt2xml.gui.GuiController.
 
GuiModel - class org.txt2xml.gui.GuiModel.
 
GuiModel() - Constructor for class org.txt2xml.gui.GuiModel
 
GuiView - class org.txt2xml.gui.GuiView.
 
GuiView() - Constructor for class org.txt2xml.gui.GuiView
 

H

handler - Variable in class org.txt2xml.core.Processor
The current ContentHandler to write XML to.

J

JdomDriver - class org.txt2xml.driver.JdomDriver.
Sends XML from a Processor into a JDOM document.
JdomDriver() - Constructor for class org.txt2xml.driver.JdomDriver
 
JdomDriver(Processor) - Constructor for class org.txt2xml.driver.JdomDriver
 

L

length() - Method in class org.txt2xml.core.SubCharSequence
 
LOAD_CONFIG - Static variable in class org.txt2xml.gui.GuiController
 
LOAD_SOURCE - Static variable in class org.txt2xml.gui.GuiController
 
loadConfigFromFile(File) - Method in class org.txt2xml.gui.GuiModel
 
loadSourceFromFile(File) - Method in class org.txt2xml.gui.GuiModel
 

M

main(String[]) - Static method in class org.txt2xml.cli.Batch
 
main(String[]) - Static method in class org.txt2xml.gui.GuiController
 
matchEnd - Variable in class org.txt2xml.core.RegexDelimitedProcessor
 
matcher - Variable in class org.txt2xml.core.AbstractRegexProcessor
 
matchStart - Variable in class org.txt2xml.core.RegexDelimitedProcessor
 

N

nextMatchFrom - Variable in class org.txt2xml.core.RegexDelimitedProcessor
 
NULL_ATTRIBUTES - Static variable in class org.txt2xml.core.Processor
 
NULL_ATTRIBUTES - Static variable in class org.txt2xml.driver.SaxDriver
 

O

org.txt2xml.cli - package org.txt2xml.cli
 
org.txt2xml.config - package org.txt2xml.config
 
org.txt2xml.core - package org.txt2xml.core
 
org.txt2xml.driver - package org.txt2xml.driver
 
org.txt2xml.gui - package org.txt2xml.gui
 

P

parent - Variable in class org.txt2xml.core.Processor
Parent Processor that is using this as a sub-Processor.
pattern - Variable in class org.txt2xml.core.AbstractRegexProcessor
 
PROCESS - Static variable in class org.txt2xml.gui.GuiController
 
process() - Method in class org.txt2xml.gui.GuiModel
Create a Processor from the current config text and apply it to the current source text, putting the result into the dest text.
Processor - class org.txt2xml.core.Processor.
Base class for agents that match part(s) of a CharSequence and write XML Elements as match(es) are found.
Processor() - Constructor for class org.txt2xml.core.Processor
 
ProcessorFactory - class org.txt2xml.config.ProcessorFactory.
Create a Processor from a configuration file.

R

readProcessor(Element) - Method in class org.txt2xml.config.ProcessorFactory
Read config for a Processor in the passed "Processor" Element and return the Processor defined there, including sub-Processors.
readProcessorSequenceFrom(Element) - Method in class org.txt2xml.config.ProcessorFactory
Read config contained by the passed parent Element and return the sequence of Processors defined there, which might include sub-Processors and following Processors if defined.
regex - Variable in class org.txt2xml.core.AbstractRegexProcessor
 
RegexDelimitedProcessor - class org.txt2xml.core.RegexDelimitedProcessor.
Repeatedly matches sections of text delimited by a regex pattern.
RegexDelimitedProcessor() - Constructor for class org.txt2xml.core.RegexDelimitedProcessor
 
RegexMatchProcessor - class org.txt2xml.core.RegexMatchProcessor.
Matches sections of text specified by groups in a regex pattern.
RegexMatchProcessor() - Constructor for class org.txt2xml.core.RegexMatchProcessor
 
resetMatching() - Method in class org.txt2xml.core.RegexMatchProcessor
Matches against the regex to find all matched groups that will be stepped through in RegexMatchProcessor.findMatch().
resetMatching() - Method in class org.txt2xml.core.AbstractRegexProcessor
 
resetMatching() - Method in class org.txt2xml.core.RegexDelimitedProcessor
 
resetMatching() - Method in class org.txt2xml.core.Processor
Called at start of Processor.generateXmlFragment(CharSequence, ContentHandler) to reset the state before starting a round of matching.
ROOT_ELEMENT - Static variable in class org.txt2xml.driver.SaxDriver
 

S

SAVE_CONFIG - Static variable in class org.txt2xml.gui.GuiController
 
SAVE_SOURCE - Static variable in class org.txt2xml.gui.GuiController
 
saveConfigToFile() - Method in class org.txt2xml.gui.GuiModel
 
saveSourceToFile() - Method in class org.txt2xml.gui.GuiModel
 
SaxDriver - class org.txt2xml.driver.SaxDriver.
Use the XML output from a Processor to drive a SAX ContentHandler.
SaxDriver() - Constructor for class org.txt2xml.driver.SaxDriver
 
SaxDriver(Processor) - Constructor for class org.txt2xml.driver.SaxDriver
 
setConfigText(String) - Method in class org.txt2xml.gui.GuiModel
Set a new config text and then process().
setDestText(String) - Method in class org.txt2xml.gui.GuiModel
 
setElement(String) - Method in class org.txt2xml.core.Processor
 
setErrorMessage(String) - Method in class org.txt2xml.gui.GuiModel
 
setNextProcessor(Processor) - Method in class org.txt2xml.core.Processor
Sets the nextProcessor.
setOutputProperties(Properties) - Method in class org.txt2xml.driver.StreamDriver
Gets the current output properties used for the Transformer that serializes XML to an OutputStream.
setProcessor(Processor) - Method in class org.txt2xml.driver.SaxDriver
 
setRegex(String) - Method in class org.txt2xml.core.AbstractRegexProcessor
 
setSourceText(String) - Method in class org.txt2xml.gui.GuiModel
Set a new source text and then process().
setSubProcessor(Processor) - Method in class org.txt2xml.core.Processor
 
SOURCE_TEXT - Static variable in class org.txt2xml.gui.GuiModel
 
StreamDriver - class org.txt2xml.driver.StreamDriver.
Sends XML from a Processor to a Stream via a null Transformer used as a serializer.
StreamDriver() - Constructor for class org.txt2xml.driver.StreamDriver
 
StreamDriver(Processor) - Constructor for class org.txt2xml.driver.StreamDriver
 
SubCharSequence - class org.txt2xml.core.SubCharSequence.
For internal use.
SubCharSequence(CharSequence, int, int) - Constructor for class org.txt2xml.core.SubCharSequence
 
subSequence(int, int) - Method in class org.txt2xml.core.SubCharSequence
 

T

toString() - Method in class org.txt2xml.core.SubCharSequence
 

U

useDebugOutputProperties() - Method in class org.txt2xml.driver.StreamDriver
Make a set of default OutputProperties for Transformer.setOutputProperties suitable for debug XML output.

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

Copyright 2002 Steve Meyfroidt. All Rights Reserved.