|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.org.retep.util.xml.jaxb.MarshallerFacade
public class MarshallerFacade
A facade wrapping a Marshaller. Usually a subclass
provoides additional logic to the implementation as this class simply passes
all calls to the wrapped Marshaller instance
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javax.xml.bind.Marshaller |
|---|
Marshaller.Listener |
| Field Summary | |
|---|---|
protected Marshaller |
marshaller
|
| 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 | |
|---|---|
MarshallerFacade(Marshaller marshaller)
Construct a facade around an existing marshaller |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Marshaller marshaller
| Constructor Detail |
|---|
public MarshallerFacade(Marshaller marshaller)
marshaller - | Method Detail |
|---|
public final Marshaller getWrappedMarshaller()
public void marshal(Object jaxbElement,
Result result)
throws JAXBException
marshal in interface MarshallerJAXBException
public void marshal(Object jaxbElement,
OutputStream os)
throws JAXBException
marshal in interface MarshallerJAXBException
public void marshal(Object jaxbElement,
File output)
throws JAXBException
marshal in interface MarshallerJAXBException
public void marshal(Object jaxbElement,
Writer writer)
throws JAXBException
marshal in interface MarshallerJAXBException
public void marshal(Object jaxbElement,
ContentHandler handler)
throws JAXBException
marshal in interface MarshallerJAXBException
public void marshal(Object jaxbElement,
Node node)
throws JAXBException
marshal in interface MarshallerJAXBException
public void marshal(Object jaxbElement,
XMLStreamWriter writer)
throws JAXBException
marshal in interface MarshallerJAXBException
public void marshal(Object jaxbElement,
XMLEventWriter writer)
throws JAXBException
marshal in interface MarshallerJAXBException
public Node getNode(Object contentTree)
throws JAXBException
getNode in interface MarshallerJAXBException
public void setProperty(String name,
Object value)
throws PropertyException
setProperty in interface MarshallerPropertyException
public Object getProperty(String name)
throws PropertyException
getProperty in interface MarshallerPropertyException
public void setEventHandler(ValidationEventHandler handler)
throws JAXBException
setEventHandler in interface MarshallerJAXBException
public ValidationEventHandler getEventHandler()
throws JAXBException
getEventHandler in interface MarshallerJAXBExceptionpublic void setAdapter(XmlAdapter adapter)
setAdapter in interface Marshaller
public <A extends XmlAdapter> void setAdapter(Class<A> type,
A adapter)
setAdapter in interface Marshallerpublic <A extends XmlAdapter> A getAdapter(Class<A> type)
getAdapter in interface Marshallerpublic void setAttachmentMarshaller(AttachmentMarshaller am)
setAttachmentMarshaller in interface Marshallerpublic AttachmentMarshaller getAttachmentMarshaller()
getAttachmentMarshaller in interface Marshallerpublic void setSchema(Schema schema)
setSchema in interface Marshallerpublic Schema getSchema()
getSchema in interface Marshallerpublic void setListener(Marshaller.Listener listener)
setListener in interface Marshallerpublic Marshaller.Listener getListener()
getListener in interface Marshaller
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||