|
BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.beanio.internal.compiler.ProcessorSupport
org.beanio.internal.compiler.ParserFactorySupport
org.beanio.internal.compiler.json.JsonParserFactory
public class JsonParserFactory
A ParserFactory for the JSON stream format.
| Constructor Summary | |
|---|---|
JsonParserFactory()
Constructs a new JsonParserFactory. |
|
| Methods inherited from class org.beanio.internal.compiler.ProcessorSupport |
|---|
getParent, handleComponent, process |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JsonParserFactory()
| Method Detail |
|---|
protected Preprocessor createPreprocessor(StreamConfig config)
ParserFactorySupport
createPreprocessor in class ParserFactorySupportconfig - the stream configuration to pre-process
Preprocessor
public Stream createStream(StreamConfig config)
throws BeanIOConfigurationException
ParserFactorySupport
createStream in interface ParserFactorycreateStream in class ParserFactorySupportconfig - the stream configuration
Stream
BeanIOConfigurationException - if the configuration is invalid
protected void initializeSegmentIteration(SegmentConfig config,
Property property)
ParserFactorySupportParserFactorySupport.initializeSegment(SegmentConfig) to initialize segment iteration.
initializeSegmentIteration in class ParserFactorySupportconfig - the segment configurationproperty - the Property bound to the segment, or null if no bean was boundprotected void finalizeSegmentIteration(SegmentConfig config)
ParserFactorySupportParserFactorySupport.finalizeSegment(SegmentConfig) to finalize segment iteration.
finalizeSegmentIteration in class ParserFactorySupportconfig - the segment configuration
protected void initializeSegmentMain(SegmentConfig config,
Property property)
ParserFactorySupportParserFactorySupport.initializeSegment(SegmentConfig) to initialize the segment.
initializeSegmentMain in class ParserFactorySupportconfig - the segment configurationproperty - the property bound to the segment, or null if no property was bound
protected void finalizeSegmentMain(SegmentConfig config)
throws BeanIOConfigurationException
ParserFactorySupportParserFactorySupport.finalizeSegment(SegmentConfig) to finalize the segment component.
finalizeSegmentMain in class ParserFactorySupportconfig - the segment configuration
BeanIOConfigurationExceptionprotected boolean isSegmentRequired(SegmentConfig config)
isSegmentRequired in class ParserFactorySupportprotected StreamFormat createStreamFormat(StreamConfig config)
ParserFactorySupportStreamFormat.
createStreamFormat in class ParserFactorySupportconfig - the stream configuration
StreamFormatprotected RecordFormat createRecordFormat(RecordConfig config)
ParserFactorySupportRecordFormat.
createRecordFormat in class ParserFactorySupportconfig - the record configuration
RecordFormat
protected FieldFormat createFieldFormat(FieldConfig config,
Class<?> type)
ParserFactorySupportFieldFormat.
createFieldFormat in class ParserFactorySupportconfig - the field configurationtype - the property type, or null if not bound to a property
FieldFormatprotected RecordParserFactory getDefaultRecordParserFactory()
ParserFactorySupportRecordParserFactory.
getDefaultRecordParserFactory in class ParserFactorySupportRecordParserFactory
|
BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||