Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xmlrpc.jaxb
Class JaxbSerializer

    java.lang.Object
      org.apache.xmlrpc.serializer.ExtSerializer
          org.apache.xmlrpc.jaxb.JaxbSerializer

All Implemented Interfaces:
  TypeSerializer

    public class JaxbSerializer

extends ExtSerializer

A serializer for JAXB objects.

Field Summary
`static java.lang.String` | `JAXB_TAG` The tag name for serializing JAXB objects.

Constructor Summary
`JaxbSerializer(javax.xml.bind.JAXBContext pContext)` Creates a new instance with the given context.

Method Summary
`protected java.lang.String` | `getTagName()` Returns the unqualied tag name.
`protected void` | `serialize(org.xml.sax.ContentHandler pHandler, java.lang.Object pObject)` Performs the actual serialization.

Methods inherited from class org.apache.xmlrpc.serializer.ExtSerializer
`write`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### JAXB_TAG

    public static final java.lang.String JAXB_TAG

  The tag name for serializing JAXB objects.

  See Also:
    Constant Field Values

Constructor Detail

### JaxbSerializer

    public JaxbSerializer(javax.xml.bind.JAXBContext pContext)

  Creates a new instance with the given context.

  Parameters:
    `pContext` - The context being used for creating marshallers.

Method Detail

### getTagName

    protected java.lang.String getTagName()

  Description copied from class: `ExtSerializer`
  Returns the unqualied tag name.

  Specified by:
    `getTagName` in class `ExtSerializer`

### serialize

    protected void serialize(org.xml.sax.ContentHandler pHandler,
                             java.lang.Object pObject)
                      throws org.xml.sax.SAXException

  Description copied from class: `ExtSerializer`
  Performs the actual serialization.

  Specified by:
    `serialize` in class `ExtSerializer`
  Throws:
    `org.xml.sax.SAXException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.