BeanIO 1.2.3

org.beanio.parser.fixedlength
Class FixedLengthRecordDefinition

java.lang.Object
  extended by org.beanio.parser.NodeDefinition
      extended by org.beanio.parser.RecordDefinition
          extended by org.beanio.parser.flat.FlatRecordDefinition
              extended by org.beanio.parser.fixedlength.FixedLengthRecordDefinition

public class FixedLengthRecordDefinition
extends FlatRecordDefinition

A FixedLengthRecordDefinition is used to validate fixed length records.

Since:
1.0
Author:
Kevin Seim

Constructor Summary
FixedLengthRecordDefinition()
           
 
Method Summary
protected  void validateRecord(Record record)
          Performs record level validations.
 
Methods inherited from class org.beanio.parser.flat.FlatRecordDefinition
getMaxLength, getMinLength, setMaxLength, setMinLength
 
Methods inherited from class org.beanio.parser.RecordDefinition
findDefinitionFor, formatBean, getBeanDefinition, getChildren, isRecordDefinition, matches, parseBean, setBeanDefinition, toString
 
Methods inherited from class org.beanio.parser.NodeDefinition
getMaxOccurs, getMinOccurs, getName, getOrder, setMaxOccurs, setMinOccurs, setName, setOrder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FixedLengthRecordDefinition

public FixedLengthRecordDefinition()
Method Detail

validateRecord

protected void validateRecord(Record record)
Description copied from class: RecordDefinition
Performs record level validations. If a validation error occurs, a record error should be added to the record.

Overrides:
validateRecord in class RecordDefinition
Parameters:
record - the record to validate

BeanIO 1.2.3

Copyright © 2010-2012 Kevin Seim