Marshals the given JAXB object pObject
to the {@link javax.xml.transform.Result} pTarget
. AllJAXB provider must support {@link javax.xml.transform.dom.DOMResult}, {@link javax.xml.transform.sax.SAXResult}, and {@link javax.xml.transform.stream.StreamResult}, which can easily be mapped to {@link #marshal(Object,org.w3c.dom.Node)}, {@link #marshal(Object,org.xml.sax.ContentHandler)}, {@link #marshal(Object,java.io.OutputStream)}, or {@link #marshal(Object,java.io.Writer)}. The use of a {@link javax.xml.transform.Result} as a target isn'tportable beyond these subinterfaces.
XMLCryptoContext
containing additionalcontext (may be null if not applicable)
@throws ClassCastException if the type of parent
orcontext
is not compatible with this key info
@throws MarshalException if the key info cannot be marshalled
@throws NullPointerException if parent
is null
Marshals the given JMElement.
@param pData An instance of JMXmlSerializerData that wasobtained by callinggetData(JMMarshaller, ContentHandler)
.
@param pElement The element being marshalled. It must bean instance of the class associated to this specific JMXmlSerializer.
null
if propertyis not optional)
@param ctx XML text output context
@throws JiBXException on error in marshalling process
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|