public class JaxbSerializer extends ExtSerializer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
JAXB_TAG
The tag name for serializing JAXB objects.
|
| Constructor and Description |
|---|
JaxbSerializer(javax.xml.bind.JAXBContext pContext)
Creates a new instance with the given context.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
writepublic static final java.lang.String JAXB_TAG
public JaxbSerializer(javax.xml.bind.JAXBContext pContext)
pContext - The context being used for creating marshallers.protected java.lang.String getTagName()
ExtSerializergetTagName in class ExtSerializerprotected void serialize(org.xml.sax.ContentHandler pHandler,
java.lang.Object pObject)
throws org.xml.sax.SAXException
ExtSerializerserialize in class ExtSerializerorg.xml.sax.SAXExceptionCopyright © 2001-2013. All Rights Reserved.