Class MarshallerImpl
- java.lang.Object
-
- javax.xml.bind.helpers.AbstractMarshallerImpl
-
- com.sun.identity.saml2.jaxb.assertion.impl.runtime.MarshallerImpl
-
- All Implemented Interfaces:
javax.xml.bind.Marshaller
public class MarshallerImpl extends javax.xml.bind.helpers.AbstractMarshallerImplImplementation ofMarshallerinterface for JAXB RI.- Author:
- Kohsuke Kawaguchi, Vivek Pandey
-
-
Constructor Summary
Constructors Constructor Description MarshallerImpl(DefaultJAXBContextImpl c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.sun.xml.bind.marshaller.CharacterEscapeHandlercreateEscapeHandler(String encoding)com.sun.xml.bind.marshaller.XMLWritercreateWriter(OutputStream os)com.sun.xml.bind.marshaller.XMLWritercreateWriter(OutputStream os, String encoding)com.sun.xml.bind.marshaller.XMLWritercreateWriter(Writer w)com.sun.xml.bind.marshaller.XMLWritercreateWriter(Writer w, String encoding)ObjectgetProperty(String name)voidmarshal(Object obj, Result result)voidsetProperty(String name, 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
-
-
-
-
Constructor Detail
-
MarshallerImpl
public MarshallerImpl(DefaultJAXBContextImpl c)
-
-
Method Detail
-
marshal
public void marshal(Object obj, Result result) throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
-
createEscapeHandler
protected com.sun.xml.bind.marshaller.CharacterEscapeHandler createEscapeHandler(String encoding)
-
createWriter
public com.sun.xml.bind.marshaller.XMLWriter createWriter(Writer w, String encoding) throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
-
createWriter
public com.sun.xml.bind.marshaller.XMLWriter createWriter(Writer w) throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
-
createWriter
public com.sun.xml.bind.marshaller.XMLWriter createWriter(OutputStream os) throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
-
createWriter
public com.sun.xml.bind.marshaller.XMLWriter createWriter(OutputStream os, String encoding) throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
-
getProperty
public Object getProperty(String name) throws javax.xml.bind.PropertyException
- Specified by:
getPropertyin interfacejavax.xml.bind.Marshaller- Overrides:
getPropertyin classjavax.xml.bind.helpers.AbstractMarshallerImpl- Throws:
javax.xml.bind.PropertyException
-
-