public class ScalarSerializer extends AbstractFieldSerializer implements FieldSerializer
Constructor and Description |
---|
ScalarSerializer() |
Modifier and Type | Method and Description |
---|---|
boolean |
canSerialize(Field field) |
void |
serialize(XmlWriter writer,
Field field,
SerializingContext context) |
protected void |
writeEnd(XmlWriter writer,
SerializingContext context,
Scalar scalar) |
protected Scalar |
writeStart(XmlWriter writer,
Field field,
SerializingContext context) |
writeChildren, writeCommonAttributes, writeLength, writeOperator, writeTypeReference
public boolean canSerialize(Field field)
canSerialize
in interface FieldSerializer
public void serialize(XmlWriter writer, Field field, SerializingContext context)
serialize
in interface FieldSerializer
protected void writeEnd(XmlWriter writer, SerializingContext context, Scalar scalar)
protected Scalar writeStart(XmlWriter writer, Field field, SerializingContext context)
Copyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.