|
BeanIO 1.2.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 definition| Method Detail |
|---|
public RecordDefinition getRecordDefinition()
protected NodeDefinition getNodeDefinition()
Node
getNodeDefinition in class Nodepublic List<Node> getChildren()
Node
getChildren in class Nodepublic Node close()
Node
close in class Nodepublic Node matchAny(Record record)
Node
matchAny in class Noderecord - the record to match
public Node matchNext(Record record)
Node
matchNext in class Noderecord - the record to match
public boolean isRecord()
Node
isRecord in class Nodepublic int getRecordCount()
|
BeanIO 1.2.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||