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.
|
write
public 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()
ExtSerializer
getTagName
in class ExtSerializer
protected void serialize(org.xml.sax.ContentHandler pHandler, java.lang.Object pObject) throws org.xml.sax.SAXException
ExtSerializer
serialize
in class ExtSerializer
org.xml.sax.SAXException
Copyright © 2001-2013. All Rights Reserved.