org.jboss.resteasy.plugins.providers.jaxb.json
Class JettisonMappedMarshaller
java.lang.Object
org.jboss.resteasy.plugins.providers.jaxb.BaseMarshaller
org.jboss.resteasy.plugins.providers.jaxb.json.JettisonMappedMarshaller
- All Implemented Interfaces:
- javax.xml.bind.Marshaller
public class JettisonMappedMarshaller
- extends BaseMarshaller
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Nested classes/interfaces inherited from interface javax.xml.bind.Marshaller |
javax.xml.bind.Marshaller.Listener |
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 |
JettisonMappedMarshaller(javax.xml.bind.JAXBContext context,
java.util.Map<java.lang.String,java.lang.String> xmlToJSON,
java.util.List<java.lang.String> attributeMapping,
java.util.List<java.lang.String> ignoredElements)
|
JettisonMappedMarshaller(javax.xml.bind.JAXBContext context,
org.codehaus.jettison.mapped.MappedNamespaceConvention convention)
|
Method Summary |
<A extends javax.xml.bind.annotation.adapters.XmlAdapter>
A |
|
getAdapter(java.lang.Class<A> aClass)
|
javax.xml.bind.attachment.AttachmentMarshaller |
getAttachmentMarshaller()
|
javax.xml.bind.ValidationEventHandler |
getEventHandler()
|
javax.xml.bind.Marshaller.Listener |
getListener()
|
org.w3c.dom.Node |
getNode(java.lang.Object o)
|
java.lang.Object |
getProperty(java.lang.String s)
|
javax.xml.validation.Schema |
getSchema()
|
void |
marshal(java.lang.Object o,
org.xml.sax.ContentHandler contentHandler)
|
void |
marshal(java.lang.Object o,
java.io.File file)
|
void |
marshal(java.lang.Object o,
org.w3c.dom.Node node)
|
void |
marshal(java.lang.Object o,
javax.xml.transform.Result result)
|
void |
marshal(java.lang.Object o,
java.io.Writer writer)
|
void |
marshal(java.lang.Object o,
javax.xml.stream.XMLEventWriter xmlEventWriter)
|
void |
marshal(java.lang.Object o,
javax.xml.stream.XMLStreamWriter xmlStreamWriter)
|
<A extends javax.xml.bind.annotation.adapters.XmlAdapter>
void |
|
setAdapter(java.lang.Class<A> aClass,
A a)
|
void |
setAdapter(javax.xml.bind.annotation.adapters.XmlAdapter xmlAdapter)
|
void |
setAttachmentMarshaller(javax.xml.bind.attachment.AttachmentMarshaller attachmentMarshaller)
|
void |
setEventHandler(javax.xml.bind.ValidationEventHandler validationEventHandler)
|
void |
setListener(javax.xml.bind.Marshaller.Listener listener)
|
void |
setSchema(javax.xml.validation.Schema schema)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JettisonMappedMarshaller
public JettisonMappedMarshaller(javax.xml.bind.JAXBContext context,
java.util.Map<java.lang.String,java.lang.String> xmlToJSON,
java.util.List<java.lang.String> attributeMapping,
java.util.List<java.lang.String> ignoredElements)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
JettisonMappedMarshaller
public JettisonMappedMarshaller(javax.xml.bind.JAXBContext context,
org.codehaus.jettison.mapped.MappedNamespaceConvention convention)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
marshal
public void marshal(java.lang.Object o,
javax.xml.transform.Result result)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
marshal
public void marshal(java.lang.Object o,
java.io.File file)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
marshal
public void marshal(java.lang.Object o,
java.io.Writer writer)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
marshal
public void marshal(java.lang.Object o,
org.xml.sax.ContentHandler contentHandler)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
marshal
public void marshal(java.lang.Object o,
org.w3c.dom.Node node)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
marshal
public void marshal(java.lang.Object o,
javax.xml.stream.XMLStreamWriter xmlStreamWriter)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
marshal
public void marshal(java.lang.Object o,
javax.xml.stream.XMLEventWriter xmlEventWriter)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
getNode
public org.w3c.dom.Node getNode(java.lang.Object o)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
getProperty
public java.lang.Object getProperty(java.lang.String s)
throws javax.xml.bind.PropertyException
- Throws:
javax.xml.bind.PropertyException
setEventHandler
public void setEventHandler(javax.xml.bind.ValidationEventHandler validationEventHandler)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
getEventHandler
public javax.xml.bind.ValidationEventHandler getEventHandler()
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
setAdapter
public void setAdapter(javax.xml.bind.annotation.adapters.XmlAdapter xmlAdapter)
setAdapter
public <A extends javax.xml.bind.annotation.adapters.XmlAdapter> void setAdapter(java.lang.Class<A> aClass,
A a)
getAdapter
public <A extends javax.xml.bind.annotation.adapters.XmlAdapter> A getAdapter(java.lang.Class<A> aClass)
setAttachmentMarshaller
public void setAttachmentMarshaller(javax.xml.bind.attachment.AttachmentMarshaller attachmentMarshaller)
getAttachmentMarshaller
public javax.xml.bind.attachment.AttachmentMarshaller getAttachmentMarshaller()
setSchema
public void setSchema(javax.xml.validation.Schema schema)
getSchema
public javax.xml.validation.Schema getSchema()
setListener
public void setListener(javax.xml.bind.Marshaller.Listener listener)
getListener
public javax.xml.bind.Marshaller.Listener getListener()
Copyright © 2010. All Rights Reserved.