be.ac.ulg.montefiore.run.totem.util.jaxb.runtime
Class MarshallerImpl

java.lang.Object
  extended by javax.xml.bind.helpers.AbstractMarshallerImpl
      extended by be.ac.ulg.montefiore.run.totem.util.jaxb.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
static java.lang.String ENCODING_HANDLER
           
static java.lang.String INDENT_STRING
           
static java.lang.String PREFIX_MAPPER
           
static java.lang.String XML_HEADERS
           
static java.lang.String XMLDECLARATION
           
 
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

INDENT_STRING

public static final java.lang.String INDENT_STRING
See Also:
Constant Field Values

PREFIX_MAPPER

public static final java.lang.String PREFIX_MAPPER
See Also:
Constant Field Values

ENCODING_HANDLER

public static final java.lang.String ENCODING_HANDLER
See Also:
Constant Field Values

XMLDECLARATION

public static final java.lang.String XMLDECLARATION
See Also:
Constant Field Values

XML_HEADERS

public static final java.lang.String XML_HEADERS
See Also:
Constant Field Values
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


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.