public class MarshallerImpl extends AbstractMarshallerImpl implements ExtendedMarshaller
Marshaller.Listener| Modifier and Type | Field and Description |
|---|---|
static String |
MARSHALLER |
JAXB_ENCODING, JAXB_FORMATTED_OUTPUT, JAXB_FRAGMENT, JAXB_NO_NAMESPACE_SCHEMA_LOCATION, JAXB_SCHEMA_LOCATION| Constructor and Description |
|---|
MarshallerImpl(JAXBIntrospectorImpl introspector) |
| Modifier and Type | Method and Description |
|---|---|
<A extends XmlAdapter> |
getAdapter(Class<A> type) |
AttachmentMarshaller |
getAttachmentMarshaller() |
Marshaller.Listener |
getListener() |
Schema |
getSchema() |
void |
marshal(Object jaxbElement,
Result result) |
void |
marshal(Object jaxbElement,
XMLEventWriter writer) |
void |
marshal(Object jaxbElement,
XMLStreamWriter writer) |
<A extends XmlAdapter> |
setAdapter(Class<A> type,
A adapter) |
void |
setAttachmentMarshaller(AttachmentMarshaller attachmentMarshaller) |
void |
setListener(Marshaller.Listener listener) |
void |
setSchema(Schema schema) |
void |
write(Object jaxbElement,
XoXMLStreamWriter writer,
RuntimeContext context,
boolean writeTag,
boolean writeXsiType) |
getEncoding, getEventHandler, getJavaEncoding, getNode, getNoNSSchemaLocation, getProperty, getSchemaLocation, isFormattedOutput, isFragment, marshal, marshal, marshal, marshal, marshal, setAdapter, setEncoding, setEventHandler, setFormattedOutput, setFragment, setNoNSSchemaLocation, setProperty, setSchemaLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEventHandler, getNode, getProperty, marshal, marshal, marshal, marshal, marshal, setAdapter, setEventHandler, setPropertypublic static final String MARSHALLER
public MarshallerImpl(JAXBIntrospectorImpl introspector)
public void marshal(Object jaxbElement, Result result) throws JAXBException
marshal in interface MarshallerJAXBExceptionpublic void marshal(Object jaxbElement, XMLEventWriter writer) throws JAXBException
marshal in interface Marshallermarshal in class AbstractMarshallerImplJAXBExceptionpublic void marshal(Object jaxbElement, XMLStreamWriter writer) throws JAXBException
marshal in interface Marshallermarshal in class AbstractMarshallerImplJAXBExceptionpublic void write(Object jaxbElement, XoXMLStreamWriter writer, RuntimeContext context, boolean writeTag, boolean writeXsiType) throws JAXBException
write in interface ExtendedMarshallerJAXBExceptionpublic <A extends XmlAdapter> A getAdapter(Class<A> type)
getAdapter in interface MarshallergetAdapter in class AbstractMarshallerImplpublic <A extends XmlAdapter> void setAdapter(Class<A> type, A adapter)
setAdapter in interface MarshallersetAdapter in class AbstractMarshallerImplpublic AttachmentMarshaller getAttachmentMarshaller()
getAttachmentMarshaller in interface MarshallergetAttachmentMarshaller in class AbstractMarshallerImplpublic void setAttachmentMarshaller(AttachmentMarshaller attachmentMarshaller)
setAttachmentMarshaller in interface MarshallersetAttachmentMarshaller in class AbstractMarshallerImplpublic Marshaller.Listener getListener()
getListener in interface MarshallergetListener in class AbstractMarshallerImplpublic void setListener(Marshaller.Listener listener)
setListener in interface MarshallersetListener in class AbstractMarshallerImplpublic Schema getSchema()
getSchema in interface MarshallergetSchema in class AbstractMarshallerImplpublic void setSchema(Schema schema)
setSchema in interface MarshallersetSchema in class AbstractMarshallerImplCopyright © 2007–2021. All rights reserved.