javax > javax.xml > javax.xml.bind > javax.xml.bind.marshaller >

Interface: javax.xml.bind.Marshaller
    javax.xml.bind.Marshaller


public interface Marshaller

Inner Class(es): Marshaller.Listener

FIELDS:
static final String JAXB_ENCODING : jaxb.encoding
static final String JAXB_FORMATTED_OUTPUT : jaxb.formatted.output
static final String JAXB_FRAGMENT : jaxb.fragment
static final String JAXB_NO_NAMESPACE_SCHEMA_LOCATION : jaxb.noNamespaceSchemaLocation
static final String JAXB_SCHEMA_LOCATION : jaxb.schemaLocation

CONSTRUCTORS:

METHODS:
Object getAdapter(Class type)
Throws: IllegalArgumentException
Throws: UnsupportedOperationException

AttachmentMarshaller getAttachmentMarshaller()

ValidationEventHandler getEventHandler()
Throws: JAXBException

Marshaller.Listener getListener()

Node getNode(Object contentTree)
Throws: UnsupportedOperationException
Throws: IllegalArgumentException
Throws: JAXBException

Object getProperty(String name)
Throws: PropertyException
Throws: IllegalArgumentException

Schema getSchema()
Throws: UnsupportedOperationException

void marshal(Object jaxbElement, OutputStream os)
Throws: JAXBException
Throws: MarshalException
Throws: IllegalArgumentException

void marshal(Object jaxbElement, Writer writer)
Throws: JAXBException
Throws: MarshalException
Throws: IllegalArgumentException

void marshal(Object jaxbElement, XMLEventWriter writer)
Throws: JAXBException
Throws: MarshalException
Throws: IllegalArgumentException

void marshal(Object jaxbElement, XMLStreamWriter writer)
Throws: JAXBException
Throws: MarshalException
Throws: IllegalArgumentException

void marshal(Object jaxbElement, Result result)
Throws: JAXBException
Throws: MarshalException
Throws: IllegalArgumentException

void marshal(Object jaxbElement, Node node)
Throws: JAXBException
Throws: MarshalException
Throws: IllegalArgumentException

void marshal(Object jaxbElement, ContentHandler handler)
Throws: JAXBException
Throws: MarshalException
Throws: IllegalArgumentException

void setAdapter(Class type, XmlAdapter adapter)
Throws: IllegalArgumentException
Throws: UnsupportedOperationException

void setAdapter(XmlAdapter adapter)
Throws: IllegalArgumentException
Throws: UnsupportedOperationException

void setAttachmentMarshaller(AttachmentMarshaller am)
Throws: IllegalStateException

void setEventHandler(ValidationEventHandler handler)
Throws: JAXBException

void setListener(Marshaller.Listener listener)

void setProperty(String name, Object value)
Throws: PropertyException
Throws: IllegalArgumentException

void setSchema(Schema schema)
Throws: UnsupportedOperationException


INHERITED METHODS:

SUBINTERFACES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net