BeanIO 1.2.3

org.beanio.parser.flat
Class FlatFieldDefinition

java.lang.Object
  extended by org.beanio.parser.PropertyDefinition
      extended by org.beanio.parser.FieldDefinition
          extended by org.beanio.parser.flat.FlatFieldDefinition
Direct Known Subclasses:
DelimitedFieldDefinition, FixedLengthFieldDefinition

public abstract class FlatFieldDefinition
extends FieldDefinition

Provides support for fields belonging to a fixed length or delimited record.

Since:
1.0
Author:
Kevin Seim

Field Summary
 
Fields inherited from class org.beanio.parser.FieldDefinition
LEFT, RIGHT
 
Fields inherited from class org.beanio.parser.PropertyDefinition
INVALID, MISSING
 
Constructor Summary
FlatFieldDefinition()
           
 
Method Summary
protected  int getCurrentPosition(Record record)
          Returns the position of this field in the record, accounting for field collections and children of bean collections.
 
Methods inherited from class org.beanio.parser.FieldDefinition
defines, formatPaddedNull, formatText, formatValue, getDefaultTextFor, getDefaultValue, getJustification, getLiteral, getMaxLength, getMinLength, getPaddedLength, getPadding, getPosition, getRegex, getRegexPattern, getTypeHandler, isField, isMatch, isMatch, isNilSupported, isPadded, isProperty, isRequired, isTrim, matches, parseField, parsePropertyValue, parsePropertyValue, setDefaultValue, setJustification, setLiteral, setMaxLength, setMinLength, setPadded, setPaddedLength, setPadding, setPosition, setProperty, setPropertyType, setRegex, setRequired, setTrim, setTypeHandler, unpad
 
Methods inherited from class org.beanio.parser.PropertyDefinition
getCollectionType, getLength, getMaxOccurs, getMinOccurs, getName, getParent, getPropertyDescriptor, getPropertyType, isArray, isBean, isCollection, isConstant, isLazy, isRecordIdentifier, parseValue, setCollectionType, setLazy, setLength, setMaxOccurs, setMinOccurs, setName, setParent, setPropertyDescriptor, setRecordIdentifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlatFieldDefinition

public FlatFieldDefinition()
Method Detail

getCurrentPosition

protected int getCurrentPosition(Record record)
Returns the position of this field in the record, accounting for field collections and children of bean collections.

Parameters:
record - the record being parsed
Returns:
the position of this field

BeanIO 1.2.3

Copyright © 2010-2012 Kevin Seim