| java.lang.Object com.bostechcorp.cbesb.runtime.parser.SerializerBase com.bostechcorp.cbesb.runtime.parser.FixedElementSerializer
FixedElementSerializer | public class FixedElementSerializer extends SerializerBase implements IElementSerializer(Code) | | The FixedElementSerializer class implements ElementSerializer. It is used to
serialize Elements defined as fixed format. Basic flow of the serialize
method: 1. Verify that all child Elements of the DOM Element passed in match
the child elements of the ElementDefinition passed in. 2. For each child
Element do the following: a. Get the appropriate ElementSerializer for the
child ElementDefinition. b. Call the serialize method of the child
ElementSerializer, passing in a ByteArrayOutputStream instead of the real
OutputStream. c. Use the length, justification and fill character attributes
of the child to format the data returned in the ByteArrayOutputStream to
match the fixed field definition. d. Write the data to the OutputStream.
|
Fields inherited from com.bostechcorp.cbesb.runtime.parser.SerializerBase | protected transient Log log(Code)(Java Doc)
|
|
|