A B C E F G I L M N P R S T

A

addResult(Element) - Method in class com.simonstl.fragment.FragmentRule
 
addRule(Element, FragmentRule) - Method in class com.simonstl.fragment.FragmentRules
 
append(String) - Method in class com.simonstl.fragment.BufferStack
 
appliesTo - Static variable in class com.simonstl.fragment.RulesLoader
 

B

BoolStack - class com.simonstl.fragment.BoolStack.
The BoolStack class stores a stack of Boolean vales so that the FragmentFilter can keep track of which elements in a generated set need fragmenting.
BoolStack() - Constructor for class com.simonstl.fragment.BoolStack
 
BufferStack - class com.simonstl.fragment.BufferStack.
The BufferStack class stores a stack of StringBuffer values so that the FragmentFilter can keep track of multiple buffers during multi-level fragmentation.
BufferStack() - Constructor for class com.simonstl.fragment.BufferStack
 

C

characters(char[], int, int) - Method in class com.simonstl.fragment.FragmentFilter
If the current context isn't matched by any rules, this passes text through.
clear() - Method in class com.simonstl.fragment.BoolStack
 
clear() - Method in class com.simonstl.fragment.BufferStack
 
com.simonstl.fragment - package com.simonstl.fragment
 

E

Element - class com.simonstl.fragment.Element.
The Element class stores information about elements (and perhaps someday attributes) in a format that supports namespaces, allows the preservation of prefix information, and supports matching on namespace URIs and localNames.
Element(String, String) - Constructor for class com.simonstl.fragment.Element
 
Element(String, String, String) - Constructor for class com.simonstl.fragment.Element
 
endElement(String, String, String) - Method in class com.simonstl.fragment.RulesLoader
 
endElement(String, String, String) - Method in class com.simonstl.fragment.FragmentFilter
At the end of the element, break up its content using the regex and report all of it to the recipient.

F

FilterTester - class com.simonstl.fragment.FilterTester.
This class just takes two arguments - a rules file and a target file.
FilterTester() - Constructor for class com.simonstl.fragment.FilterTester
 
FragmentFilter - class com.simonstl.fragment.FragmentFilter.
This class provides a SAX 2.0 Filter which uses regular expressions to fragment particular elements into smaller labelled components.
FragmentFilter() - Constructor for class com.simonstl.fragment.FragmentFilter
An empty constructor that requires the use of setParent before starting I don't think this works.
FragmentFilter(XMLReader) - Constructor for class com.simonstl.fragment.FragmentFilter
A constructor that takes the parser which will feed it SAX events
FragmentRule - class com.simonstl.fragment.FragmentRule.
Each FragmentRule describes a regular expression and the results of the fragmentation it produces, described as a series of child elements.
FragmentRule(String) - Constructor for class com.simonstl.fragment.FragmentRule
 
FragmentRule(String, ArrayList) - Constructor for class com.simonstl.fragment.FragmentRule
 
FragmentRules - class com.simonstl.fragment.FragmentRules.
This class stores a set of rules in a HashMap.
FragmentRules() - Constructor for class com.simonstl.fragment.FragmentRules
 

G

getRule(String, String) - Method in class com.simonstl.fragment.FragmentRules
 
getRules() - Method in class com.simonstl.fragment.FragmentFilter
in case you ever need to get the rules out of FragmentFilter

I

isRule(String, String) - Method in class com.simonstl.fragment.FragmentRules
 

L

localName - Variable in class com.simonstl.fragment.Element
 

M

main(String[]) - Static method in class com.simonstl.fragment.FilterTester
 
main(String[]) - Static method in class com.simonstl.fragment.RulesLoader
 
matchElement(String) - Method in class com.simonstl.fragment.Element
 
matchRegEx - Variable in class com.simonstl.fragment.FragmentRule
 

N

newEntry() - Method in class com.simonstl.fragment.BufferStack
 
nsURI - Variable in class com.simonstl.fragment.Element
 

P

peek() - Method in class com.simonstl.fragment.BoolStack
 
peek() - Method in class com.simonstl.fragment.BufferStack
 
pop() - Method in class com.simonstl.fragment.BoolStack
 
pop() - Method in class com.simonstl.fragment.BufferStack
 
prefix - Variable in class com.simonstl.fragment.Element
 
print() - Method in class com.simonstl.fragment.FragmentRule
 
print() - Method in class com.simonstl.fragment.Element
 
push(boolean) - Method in class com.simonstl.fragment.BoolStack
 
push(StringBuffer) - Method in class com.simonstl.fragment.BufferStack
 

R

removeRule(Element) - Method in class com.simonstl.fragment.FragmentRules
 
results - Variable in class com.simonstl.fragment.FragmentRule
 
rules - Variable in class com.simonstl.fragment.RulesLoader
 
RulesLoader - class com.simonstl.fragment.RulesLoader.
This class loads the information stored in a rules document for use in fragment filtering.
RulesLoader(String) - Constructor for class com.simonstl.fragment.RulesLoader
 

S

setRules(FragmentRules) - Method in class com.simonstl.fragment.FragmentFilter
sets up the rules, read in from a config file by RulesLoader or otherwise concocted in Java
startElement(String, String, String, Attributes) - Method in class com.simonstl.fragment.RulesLoader
 
startElement(String, String, String, Attributes) - Method in class com.simonstl.fragment.FragmentFilter
Check at startElement for elements which should be fragmented.

T

toString() - Method in class com.simonstl.fragment.Element
 
toString() - Method in class com.simonstl.fragment.BufferStack
 

A B C E F G I L M N P R S T