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, initializeStream
getParent, handleComponent, process
public XmlPreprocessor(StreamConfig stream)
stream
- the stream configuration to pre-processprotected void initializeGroup(GroupConfig group)
Preprocessor
initializeGroup
in class Preprocessor
group
- the group configuration to processprotected void initializeSegment(SegmentConfig segment)
Preprocessor
initializeSegment
in class Preprocessor
segment
- the segment configuration to processprotected void handleField(FieldConfig field)
Preprocessor
handleField
in class Preprocessor
field
- the field configuration to processprotected void validateRecordIdentifyingCriteria(FieldConfig field)
Preprocessor
validateRecordIdentifyingCriteria
in class Preprocessor
field
- the record identifying field configuration to validate