org.apache.xmlrpc.jaxb

Class JaxbSerializer

public class JaxbSerializer extends ExtSerializer

A serializer for JAXB objects.
Field Summary
static StringJAXB_TAG
The tag name for serializing JAXB objects.
Constructor Summary
JaxbSerializer(JAXBContext pContext)
Creates a new instance with the given context.
Method Summary
protected StringgetTagName()
protected voidserialize(ContentHandler pHandler, Object pObject)

Field Detail

JAXB_TAG

public static final String JAXB_TAG
The tag name for serializing JAXB objects.

Constructor Detail

JaxbSerializer

public JaxbSerializer(JAXBContext pContext)
Creates a new instance with the given context.

Parameters: pContext The context being used for creating marshallers.

Method Detail

getTagName

protected String getTagName()

serialize

protected void serialize(ContentHandler pHandler, Object pObject)
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.