public class JaxbSerializer extends ExtSerializer
Modifier and Type | Field and Description |
---|---|
static String |
JAXB_TAG
The tag name for serializing JAXB objects.
|
Constructor and Description |
---|
JaxbSerializer(JAXBContext pContext)
Creates a new instance with the given context.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getTagName()
Returns the unqualied tag name.
|
protected void |
serialize(ContentHandler pHandler,
Object pObject)
Performs the actual serialization.
|
write
public static final String JAXB_TAG
public JaxbSerializer(JAXBContext pContext)
pContext
- The context being used for creating marshallers.protected String getTagName()
ExtSerializer
getTagName
in class ExtSerializer
protected void serialize(ContentHandler pHandler, Object pObject) throws SAXException
ExtSerializer
serialize
in class ExtSerializer
SAXException
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.