org.jboss.resteasy.plugins.providers.jaxb
Class BaseMarshaller

java.lang.Object
  extended by org.jboss.resteasy.plugins.providers.jaxb.BaseMarshaller
All Implemented Interfaces:
javax.xml.bind.Marshaller
Direct Known Subclasses:
BadgerMarshaller, JettisonMappedMarshaller

public abstract class BaseMarshaller
extends java.lang.Object
implements javax.xml.bind.Marshaller

Version:
$Revision: 1 $
Author:
Bill Burke

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.xml.bind.Marshaller
javax.xml.bind.Marshaller.Listener
 
Field Summary
protected  java.lang.String charset
           
protected  javax.xml.bind.Marshaller marshaller
           
 
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
BaseMarshaller()
           
 
Method Summary
 void marshal(java.lang.Object o, java.io.OutputStream outputStream)
           
 void setProperty(java.lang.String s, java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.bind.Marshaller
getAdapter, getAttachmentMarshaller, getEventHandler, getListener, getNode, getProperty, getSchema, marshal, marshal, marshal, marshal, marshal, marshal, marshal, setAdapter, setAdapter, setAttachmentMarshaller, setEventHandler, setListener, setSchema
 

Field Detail

marshaller

protected javax.xml.bind.Marshaller marshaller

charset

protected java.lang.String charset
Constructor Detail

BaseMarshaller

public BaseMarshaller()
Method Detail

marshal

public void marshal(java.lang.Object o,
                    java.io.OutputStream outputStream)
             throws javax.xml.bind.JAXBException
Specified by:
marshal in interface javax.xml.bind.Marshaller
Throws:
javax.xml.bind.JAXBException

setProperty

public void setProperty(java.lang.String s,
                        java.lang.Object o)
                 throws javax.xml.bind.PropertyException
Specified by:
setProperty in interface javax.xml.bind.Marshaller
Throws:
javax.xml.bind.PropertyException


Copyright © 2010. All Rights Reserved.