public class JBossXBMarshallerImpl extends Object implements JBossXBMarshaller
Constructor and Description |
---|
JBossXBMarshallerImpl() |
Modifier and Type | Method and Description |
---|---|
Node |
getNode(Object contentTree)
Get a DOM tree view of the content tree(Optional).
|
Object |
getProperty(String name)
Get the particular property in the underlying implementation of
Marshaller.
|
void |
marshal(Object obj,
ContentHandler handler)
Marshal the content tree rooted at obj into SAX2 events.
|
void |
marshal(Object obj,
Node node)
Marshal the content tree rooted at obj into a DOM tree.
|
void |
marshal(Object obj,
OutputStream os)
Marshal the content tree rooted at obj into an output stream.
|
void |
marshal(Object obj,
Writer writer)
Marshal the content tree rooted at obj into a Writer.
|
void |
setProperty(String name,
Object value)
Set the particular property in the underlying implementation of
Marshaller.
|
public void marshal(Object obj, Writer writer) throws MarshalException
marshal
in interface JBossXBMarshaller
MarshalException
public void marshal(Object obj, ContentHandler handler)
marshal
in interface JBossXBMarshaller
public void marshal(Object obj, Node node)
marshal
in interface JBossXBMarshaller
public void marshal(Object obj, OutputStream os) throws MarshalException
marshal
in interface JBossXBMarshaller
MarshalException
public Object getProperty(String name)
getProperty
in interface JBossXBMarshaller
public void setProperty(String name, Object value)
setProperty
in interface JBossXBMarshaller
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.