|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.beanio.parser.Node org.beanio.parser.RecordNode
public class RecordNode
Holds state information for records being read from a input stream.
Field Summary |
---|
Fields inherited from class org.beanio.parser.Node |
---|
groupCount |
Constructor Summary | |
---|---|
RecordNode(RecordDefinition definition)
Constructs a new RecordNode. |
Method Summary | |
---|---|
Node |
close()
Checks for missing records. |
List<Node> |
getChildren()
Returns a list of child nodes. |
protected NodeDefinition |
getNodeDefinition()
Returns this nodes's definition. |
int |
getRecordCount()
Returns the number of records matched by this node. |
RecordDefinition |
getRecordDefinition()
Returns the record definition of this node. |
boolean |
isRecord()
Returns true if this node is a leaf node / record. |
Node |
matchAny(Record record)
Finds the child node that matches a record, ignoring the current state of each node. |
Node |
matchNext(Record record)
Finds the child node that matches a record, based on the current state of each node. |
Methods inherited from class org.beanio.parser.Node |
---|
getGroupCount, getMaxOccurs, getMinOccurs, getName, getOrder, isMaxOccursReached, reset, setGroupCount, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RecordNode(RecordDefinition definition)
definition
- the record definitionMethod Detail |
---|
public RecordDefinition getRecordDefinition()
protected NodeDefinition getNodeDefinition()
Node
getNodeDefinition
in class Node
public List<Node> getChildren()
Node
getChildren
in class Node
public Node close()
Node
close
in class Node
public Node matchAny(Record record)
Node
matchAny
in class Node
record
- the record to match
public Node matchNext(Record record)
Node
matchNext
in class Node
record
- the record to match
public boolean isRecord()
Node
isRecord
in class Node
public int getRecordCount()
|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |