org.openhealthexchange.openpixpdq.ihe.audit.jaxb.impl.runtime
Class MarshallerImpl

java.lang.Object
  extended by javax.xml.bind.helpers.AbstractMarshallerImpl
      extended by org.openhealthexchange.openpixpdq.ihe.audit.jaxb.impl.runtime.MarshallerImpl
All Implemented Interfaces:
javax.xml.bind.Marshaller

public class MarshallerImpl
extends javax.xml.bind.helpers.AbstractMarshallerImpl

Implementation of Marshaller interface for JAXB RI.

Author:
Kohsuke Kawaguchi, Vivek Pandey

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.xml.bind.Marshaller
javax.xml.bind.Marshaller.Listener
 
Field Summary
(package private)  DefaultJAXBContextImpl context
          reference to the context that created this object
 
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
MarshallerImpl(DefaultJAXBContextImpl c)
           
 
Method Summary
protected  com.sun.xml.bind.marshaller.CharacterEscapeHandler createEscapeHandler(java.lang.String encoding)
           
 com.sun.xml.bind.marshaller.XMLWriter createWriter(java.io.OutputStream os)
           
 com.sun.xml.bind.marshaller.XMLWriter createWriter(java.io.OutputStream os, java.lang.String encoding)
           
 com.sun.xml.bind.marshaller.XMLWriter createWriter(java.io.Writer w)
           
 com.sun.xml.bind.marshaller.XMLWriter createWriter(java.io.Writer w, java.lang.String encoding)
           
 java.lang.Object getProperty(java.lang.String name)
           
 void marshal(java.lang.Object obj, javax.xml.transform.Result result)
           
 void setProperty(java.lang.String name, java.lang.Object value)
           
 
Methods inherited from class javax.xml.bind.helpers.AbstractMarshallerImpl
getAdapter, getAttachmentMarshaller, getEncoding, getEventHandler, getJavaEncoding, getListener, getNode, getNoNSSchemaLocation, getSchema, getSchemaLocation, isFormattedOutput, isFragment, marshal, marshal, marshal, marshal, marshal, marshal, marshal, setAdapter, setAdapter, setAttachmentMarshaller, setEncoding, setEventHandler, setFormattedOutput, setFragment, setListener, setNoNSSchemaLocation, setSchema, setSchemaLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

final DefaultJAXBContextImpl context
reference to the context that created this object

Constructor Detail

MarshallerImpl

public MarshallerImpl(DefaultJAXBContextImpl c)
Method Detail

marshal

public void marshal(java.lang.Object obj,
                    javax.xml.transform.Result result)
             throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

createEscapeHandler

protected com.sun.xml.bind.marshaller.CharacterEscapeHandler createEscapeHandler(java.lang.String encoding)

createWriter

public com.sun.xml.bind.marshaller.XMLWriter createWriter(java.io.Writer w,
                                                          java.lang.String encoding)
                                                   throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

createWriter

public com.sun.xml.bind.marshaller.XMLWriter createWriter(java.io.Writer w)
                                                   throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

createWriter

public com.sun.xml.bind.marshaller.XMLWriter createWriter(java.io.OutputStream os)
                                                   throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

createWriter

public com.sun.xml.bind.marshaller.XMLWriter createWriter(java.io.OutputStream os,
                                                          java.lang.String encoding)
                                                   throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

getProperty

public java.lang.Object getProperty(java.lang.String name)
                             throws javax.xml.bind.PropertyException
Specified by:
getProperty in interface javax.xml.bind.Marshaller
Overrides:
getProperty in class javax.xml.bind.helpers.AbstractMarshallerImpl
Throws:
javax.xml.bind.PropertyException

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
                 throws javax.xml.bind.PropertyException
Specified by:
setProperty in interface javax.xml.bind.Marshaller
Overrides:
setProperty in class javax.xml.bind.helpers.AbstractMarshallerImpl
Throws:
javax.xml.bind.PropertyException