public class XmlPreprocessor extends Preprocessor
Preprocessor for an XML stream format.propertyRoot, stream| Constructor and Description |
|---|
XmlPreprocessor(StreamConfig stream)
Constructs a new XmlPreprocessor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleField(FieldConfig field)
Processes a field configuration.
|
protected void |
initializeGroup(GroupConfig group)
Initializes a group configuration before its children have been processed.
|
protected void |
initializeSegment(SegmentConfig segment)
Initializes a segment configuration before its children have been processed.
|
protected void |
validateRecordIdentifyingCriteria(FieldConfig field)
This method validates a record identifying field has a literal or regular expression
configured for identifying a record.
|
finalizeGroup, finalizeRecord, finalizeSegment, finalizeStream, handleConstant, initializeRecord, initializeStreamgetParent, handleComponent, processpublic XmlPreprocessor(StreamConfig stream)
stream - the stream configuration to pre-processprotected void initializeGroup(GroupConfig group)
PreprocessorinitializeGroup in class Preprocessorgroup - the group configuration to processprotected void initializeSegment(SegmentConfig segment)
PreprocessorinitializeSegment in class Preprocessorsegment - the segment configuration to processprotected void handleField(FieldConfig field)
PreprocessorhandleField in class Preprocessorfield - the field configuration to processprotected void validateRecordIdentifyingCriteria(FieldConfig field)
PreprocessorvalidateRecordIdentifyingCriteria in class Preprocessorfield - the record identifying field configuration to validate