javax.xml.bind
Interface Marshaller
- All Known Implementing Classes:
- AbstractMarshallerImpl
public interface Marshaller
JAXB_ENCODING
static final String JAXB_ENCODING
- See Also:
- Constant Field Values
JAXB_FORMATTED_OUTPUT
static final String JAXB_FORMATTED_OUTPUT
- See Also:
- Constant Field Values
JAXB_FRAGMENT
static final String JAXB_FRAGMENT
- See Also:
- Constant Field Values
JAXB_NO_NAMESPACE_SCHEMA_LOCATION
static final String JAXB_NO_NAMESPACE_SCHEMA_LOCATION
- See Also:
- Constant Field Values
JAXB_SCHEMA_LOCATION
static final String JAXB_SCHEMA_LOCATION
- See Also:
- Constant Field Values
getAdapter
<A extends XmlAdapter> A getAdapter(Class<A> type)
getAttachmentMarshaller
AttachmentMarshaller getAttachmentMarshaller()
getEventHandler
ValidationEventHandler getEventHandler()
throws JAXBException
- Throws:
JAXBException
getListener
Marshaller.Listener getListener()
getNode
Node getNode(Object contentTree)
throws JAXBException
- Throws:
JAXBException
getProperty
Object getProperty(String name)
throws PropertyException
- Throws:
PropertyException
getSchema
Schema getSchema()
marshal
void marshal(Object jaxbElement,
ContentHandler handler)
throws JAXBException
- Throws:
JAXBException
marshal
void marshal(Object jaxbElement,
Node node)
throws JAXBException
- Throws:
JAXBException
marshal
void marshal(Object jaxbElement,
OutputStream os)
throws JAXBException
- Throws:
JAXBException
marshal
void marshal(Object jaxbElement,
Result result)
throws JAXBException
- Throws:
JAXBException
marshal
void marshal(Object jaxbElement,
Writer writer)
throws JAXBException
- Throws:
JAXBException
marshal
void marshal(Object jaxbElement,
javax.xml.stream.XMLEventWriter writer)
throws JAXBException
- Throws:
JAXBException
marshal
void marshal(Object jaxbElement,
javax.xml.stream.XMLStreamWriter writer)
throws JAXBException
- Throws:
JAXBException
setAdapter
<A extends XmlAdapter> void setAdapter(Class<A> type,
A adapter)
setAdapter
void setAdapter(XmlAdapter adapter)
setAttachmentMarshaller
void setAttachmentMarshaller(AttachmentMarshaller am)
setEventHandler
void setEventHandler(ValidationEventHandler handler)
throws JAXBException
- Throws:
JAXBException
setListener
void setListener(Marshaller.Listener listener)
setProperty
void setProperty(String name,
Object value)
throws PropertyException
- Throws:
PropertyException
setSchema
void setSchema(Schema schema)
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.