Class FastinfoSetMarshaller
- java.lang.Object
-
- org.jboss.resteasy.plugins.providers.jaxb.fastinfoset.FastinfoSetMarshaller
-
- All Implemented Interfaces:
Marshaller
public class FastinfoSetMarshaller extends Object implements Marshaller
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javax.xml.bind.Marshaller
Marshaller.Listener
-
-
Field Summary
-
Fields inherited from interface javax.xml.bind.Marshaller
JAXB_ENCODING, JAXB_FORMATTED_OUTPUT, JAXB_FRAGMENT, JAXB_NO_NAMESPACE_SCHEMA_LOCATION, JAXB_SCHEMA_LOCATION
-
-
Constructor Summary
Constructors Constructor Description FastinfoSetMarshaller(JAXBContext context)
-
Method Summary
-
-
-
Constructor Detail
-
FastinfoSetMarshaller
public FastinfoSetMarshaller(JAXBContext context) throws JAXBException
- Throws:
JAXBException
-
-
Method Detail
-
getFastinfoSetXMLStreamWriter
protected static XMLStreamWriter getFastinfoSetXMLStreamWriter(OutputStream entityStream)
-
marshal
public void marshal(Object o, Result result) throws JAXBException
- Specified by:
marshal
in interfaceMarshaller
- Throws:
JAXBException
-
marshal
public void marshal(Object o, OutputStream outputStream) throws JAXBException
- Specified by:
marshal
in interfaceMarshaller
- Throws:
JAXBException
-
marshal
public void marshal(Object o, File file) throws JAXBException
- Specified by:
marshal
in interfaceMarshaller
- Throws:
JAXBException
-
marshal
public void marshal(Object o, Writer writer) throws JAXBException
- Specified by:
marshal
in interfaceMarshaller
- Throws:
JAXBException
-
marshal
public void marshal(Object o, ContentHandler contentHandler) throws JAXBException
- Specified by:
marshal
in interfaceMarshaller
- Throws:
JAXBException
-
marshal
public void marshal(Object o, Node node) throws JAXBException
- Specified by:
marshal
in interfaceMarshaller
- Throws:
JAXBException
-
marshal
public void marshal(Object o, XMLStreamWriter xmlStreamWriter) throws JAXBException
- Specified by:
marshal
in interfaceMarshaller
- Throws:
JAXBException
-
marshal
public void marshal(Object o, XMLEventWriter xmlEventWriter) throws JAXBException
- Specified by:
marshal
in interfaceMarshaller
- Throws:
JAXBException
-
getNode
public Node getNode(Object o) throws JAXBException
- Specified by:
getNode
in interfaceMarshaller
- Throws:
JAXBException
-
setProperty
public void setProperty(String s, Object o) throws PropertyException
- Specified by:
setProperty
in interfaceMarshaller
- Throws:
PropertyException
-
getProperty
public Object getProperty(String s) throws PropertyException
- Specified by:
getProperty
in interfaceMarshaller
- Throws:
PropertyException
-
setEventHandler
public void setEventHandler(ValidationEventHandler validationEventHandler) throws JAXBException
- Specified by:
setEventHandler
in interfaceMarshaller
- Throws:
JAXBException
-
getEventHandler
public ValidationEventHandler getEventHandler() throws JAXBException
- Specified by:
getEventHandler
in interfaceMarshaller
- Throws:
JAXBException
-
setAdapter
public void setAdapter(XmlAdapter xmlAdapter)
- Specified by:
setAdapter
in interfaceMarshaller
-
setAdapter
public <A extends XmlAdapter> void setAdapter(Class<A> aClass, A a)
- Specified by:
setAdapter
in interfaceMarshaller
-
getAdapter
public <A extends XmlAdapter> A getAdapter(Class<A> aClass)
- Specified by:
getAdapter
in interfaceMarshaller
-
setAttachmentMarshaller
public void setAttachmentMarshaller(AttachmentMarshaller attachmentMarshaller)
- Specified by:
setAttachmentMarshaller
in interfaceMarshaller
-
getAttachmentMarshaller
public AttachmentMarshaller getAttachmentMarshaller()
- Specified by:
getAttachmentMarshaller
in interfaceMarshaller
-
setSchema
public void setSchema(Schema schema)
- Specified by:
setSchema
in interfaceMarshaller
-
getSchema
public Schema getSchema()
- Specified by:
getSchema
in interfaceMarshaller
-
setListener
public void setListener(Marshaller.Listener listener)
- Specified by:
setListener
in interfaceMarshaller
-
getListener
public Marshaller.Listener getListener()
- Specified by:
getListener
in interfaceMarshaller
-
-