public class MarshallerImpl extends AbstractMarshallerImpl
Marshaller
interface for JAXB RI.Marshaller.Listener
JAXB_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, setSchemaLocation
public void marshal(Object obj, Result result) throws JAXBException
JAXBException
protected CharacterEscapeHandler createEscapeHandler(String encoding)
public XMLWriter createWriter(Writer w, String encoding) throws JAXBException
JAXBException
public XMLWriter createWriter(Writer w) throws JAXBException
JAXBException
public XMLWriter createWriter(OutputStream os) throws JAXBException
JAXBException
public XMLWriter createWriter(OutputStream os, String encoding) throws JAXBException
JAXBException
public Object getProperty(String name) throws PropertyException
getProperty
in interface Marshaller
getProperty
in class AbstractMarshallerImpl
PropertyException
public void setProperty(String name, Object value) throws PropertyException
setProperty
in interface Marshaller
setProperty
in class AbstractMarshallerImpl
PropertyException
Copyright © 2024 Oracle Corporation. All rights reserved.