Skip navigation links
A B C E F G H I L M N O P R S T W X 

A

add(StructRule) - Method in class org.brains2b.struct.absolute.PositionGroup
add a rule to this Group.
add(StructRule) - Method in class org.brains2b.struct.mark.MarkGroup
 
add(int, StructRule) - Method in class org.brains2b.struct.mark.ParameterGroup
add a StructRule at a specific Index
add(StructRule) - Method in class org.brains2b.struct.PlaceHolderGroup
add a rule to this Group.
add(StructRule) - Method in class org.brains2b.struct.RepeatGroup
add a rule to this Group.
add(StructRule) - Method in interface org.brains2b.struct.StructGroup
add a rule to this Group.
addAttribute(String, Object) - Method in class org.brains2b.struct.mark.MarkGroup
 
addAttribute(Position, Object) - Method in class org.brains2b.struct.mark.MarkGroup
 
addAttribute(String, Object, Transformat) - Method in class org.brains2b.struct.mark.MarkGroup
 
addAttribute(Position, Object, Transformat) - Method in class org.brains2b.struct.mark.MarkGroup
 
addAttribute(String, String) - Method in class org.brains2b.struct.xml.StructElement
 
addContent(T) - Method in class org.brains2b.struct.xml.StructElement
 
addStatic(String, Object) - Method in class org.brains2b.struct.mark.MarkGroup
 
addStaticAttribute(String, Object) - Method in class org.brains2b.struct.mark.MarkGroup
 
addTransformat(Transformat) - Method in class org.brains2b.struct.absolute.PositionGroup
 
addTransformat(Transformat) - Method in class org.brains2b.struct.mark.MarkGroup
 
addTransformat(Transformat) - Method in class org.brains2b.struct.RepeatGroup
 
addTransformat(Transformat) - Method in class org.brains2b.struct.StructRule
add a Transformat to this rule
AfterPosition - Class in org.brains2b.struct.position
AfterPostion returns the Position of a mark after an anchor given the supplied conditions
AfterPosition(String, String) - Constructor for class org.brains2b.struct.position.AfterPosition
Constructor
AfterPosition(String, Position) - Constructor for class org.brains2b.struct.position.AfterPosition
Constructor
AfterPosition(Position, Position) - Constructor for class org.brains2b.struct.position.AfterPosition
Constructor
AfterPosition(Position, Position, int, boolean, boolean) - Constructor for class org.brains2b.struct.position.AfterPosition
Constructor
applyRules(int) - Method in class org.brains2b.struct.mark.MarkGroup
 
applyRules(int) - Method in class org.brains2b.struct.mark.ParameterGroup
not implemented

B

BeforePosition - Class in org.brains2b.struct.position
BeforePostion returns the Position of a Position object before an anchor given the supplied conditions
BeforePosition(String, String) - Constructor for class org.brains2b.struct.position.BeforePosition
Constructor
BeforePosition(String, Position) - Constructor for class org.brains2b.struct.position.BeforePosition
Constructor
BeforePosition(Position, Position) - Constructor for class org.brains2b.struct.position.BeforePosition
Constructor
BeforePosition(Position, Position, int, boolean, boolean) - Constructor for class org.brains2b.struct.position.BeforePosition
Constructor
BOL - Static variable in class org.brains2b.struct.StructRule
a default constant for defining a beginning of a line
BooleanRule - Class in org.brains2b.struct.mark
[Short description] [Long description]
BooleanRule(String, Object) - Constructor for class org.brains2b.struct.mark.BooleanRule
Constructor for BooleanRule.
BooleanRule(Position, Object) - Constructor for class org.brains2b.struct.mark.BooleanRule
Constructor for BooleanRule.
BooleanRule(String, Object, String) - Constructor for class org.brains2b.struct.mark.BooleanRule
Constructor for BooleanRule.
BooleanRule(Position, Object, String) - Constructor for class org.brains2b.struct.mark.BooleanRule
Constructor for BooleanRule.
BooleanRule(String, Object, String, String) - Constructor for class org.brains2b.struct.mark.BooleanRule
Constructor for BooleanRule.
BooleanRule(Position, Object, String, String) - Constructor for class org.brains2b.struct.mark.BooleanRule
 

C

clearBuffer() - Method in class org.brains2b.struct.absolute.PositionGroup
general method to clear a buffer which an implementation of a StructRule can implement to keep all data between StructRule.isFound() and StructRule.isFinished().
clearBuffer() - Method in class org.brains2b.struct.absolute.PositionRule
general method to clear a buffer which an implementation of a StructRule can implement to keep all data between StructRule.isFound() and StructRule.isFinished().
clearBuffer() - Method in class org.brains2b.struct.mark.IndexedRule
 
clearBuffer() - Method in class org.brains2b.struct.mark.MarkRule
 
clearBuffer() - Method in class org.brains2b.struct.RepeatGroup
general method to clear a buffer which an implementation of a StructRule can implement to keep all data between StructRule.isFound() and StructRule.isFinished().
clearBuffer() - Method in class org.brains2b.struct.StructRule
general method to clear a buffer which an implementation of a StructRule can implement to keep all data between StructRule.isFound() and StructRule.isFinished().
clone() - Method in class org.brains2b.struct.xml.StructElement
 
ComplexTransformat - Interface in org.brains2b.struct.transformat
[Short description] [Long description]
createObject(Object) - Method in class org.brains2b.struct.mark.MarkGroup
 
createToken(String) - Static method in class org.brains2b.struct.position.PositionFactory
 

E

EMPTY_LINE - Static variable in class org.brains2b.struct.StructRule
a default constant for defining an empty line
EOB - Static variable in class org.brains2b.struct.StructRule
 
EOL - Static variable in class org.brains2b.struct.StructRule
a default constant for defining an end of a line
equals(Object) - Method in class org.brains2b.struct.position.TokenPosition
 
equals(Object) - Method in class org.brains2b.struct.xml.StructElement
 

F

findAttribute(String) - Method in class org.brains2b.struct.xml.StructElement
 
findQuote(String, int, int) - Static method in class org.brains2b.struct.mark.MarkRule
 
FirstFromListPosition - Class in org.brains2b.struct.position
The position of the first word from the group found in a line.
FirstFromListPosition(String[]) - Constructor for class org.brains2b.struct.position.FirstFromListPosition
Constructor
FirstFromListPosition(Position[]) - Constructor for class org.brains2b.struct.position.FirstFromListPosition
 
FirstPosition - Class in org.brains2b.struct.position
Position which will return the the position of Position one or Position two depending on which is smaller.
FirstPosition(String, String) - Constructor for class org.brains2b.struct.position.FirstPosition
Constructor
FirstPosition(String, Position) - Constructor for class org.brains2b.struct.position.FirstPosition
Constructor
FirstPosition(Position, Position) - Constructor for class org.brains2b.struct.position.FirstPosition
Constructor

G

getAttributes() - Method in class org.brains2b.struct.xml.StructElement
Returns the attributes.
getBuffer() - Method in class org.brains2b.struct.mark.MarkRule
 
getContent() - Method in class org.brains2b.struct.xml.StructElement
Returns the content.
getEOB(MarkRule) - Static method in class org.brains2b.struct.position.PositionFactory
 
getGroup() - Method in class org.brains2b.struct.StructParser
get the StructGroup used for this parser
getInstance() - Static method in class org.brains2b.struct.transformat.formats.LeadingZero
get an Instance of the Transformat
getInstance() - Static method in class org.brains2b.struct.transformat.formats.Trimmer
get an Instance of the Transformat
getInstance() - Static method in class org.brains2b.struct.transformat.StripQuotes
 
getLength() - Method in class org.brains2b.struct.position.AfterPosition
get the length of the position returned by Position.getPosition(String, int)
getLength() - Method in class org.brains2b.struct.position.BeforePosition
get the length of the position returned by Position.getPosition(String, int)
getLength() - Method in class org.brains2b.struct.position.FirstFromListPosition
get the length of the position returned by Position.getPosition(String, int)
getLength() - Method in class org.brains2b.struct.position.FirstPosition
 
getLength() - Method in interface org.brains2b.struct.position.Position
get the length of the position returned by Position.getPosition(String, int)
getLength() - Method in class org.brains2b.struct.position.RegExPosition
get the length of the position returned by Position.getPosition(String, int)
getLength() - Method in class org.brains2b.struct.position.TokenPosition
get the length of the position returned by Position.getPosition(String, int)
getLength() - Method in class org.brains2b.struct.position.WithinPosition
get the length of the position returned by Position.getPosition(String, int)
getName() - Method in class org.brains2b.struct.StaticValue
get the name for this value
getName() - Method in class org.brains2b.struct.xml.StructElement
Returns the name.
getObject() - Method in class org.brains2b.struct.absolute.PositionGroup
get the Object created as a result of the input matching this group.
getObject() - Method in class org.brains2b.struct.mark.MarkGroup
 
getObject() - Method in class org.brains2b.struct.mark.ParameterGroup
get the Object created as a result of the input matching this group.
getObject() - Method in class org.brains2b.struct.PlaceHolderGroup
get the Object created as a result of the input matching this group.
getObject() - Method in class org.brains2b.struct.RepeatGroup
get the Object created as a result of the input matching this group.
getObject() - Method in interface org.brains2b.struct.StructGroup
get the Object created as a result of the input matching this group.
getOutputType() - Method in class org.brains2b.struct.absolute.PositionGroup
the type of output StructGroup.getObject() will deliver if the rules are matched to the output
getOutputType() - Method in class org.brains2b.struct.mark.MarkGroup
the type of output StructGroup.getObject() will deliver if the rules are matched to the output
getOutputType() - Method in class org.brains2b.struct.PlaceHolderGroup
the type of output StructGroup.getObject() will deliver if the rules are matched to the output
getOutputType() - Method in class org.brains2b.struct.RepeatGroup
the type of output StructGroup.getObject() will deliver if the rules are matched to the output
getOutputType() - Method in interface org.brains2b.struct.StructGroup
the type of output StructGroup.getObject() will deliver if the rules are matched to the output
getOutputType(int) - Method in interface org.brains2b.struct.transformat.ComplexTransformat
 
getParent() - Method in class org.brains2b.struct.StructRule
get the parent group of which this rule is a part
getPosition(String, int) - Method in class org.brains2b.struct.position.FirstFromListPosition
get a position in a line, not before begin or return -1
getPosition(String, int) - Method in class org.brains2b.struct.position.FirstPosition
get a position in a line, not before begin or return -1
getPosition(String, int) - Method in interface org.brains2b.struct.position.Position
get a position in a line, not before begin or return -1
getPosition(String, int) - Method in class org.brains2b.struct.position.RegExPosition
get a position in a line, not before begin or return -1
getPosition(String, int) - Method in class org.brains2b.struct.position.RelativePosition
get a position in a line, not before begin or return -1
getPosition(String, int) - Method in class org.brains2b.struct.position.TokenPosition
get a position in a line, not before begin or return -1
getReader() - Method in class org.brains2b.struct.StructParser
get the Reader used for this parser
getRules() - Method in class org.brains2b.struct.mark.MarkGroup
 
getTransformats() - Method in class org.brains2b.struct.PlaceHolderGroup
get the List of Transformats added to this Group.
getTransformats() - Method in interface org.brains2b.struct.StructGroup
get the List of Transformats added to this Group.
getTransformats() - Method in class org.brains2b.struct.StructRule
get the List of Transformats applicable to this Rule.
getValue() - Method in class org.brains2b.struct.StaticValue
get the value
getValue() - Method in class org.brains2b.struct.xml.StructElement
Returns the type.

H

hash(int, int) - Static method in class org.brains2b.struct.HashCodeHelper
 
hash(int, boolean) - Static method in class org.brains2b.struct.HashCodeHelper
 
hash(int, long) - Static method in class org.brains2b.struct.HashCodeHelper
 
hash(int, double) - Static method in class org.brains2b.struct.HashCodeHelper
 
hash(int, float) - Static method in class org.brains2b.struct.HashCodeHelper
 
hash(int, Object) - Static method in class org.brains2b.struct.HashCodeHelper
 
hashCode() - Method in class org.brains2b.struct.position.TokenPosition
 
hashCode() - Method in class org.brains2b.struct.xml.StructElement
 
HashCodeHelper - Class in org.brains2b.struct
Best practice implementation for generating a hash code with a minimal amount of clashes, but a reasonable execution time
HashCodeHelper() - Constructor for class org.brains2b.struct.HashCodeHelper
 

I

IndexedRule - Class in org.brains2b.struct.mark
 
IndexedRule(String, boolean) - Constructor for class org.brains2b.struct.mark.IndexedRule
 
INITIAL - Static variable in class org.brains2b.struct.HashCodeHelper
 
insertTransformat(int, Transformat) - Method in class org.brains2b.struct.mark.MarkGroup
 
insertTransformat(int, Transformat) - Method in class org.brains2b.struct.RepeatGroup
 
insertTransformat(int, Transformat) - Method in class org.brains2b.struct.StructRule
 
isAttribute() - Method in class org.brains2b.struct.mark.MarkRule
check if the value from the input should be used as an attribute
isAttribute() - Method in class org.brains2b.struct.StaticValue
check if this static value should be used as an attribute
isFinished() - Method in class org.brains2b.struct.PlaceHolderGroup
check if the end of this group is found in the input
isFinished() - Method in interface org.brains2b.struct.StructGroup
check if the end of this group is found in the input
isFinished() - Method in class org.brains2b.struct.StructRule
check if the end of this rule is found in the input
isFound() - Method in class org.brains2b.struct.PlaceHolderGroup
check if the beginning of this group is found.
isFound() - Method in interface org.brains2b.struct.StructGroup
check if the beginning of this group is found.
isFound() - Method in class org.brains2b.struct.StructRule
check if the beginning of this rule is found.
isPunctuation(char) - Static method in class org.brains2b.struct.StructHelper
check if the character is a punctuation (.,,,;,:,!,?,},),])
isTerminate() - Method in class org.brains2b.struct.StructRule
 
isWord(String) - Method in class org.brains2b.struct.mark.MarkRule
 
isWordBoundary(char) - Static method in class org.brains2b.struct.StructHelper
check if a char is a whitespace, punctuation or quote character

L

LeadingZero - Class in org.brains2b.struct.transformat.formats
Transformat which strips leading zeros from the input
LeadingZero() - Constructor for class org.brains2b.struct.transformat.formats.LeadingZero
Constructor Made protected so it cannot be instantiated directly
LEFTQUOTE - Static variable in class org.brains2b.struct.mark.MarkRule
 

M

m_attribute - Variable in class org.brains2b.struct.StructRule
 
m_endPos - Variable in class org.brains2b.struct.mark.MarkRule
 
m_out - Variable in class org.brains2b.struct.StructRule
 
m_startPos - Variable in class org.brains2b.struct.mark.MarkRule
 
m_terminate - Variable in class org.brains2b.struct.StructRule
 
MAP - Static variable in interface org.brains2b.struct.StructGroup
constant for defining the output as Property or Map
MarkGroup - Class in org.brains2b.struct.mark
MarkGroup is a StructParser element which represents a structure which itself can consist of multiple groups and rules for parsing.
MarkGroup(String, String, Object) - Constructor for class org.brains2b.struct.mark.MarkGroup
Constructor for MarkGroup.
MarkGroup(Position, Position, Object) - Constructor for class org.brains2b.struct.mark.MarkGroup
 
MarkGroup(String, Position, Object) - Constructor for class org.brains2b.struct.mark.MarkGroup
Constructor
MarkGroup(Position, String, Object) - Constructor for class org.brains2b.struct.mark.MarkGroup
Constructor for MarkGroup.
MarkGroup(String, Position, Object, int) - Constructor for class org.brains2b.struct.mark.MarkGroup
Constructor
MarkGroup(String, String, Object, int) - Constructor for class org.brains2b.struct.mark.MarkGroup
 
MarkGroup(Position, String, Object, int) - Constructor for class org.brains2b.struct.mark.MarkGroup
 
MarkGroup(Position, Position, Object, int) - Constructor for class org.brains2b.struct.mark.MarkGroup
 
MarkRule - Class in org.brains2b.struct.mark
[Short description] [Long description]
MarkRule(String, String, Object, boolean) - Constructor for class org.brains2b.struct.mark.MarkRule
 
MarkRule(String, Position, Object, boolean) - Constructor for class org.brains2b.struct.mark.MarkRule
 
MarkRule(Position, String, Object, boolean) - Constructor for class org.brains2b.struct.mark.MarkRule
 
MarkRule(Position, Position, Object, boolean) - Constructor for class org.brains2b.struct.mark.MarkRule
 

N

NestedGroup - Class in org.brains2b.struct.mark
[Short description] [Long description]
NestedGroup(Position, Position, Object) - Constructor for class org.brains2b.struct.mark.NestedGroup
 
NestedGroup(String, String, Object) - Constructor for class org.brains2b.struct.mark.NestedGroup
Constructor for NestedGroup.
NestedGroup(String, String, Object, int) - Constructor for class org.brains2b.struct.mark.NestedGroup
Constructor for NestedGroup.

O

org.brains2b.struct - package org.brains2b.struct
 
org.brains2b.struct.absolute - package org.brains2b.struct.absolute
 
org.brains2b.struct.mark - package org.brains2b.struct.mark
 
org.brains2b.struct.position - package org.brains2b.struct.position
 
org.brains2b.struct.transformat - package org.brains2b.struct.transformat
 
org.brains2b.struct.transformat.formats - package org.brains2b.struct.transformat.formats
 
org.brains2b.struct.xml - package org.brains2b.struct.xml
 

P

ParameterGroup - Class in org.brains2b.struct.mark
Split a list separated by a given separator into different rules, that can be handled as separate rules
ParameterGroup(String, String, String, Object) - Constructor for class org.brains2b.struct.mark.ParameterGroup
Constructor for ParamterGroup.
ParameterGroup(String, Position, String, Object) - Constructor for class org.brains2b.struct.mark.ParameterGroup
Constructor for ParameterGroup
ParameterGroup(Position, Position, Position, Object, boolean) - Constructor for class org.brains2b.struct.mark.ParameterGroup
Constructor for ParameterGroup
ParameterGroup(Position, Position, Position, Object, boolean, int) - Constructor for class org.brains2b.struct.mark.ParameterGroup
Constructor for ParameterGroup
ParameterRule - Class in org.brains2b.struct.mark
[Short description] [Long description]
ParameterRule(String, String, String, Object, boolean) - Constructor for class org.brains2b.struct.mark.ParameterRule
Constructor for ParameterRule.
ParameterRule(Position, String, String, Object, boolean) - Constructor for class org.brains2b.struct.mark.ParameterRule
 
ParameterRule(Position, Position, Position, Object, boolean) - Constructor for class org.brains2b.struct.mark.ParameterRule
 
ParameterRule(Position, Position, String, Object, boolean) - Constructor for class org.brains2b.struct.mark.ParameterRule
 
ParameterRule(String, Position, String, Object, boolean) - Constructor for class org.brains2b.struct.mark.ParameterRule
 
parse() - Method in class org.brains2b.struct.StructParser
start parsing the input through the set of rules
PlaceHolderGroup - Class in org.brains2b.struct
PlaceHolderGroup is a StructGroup that can hold an object, either an StructElement or other Object and apply a set of rules to an input to add this information to the Object
PlaceHolderGroup(Object) - Constructor for class org.brains2b.struct.PlaceHolderGroup
Constructor for PlaceHolderGroup.
Position - Interface in org.brains2b.struct.position
Postion is an interface which only function is to return a position in a line, not before begin or return -1
PositionFactory - Class in org.brains2b.struct.position
 
PositionGroup - Class in org.brains2b.struct.absolute
PositionGroup is a Group that reads input line by line and applies all the rules in this group to that single line.
PositionGroup() - Constructor for class org.brains2b.struct.absolute.PositionGroup
Constructor
PositionGroup(int) - Constructor for class org.brains2b.struct.absolute.PositionGroup
Constructor
PositionGroup(String, int) - Constructor for class org.brains2b.struct.absolute.PositionGroup
Constructor
PositionRule - Class in org.brains2b.struct.absolute
[short comment] [long comment]
PositionRule(int, int, String) - Constructor for class org.brains2b.struct.absolute.PositionRule
Constructor to define a start and end position and the object id
PositionRule(int, String) - Constructor for class org.brains2b.struct.absolute.PositionRule
Constructor to define a start and the object id

R

readline(String) - Method in class org.brains2b.struct.absolute.PositionGroup
read a line from the parser for processing, without tracking the line number
readline(String, int) - Method in class org.brains2b.struct.absolute.PositionGroup
read a line from the parser for processing, with tracking the line number
readline(String) - Method in class org.brains2b.struct.absolute.PositionRule
read a line from the parser for processing, without tracking the line number
readline(String, int) - Method in class org.brains2b.struct.absolute.PositionRule
read a line from the parser for processing, with tracking the line number
readline(String, int) - Method in class org.brains2b.struct.mark.BooleanRule
 
readline(String) - Method in class org.brains2b.struct.mark.IndexedRule
 
readline(String, int) - Method in class org.brains2b.struct.mark.IndexedRule
 
readline(String, int) - Method in class org.brains2b.struct.mark.MarkGroup
 
readline(String) - Method in class org.brains2b.struct.mark.MarkRule
 
readline(String, int) - Method in class org.brains2b.struct.mark.MarkRule
 
readline(String, int) - Method in class org.brains2b.struct.mark.NestedGroup
 
readline(String, int) - Method in class org.brains2b.struct.mark.ParameterGroup
read a line from the parser for processing, with tracking the line number
readline(String, int) - Method in class org.brains2b.struct.mark.ParameterRule
 
readline(String) - Method in class org.brains2b.struct.PlaceHolderGroup
read a line from the parser for processing, without tracking the line number
readline(String, int) - Method in class org.brains2b.struct.PlaceHolderGroup
read a line from the parser for processing, with tracking the line number
readline(String) - Method in class org.brains2b.struct.RepeatGroup
read a line from the parser for processing, without tracking the line number
readline(String, int) - Method in class org.brains2b.struct.RepeatGroup
read a line from the parser for processing, with tracking the line number
readline(String) - Method in interface org.brains2b.struct.StructGroup
read a line from the parser for processing, without tracking the line number
readline(String, int) - Method in interface org.brains2b.struct.StructGroup
read a line from the parser for processing, with tracking the line number
readline(String) - Method in class org.brains2b.struct.StructRule
read a line from the parser for processing, without tracking the line number
readline(String, int) - Method in class org.brains2b.struct.StructRule
read a line from the parser for processing, with tracking the line number
RegExPosition - Class in org.brains2b.struct.position
Test a position on the basis of a regular expression
RegExPosition(String) - Constructor for class org.brains2b.struct.position.RegExPosition
Constructor
RelativePosition - Class in org.brains2b.struct.position
RelativePostion returns the Position of a Position object before an anchor given the supplied conditions
RelativePosition(Position, Position, int, int, boolean, boolean) - Constructor for class org.brains2b.struct.position.RelativePosition
Constructor
removeWhitespace(String, int, int) - Static method in class org.brains2b.struct.StructRule
get the index within the line after detected whitespaces between begin and end
RepeatGroup - Class in org.brains2b.struct
RepeatGroup checks all rules which are part of this Group as long as there are lines to be read.
RepeatGroup(Object, int) - Constructor for class org.brains2b.struct.RepeatGroup
Constructor
reset() - Method in class org.brains2b.struct.PlaceHolderGroup
reset this group to a state were the input can be processed from the beginning.
reset() - Method in interface org.brains2b.struct.StructGroup
reset this group to a state were the input can be processed from the beginning.
reset() - Method in class org.brains2b.struct.StructRule
reset this rule to a state were the input can be processed from the beginning.

S

set(Object, String) - Method in class org.brains2b.struct.StructRule
set the value created from the input to the Object created by the parent, identified within that Object by objectId.
setAttribute(boolean) - Method in class org.brains2b.struct.mark.MarkRule
set indicator for the value from the input to be threated as attribute
setAttributes(Attributes) - Method in class org.brains2b.struct.xml.StructElement
Sets the attributes.
setBuffer(String) - Method in class org.brains2b.struct.mark.MarkRule
 
setContent(List<T>) - Method in class org.brains2b.struct.xml.StructElement
Sets the content.
setFinished(boolean) - Method in class org.brains2b.struct.StructRule
set the indicator that the end of this rule is found in the input
setFound(boolean) - Method in class org.brains2b.struct.StructRule
set the indicator that the beginning of this rule is found.
setName(String) - Method in class org.brains2b.struct.xml.StructElement
Sets the name.
setOutputType(int) - Method in interface org.brains2b.struct.transformat.ComplexTransformat
 
setParent(StructGroup) - Method in class org.brains2b.struct.absolute.PositionGroup
set the parent for this rule
setParent(StructGroup) - Method in class org.brains2b.struct.PlaceHolderGroup
 
setParent(StructGroup) - Method in class org.brains2b.struct.RepeatGroup
set the parent for this rule
setParent(StructGroup) - Method in interface org.brains2b.struct.StructGroup
set the parent for this Group
setParent(StructGroup) - Method in class org.brains2b.struct.StructRule
set the parent for this rule
setValue(String) - Method in class org.brains2b.struct.xml.StructElement
Set the value.
SimpleTransformat - Interface in org.brains2b.struct.transformat
[Short description] [Long description]
SPACE - Static variable in class org.brains2b.struct.StructRule
a default constant for defining a beginning a whitespace
StaticValue - Class in org.brains2b.struct
StaticValue is a container for adding values to Struct output objects which are not the result of a rule, but given by this value.
StaticValue(String, Object, boolean) - Constructor for class org.brains2b.struct.StaticValue
Constructor
StripQuotes - Class in org.brains2b.struct.transformat
 
StructElement<T extends StructElement> - Class in org.brains2b.struct.xml
[Short description] [Long description]
StructElement() - Constructor for class org.brains2b.struct.xml.StructElement
Constructor for StructElement.
StructElement(String) - Constructor for class org.brains2b.struct.xml.StructElement
 
StructElement(String, String) - Constructor for class org.brains2b.struct.xml.StructElement
Constructor for StructElement
StructException - Exception in org.brains2b.struct
Exception thrown for problems in Struct
StructException() - Constructor for exception org.brains2b.struct.StructException
Constructor for StructException.
StructException(String) - Constructor for exception org.brains2b.struct.StructException
Constructor for StructException.
StructGroup - Interface in org.brains2b.struct
Interface for defining a Group of Rules
StructHelper - Class in org.brains2b.struct
Helper class for Struct supplying some static functions
StructHelper() - Constructor for class org.brains2b.struct.StructHelper
 
StructParser - Class in org.brains2b.struct
Parser to read an input defined by a Reader and applying the rules to it which are in the group supplied.
StructParser(Reader, StructGroup) - Constructor for class org.brains2b.struct.StructParser
Constructor to create this Parser
StructRule - Class in org.brains2b.struct
Abstract class that defines a rule for Struct.
StructRule() - Constructor for class org.brains2b.struct.StructRule
 

T

terminate() - Method in class org.brains2b.struct.mark.MarkRule
 
TokenPosition - Class in org.brains2b.struct.position
TokenPosition is the simplest form of Position.
TokenPosition(String) - Constructor for class org.brains2b.struct.position.TokenPosition
Constructor
toString() - Method in class org.brains2b.struct.xml.StructElement
Makes a normal readable String for this StructElement
transform(Object, Object) - Method in interface org.brains2b.struct.transformat.ComplexTransformat
 
transform(String) - Method in class org.brains2b.struct.transformat.formats.LeadingZero
transform(String) - Method in class org.brains2b.struct.transformat.formats.Trimmer
transform(String) - Method in interface org.brains2b.struct.transformat.SimpleTransformat
 
transform(String) - Method in class org.brains2b.struct.transformat.StripQuotes
 
Transformat - Interface in org.brains2b.struct.transformat
[Short description] [Long description]
Trimmer - Class in org.brains2b.struct.transformat.formats
Transformat which strips trailing and leading spaces from the input
Trimmer() - Constructor for class org.brains2b.struct.transformat.formats.Trimmer
Constructor Made protected so it cannot be instantiated directly

W

WithinGroup - Class in org.brains2b.struct.mark
StructRule to find a Mark within the vicinity of another Mark within a definable number of words or less.
WithinGroup(String, int, boolean, String, String, Object) - Constructor for class org.brains2b.struct.mark.WithinGroup
Constructor for WithinRule.
WithinGroup(String, int, String, String, Object) - Constructor for class org.brains2b.struct.mark.WithinGroup
 
WithinGroup(String, int, boolean, String, Position, Object) - Constructor for class org.brains2b.struct.mark.WithinGroup
Constructor for WithinRule.
WithinGroup(String, int, String, Position, Object) - Constructor for class org.brains2b.struct.mark.WithinGroup
 
WithinGroup(Position, int, boolean, Position, Position, Object) - Constructor for class org.brains2b.struct.mark.WithinGroup
 
WithinPosition - Class in org.brains2b.struct.position
Within Position checks if a mark is within (before or after) a supplied anchor.
WithinPosition(Position, Position, int, boolean, boolean) - Constructor for class org.brains2b.struct.position.WithinPosition
Constructor
WithinRule - Class in org.brains2b.struct.mark
StructRule to find a Mark within the vicinity of another Mark within a definable number of words or less.
WithinRule(String, int, boolean, String, String, Object, boolean) - Constructor for class org.brains2b.struct.mark.WithinRule
Constructor for WithinRule.
WithinRule(String, int, String, String, Object, boolean) - Constructor for class org.brains2b.struct.mark.WithinRule
 
WithinRule(String, int, boolean, String, Position, Object, boolean) - Constructor for class org.brains2b.struct.mark.WithinRule
Constructor for WithinRule.
WithinRule(Position, int, boolean, String, Position, Object, boolean) - Constructor for class org.brains2b.struct.mark.WithinRule
 
WithinRule(String, int, String, Position, Object, boolean) - Constructor for class org.brains2b.struct.mark.WithinRule
 
WithinRule(String, int, boolean, Position, Position, Object, boolean) - Constructor for class org.brains2b.struct.mark.WithinRule
 
WithinRule(String, int, Position, Position, Object, boolean) - Constructor for class org.brains2b.struct.mark.WithinRule
 
WithinRule(Position, int, boolean, Position, Position, Object, boolean) - Constructor for class org.brains2b.struct.mark.WithinRule
 
writeElement(SAXWriter) - Method in class org.brains2b.struct.xml.StructElement
 

X

XML - Static variable in interface org.brains2b.struct.StructGroup
constant for defining the output as XML
A B C E F G H I L M N O P R S T W X 
Skip navigation links