Class MarshallerImpl
- java.lang.Object
-
- javax.xml.bind.helpers.AbstractMarshallerImpl
-
- com.sun.identity.saml2.jaxb.assertion.impl.runtime.MarshallerImpl
-
- All Implemented Interfaces:
Marshaller
public class MarshallerImpl extends AbstractMarshallerImpl
Implementation ofMarshallerinterface for JAXB RI.- Author:
- Kohsuke Kawaguchi, Vivek Pandey
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javax.xml.bind.Marshaller
Marshaller.Listener
-
-
Field Summary
-
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
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 JAXBException
- Throws:
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 JAXBException
- Throws:
JAXBException
-
createWriter
public com.sun.xml.bind.marshaller.XMLWriter createWriter(Writer w) throws JAXBException
- Throws:
JAXBException
-
createWriter
public com.sun.xml.bind.marshaller.XMLWriter createWriter(OutputStream os) throws JAXBException
- Throws:
JAXBException
-
createWriter
public com.sun.xml.bind.marshaller.XMLWriter createWriter(OutputStream os, String encoding) throws JAXBException
- Throws:
JAXBException
-
getProperty
public Object getProperty(String name) throws PropertyException
- Specified by:
getPropertyin interfaceMarshaller- Overrides:
getPropertyin classAbstractMarshallerImpl- Throws:
PropertyException
-
setProperty
public void setProperty(String name, Object value) throws PropertyException
- Specified by:
setPropertyin interfaceMarshaller- Overrides:
setPropertyin classAbstractMarshallerImpl- Throws:
PropertyException
-
-