net.sf.jour.rt.view.config.impl.runtime
Class MarshallerImpl

java.lang.Object
  extended byjavax.xml.bind.helpers.AbstractMarshallerImpl
      extended bynet.sf.jour.rt.view.config.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

Field Summary
(package private)  DefaultJAXBContextImpl context
          reference to the context that created this object
 
Fields inherited from class javax.xml.bind.helpers.AbstractMarshallerImpl
 
Fields inherited from interface javax.xml.bind.Marshaller
JAXB_ENCODING, JAXB_FORMATTED_OUTPUT, 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
getEncoding, getEventHandler, getJavaEncoding, getNode, getNoNSSchemaLocation, getSchemaLocation, isFormattedOutput, marshal, marshal, marshal, marshal, setEncoding, setEventHandler, setFormattedOutput, setNoNSSchemaLocation, 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
Throws:
javax.xml.bind.PropertyException

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
                 throws javax.xml.bind.PropertyException
Throws:
javax.xml.bind.PropertyException


Copyright © 2004 sourceforge. All Rights Reserved.