- 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
-
- getLength() - Method in class org.brains2b.struct.position.BeforePosition
-
- getLength() - Method in class org.brains2b.struct.position.FirstFromListPosition
-
- getLength() - Method in class org.brains2b.struct.position.FirstPosition
-
- getLength() - Method in interface org.brains2b.struct.position.Position
-
- getLength() - Method in class org.brains2b.struct.position.RegExPosition
-
- getLength() - Method in class org.brains2b.struct.position.TokenPosition
-
- getLength() - Method in class org.brains2b.struct.position.WithinPosition
-
- 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
-
- getOutputType() - Method in class org.brains2b.struct.mark.MarkGroup
-
- getOutputType() - Method in class org.brains2b.struct.PlaceHolderGroup
-
- getOutputType() - Method in class org.brains2b.struct.RepeatGroup
-
- getOutputType() - Method in interface org.brains2b.struct.StructGroup
-
- 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.
- 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
- 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
- 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.
- 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
-