fr.etai.xat2v2.obj
Class Xat2Marshaller
java.lang.Object
fr.etai.xat2v2.obj.Xat2Marshaller
- All Implemented Interfaces:
- Marshaller
public final class Xat2Marshaller
- extends Object
- implements Marshaller
Method Summary |
|
getAdapter(Class<A> type)
|
AttachmentMarshaller |
getAttachmentMarshaller()
|
ValidationEventHandler |
getEventHandler()
|
Marshaller.Listener |
getListener()
|
Node |
getNode(Object contentTree)
|
Object |
getProperty(String name)
|
Schema |
getSchema()
|
byte[] |
marshal(Object jaxbElement)
|
void |
marshal(Object jaxbElement,
ContentHandler handler)
|
void |
marshal(Object jaxbElement,
File output)
|
void |
marshal(Object jaxbElement,
Node node)
|
void |
marshal(Object jaxbElement,
OutputStream os)
|
void |
marshal(Object jaxbElement,
Result result)
|
void |
marshal(Object jaxbElement,
Writer writer)
|
void |
marshal(Object jaxbElement,
XMLEventWriter writer)
|
void |
marshal(Object jaxbElement,
XMLStreamWriter writer)
|
|
setAdapter(Class<A> type,
A adapter)
|
void |
setAdapter(XmlAdapter adapter)
|
void |
setAttachmentMarshaller(AttachmentMarshaller am)
|
void |
setEventHandler(ValidationEventHandler handler)
|
void |
setInternalIDs(Object obj)
|
void |
setListener(Marshaller.Listener listener)
|
void |
setProperty(String name,
Object value)
|
void |
setSchema(Schema schema)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Xat2Marshaller
public Xat2Marshaller()
setInternalIDs
public void setInternalIDs(Object obj)
marshal
public byte[] marshal(Object jaxbElement)
marshal
public void marshal(Object jaxbElement,
Result result)
throws JAXBException
- Specified by:
marshal
in interface Marshaller
- Throws:
JAXBException
marshal
public void marshal(Object jaxbElement,
OutputStream os)
throws JAXBException
- Specified by:
marshal
in interface Marshaller
- Throws:
JAXBException
marshal
public void marshal(Object jaxbElement,
File output)
throws JAXBException
- Specified by:
marshal
in interface Marshaller
- Throws:
JAXBException
marshal
public void marshal(Object jaxbElement,
Writer writer)
throws JAXBException
- Specified by:
marshal
in interface Marshaller
- Throws:
JAXBException
marshal
public void marshal(Object jaxbElement,
ContentHandler handler)
throws JAXBException
- Specified by:
marshal
in interface Marshaller
- Throws:
JAXBException
marshal
public void marshal(Object jaxbElement,
Node node)
throws JAXBException
- Specified by:
marshal
in interface Marshaller
- Throws:
JAXBException
marshal
public void marshal(Object jaxbElement,
XMLStreamWriter writer)
throws JAXBException
- Specified by:
marshal
in interface Marshaller
- Throws:
JAXBException
marshal
public void marshal(Object jaxbElement,
XMLEventWriter writer)
throws JAXBException
- Specified by:
marshal
in interface Marshaller
- Throws:
JAXBException
getNode
public Node getNode(Object contentTree)
throws JAXBException
- Specified by:
getNode
in interface Marshaller
- Throws:
JAXBException
setProperty
public void setProperty(String name,
Object value)
throws PropertyException
- Specified by:
setProperty
in interface Marshaller
- Throws:
PropertyException
getProperty
public Object getProperty(String name)
throws PropertyException
- Specified by:
getProperty
in interface Marshaller
- Throws:
PropertyException
setEventHandler
public void setEventHandler(ValidationEventHandler handler)
throws JAXBException
- Specified by:
setEventHandler
in interface Marshaller
- Throws:
JAXBException
getEventHandler
public ValidationEventHandler getEventHandler()
throws JAXBException
- Specified by:
getEventHandler
in interface Marshaller
- Throws:
JAXBException
setAdapter
public void setAdapter(XmlAdapter adapter)
- Specified by:
setAdapter
in interface Marshaller
setAdapter
public <A extends XmlAdapter> void setAdapter(Class<A> type,
A adapter)
- Specified by:
setAdapter
in interface Marshaller
getAdapter
public <A extends XmlAdapter> A getAdapter(Class<A> type)
- Specified by:
getAdapter
in interface Marshaller
setAttachmentMarshaller
public void setAttachmentMarshaller(AttachmentMarshaller am)
- Specified by:
setAttachmentMarshaller
in interface Marshaller
getAttachmentMarshaller
public AttachmentMarshaller getAttachmentMarshaller()
- Specified by:
getAttachmentMarshaller
in interface Marshaller
setListener
public void setListener(Marshaller.Listener listener)
- Specified by:
setListener
in interface Marshaller
getListener
public Marshaller.Listener getListener()
- Specified by:
getListener
in interface Marshaller
setSchema
public void setSchema(Schema schema)
- Specified by:
setSchema
in interface Marshaller
getSchema
public Schema getSchema()
- Specified by:
getSchema
in interface Marshaller
Copyright © 2012. All Rights Reserved.