public class MarshallerImpl extends AbstractMarshallerImpl
Marshaller interface for JAXB RI.Marshaller.ListenerJAXB_ENCODING, JAXB_FORMATTED_OUTPUT, JAXB_FRAGMENT, JAXB_NO_NAMESPACE_SCHEMA_LOCATION, JAXB_SCHEMA_LOCATION| Constructor and Description |
|---|
MarshallerImpl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected CharacterEscapeHandler |
createEscapeHandler(String encoding)
Deprecated.
|
XMLWriter |
createWriter(OutputStream os)
Deprecated.
|
XMLWriter |
createWriter(OutputStream os,
String encoding)
Deprecated.
|
XMLWriter |
createWriter(Writer w)
Deprecated.
|
XMLWriter |
createWriter(Writer w,
String encoding)
Deprecated.
|
Object |
getProperty(String name)
Deprecated.
|
void |
marshal(Object obj,
Result result)
Deprecated.
|
void |
setProperty(String name,
Object value)
Deprecated.
|
getAdapter, getAttachmentMarshaller, getEncoding, getEventHandler, getJavaEncoding, getListener, getNode, getNoNSSchemaLocation, getSchema, getSchemaLocation, isFormattedOutput, isFragment, marshal, marshal, marshal, marshal, marshal, marshal, marshal, setAdapter, setAdapter, setAttachmentMarshaller, setEncoding, setEventHandler, setFormattedOutput, setFragment, setListener, setNoNSSchemaLocation, setSchema, setSchemaLocationpublic void marshal(Object obj, Result result) throws JAXBException
JAXBExceptionprotected CharacterEscapeHandler createEscapeHandler(String encoding)
public XMLWriter createWriter(Writer w, String encoding) throws JAXBException
JAXBExceptionpublic XMLWriter createWriter(Writer w) throws JAXBException
JAXBExceptionpublic XMLWriter createWriter(OutputStream os) throws JAXBException
JAXBExceptionpublic XMLWriter createWriter(OutputStream os, String encoding) throws JAXBException
JAXBExceptionpublic Object getProperty(String name) throws PropertyException
getProperty in interface MarshallergetProperty in class AbstractMarshallerImplPropertyExceptionpublic void setProperty(String name, Object value) throws PropertyException
setProperty in interface MarshallersetProperty in class AbstractMarshallerImplPropertyExceptionCopyright © 2015 Oracle Corporation. All Rights Reserved.