public abstract class BaseMarshaller extends Object implements Marshaller
Marshaller.Listener
Modifier and Type | Field and Description |
---|---|
protected String |
charset |
protected Marshaller |
marshaller |
JAXB_ENCODING, JAXB_FORMATTED_OUTPUT, JAXB_FRAGMENT, JAXB_NO_NAMESPACE_SCHEMA_LOCATION, JAXB_SCHEMA_LOCATION
Constructor and Description |
---|
BaseMarshaller() |
Modifier and Type | Method and Description |
---|---|
void |
marshal(Object o,
OutputStream outputStream) |
void |
setProperty(String s,
Object o) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdapter, getAttachmentMarshaller, getEventHandler, getListener, getNode, getProperty, getSchema, marshal, marshal, marshal, marshal, marshal, marshal, marshal, setAdapter, setAdapter, setAttachmentMarshaller, setEventHandler, setListener, setSchema
protected Marshaller marshaller
protected String charset
public void marshal(Object o, OutputStream outputStream) throws JAXBException
marshal
in interface Marshaller
JAXBException
public void setProperty(String s, Object o) throws PropertyException
setProperty
in interface Marshaller
PropertyException
Copyright © 2015 JBoss by Red Hat. All rights reserved.