com.sun.xml.bind.v2.runtime

Class SchemaTypeTransducer<V>

public class SchemaTypeTransducer<V> extends FilterTransducer<V>

Transducer that signals the runtime that this datatype is marshalled to a different XML Schema type.

This transducer is used to implement the semantics of XmlSchemaType annotation.

See Also: schemaType

Constructor Summary
SchemaTypeTransducer(Transducer<V> core, QName schemaType)
Method Summary
CharSequenceprint(V o)
voidwriteLeafElement(XMLSerializer w, Name tagName, V o, String fieldName)
voidwriteText(XMLSerializer w, V o, String fieldName)

Constructor Detail

SchemaTypeTransducer

public SchemaTypeTransducer(Transducer<V> core, QName schemaType)

Method Detail

print

CharSequence print(V o)

writeLeafElement

void writeLeafElement(XMLSerializer w, Name tagName, V o, String fieldName)

writeText

void writeText(XMLSerializer w, V o, String fieldName)