| java.lang.Object com.bostechcorp.cbesb.runtime.parser.SerializerBase com.bostechcorp.cbesb.runtime.parser.VariableElementSerializer
VariableElementSerializer | public class VariableElementSerializer extends SerializerBase implements IElementSerializer(Code) | | The VariableElementSerializer class implements ElementSerializer. It is used
to serialize Elements defined as variable 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. Verify that the data returned fits
within the min and max length for the child definition. d. Escape any
characters in the data that match the delimiter. e. Write the data to the
OutputStream. f. Write the delimiter to the OutputStream.
|
Field Summary | |
protected transient Log | log |
log | protected transient Log log(Code) | | |
Fields inherited from com.bostechcorp.cbesb.runtime.parser.SerializerBase | protected transient Log log(Code)(Java Doc)
|
|
|