public abstract class AbstractMarshallerImpl extends Object implements Marshaller
Marshaller.ListenerJAXB_ENCODING, JAXB_FORMATTED_OUTPUT, JAXB_FRAGMENT, JAXB_NO_NAMESPACE_SCHEMA_LOCATION, JAXB_SCHEMA_LOCATION| Constructor and Description |
|---|
AbstractMarshallerImpl() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmarshalpublic void marshal(Object obj, File file) throws JAXBException
marshal in interface MarshallerJAXBExceptionpublic final void marshal(Object obj, OutputStream os) throws JAXBException
marshal in interface MarshallerJAXBExceptionpublic final void marshal(Object obj, Writer w) throws JAXBException
marshal in interface MarshallerJAXBExceptionpublic final void marshal(Object obj, ContentHandler handler) throws JAXBException
marshal in interface MarshallerJAXBExceptionpublic final void marshal(Object obj, Node node) throws JAXBException
marshal in interface MarshallerJAXBExceptionpublic Node getNode(Object obj) throws JAXBException
getNode in interface MarshallerJAXBExceptionprotected String getEncoding()
protected void setEncoding(String encoding)
protected String getSchemaLocation()
protected void setSchemaLocation(String location)
protected String getNoNSSchemaLocation()
protected void setNoNSSchemaLocation(String location)
protected boolean isFormattedOutput()
protected void setFormattedOutput(boolean v)
protected boolean isFragment()
protected void setFragment(boolean v)
protected String getJavaEncoding(String encoding) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void setProperty(String name, Object value) throws PropertyException
setProperty in interface MarshallerPropertyExceptionpublic Object getProperty(String name) throws PropertyException
getProperty in interface MarshallerPropertyExceptionpublic ValidationEventHandler getEventHandler() throws JAXBException
getEventHandler in interface MarshallerJAXBExceptionpublic void setEventHandler(ValidationEventHandler handler) throws JAXBException
setEventHandler in interface MarshallerJAXBExceptionpublic void marshal(Object obj, javax.xml.stream.XMLEventWriter writer) throws JAXBException
marshal in interface MarshallerJAXBExceptionpublic void marshal(Object obj, javax.xml.stream.XMLStreamWriter writer) throws JAXBException
marshal in interface MarshallerJAXBExceptionpublic void setSchema(Schema schema)
setSchema in interface Marshallerpublic Schema getSchema()
getSchema in interface Marshallerpublic void setAdapter(XmlAdapter adapter)
setAdapter in interface Marshallerpublic <A extends XmlAdapter> void setAdapter(Class<A> type, A adapter)
setAdapter in interface Marshallerpublic <A extends XmlAdapter> A getAdapter(Class<A> type)
getAdapter in interface Marshallerpublic void setAttachmentMarshaller(AttachmentMarshaller am)
setAttachmentMarshaller in interface Marshallerpublic AttachmentMarshaller getAttachmentMarshaller()
getAttachmentMarshaller in interface Marshallerpublic void setListener(Marshaller.Listener listener)
setListener in interface Marshallerpublic Marshaller.Listener getListener()
getListener in interface MarshallerCopyright © 2013. All Rights Reserved.