Class Marshaller
public class Marshaller : JVMBridgeBase<Marshaller>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IMarshaller
- Inheritance
-
Marshaller
- Implements
- Derived
- Extension Methods
Constructors
Marshaller(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Marshaller(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
AttachmentMarshaller
https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/Marshaller.html#getAttachmentMarshaller-- https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/Marshaller.html#setAttachmentMarshaller-javax.xml.bind.attachment.AttachmentMarshaller-
public AttachmentMarshaller AttachmentMarshaller { get; set; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
EventHandler
https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/Marshaller.html#getEventHandler-- https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/Marshaller.html#setEventHandler-javax.xml.bind.ValidationEventHandler-
public ValidationEventHandler EventHandler { get; set; }
Property Value
GetListener
public Marshaller.Listener GetListener { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
JAXB_ENCODING
public static String JAXB_ENCODING { get; set; }
Property Value
JAXB_FORMATTED_OUTPUT
public static String JAXB_FORMATTED_OUTPUT { get; set; }
Property Value
JAXB_FRAGMENT
public static String JAXB_FRAGMENT { get; set; }
Property Value
JAXB_NO_NAMESPACE_SCHEMA_LOCATION
public static String JAXB_NO_NAMESPACE_SCHEMA_LOCATION { get; set; }
Property Value
JAXB_SCHEMA_LOCATION
public static String JAXB_SCHEMA_LOCATION { get; set; }
Property Value
Schema
https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/Marshaller.html#getSchema-- https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/Marshaller.html#setSchema-javax.xml.validation.Schema-
public Schema Schema { get; set; }
Property Value
Methods
GetAdapter<A>(Class)
https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/Marshaller.html#getAdapter-java.lang.Class-
public A GetAdapter<A>(Class arg0) where A : XmlAdapter
Parameters
Returns
- A
A
Type Parameters
GetNode(object)
public Node GetNode(object arg0)
Parameters
Returns
Exceptions
GetProperty(String)
public object GetProperty(String arg0)
Parameters
Returns
Exceptions
Marshal(object, File)
public void Marshal(object arg0, File arg1)
Parameters
Exceptions
Marshal(object, OutputStream)
public void Marshal(object arg0, OutputStream arg1)
Parameters
arg0objectarg1OutputStream
Exceptions
Marshal(object, Writer)
public void Marshal(object arg0, Writer arg1)
Parameters
Exceptions
Marshal(object, XMLEventWriter)
public void Marshal(object arg0, XMLEventWriter arg1)
Parameters
arg0objectarg1XMLEventWriter
Exceptions
Marshal(object, XMLStreamWriter)
public void Marshal(object arg0, XMLStreamWriter arg1)
Parameters
arg0objectarg1XMLStreamWriter
Exceptions
Marshal(object, Result)
public void Marshal(object arg0, Result arg1)
Parameters
Exceptions
Marshal(object, Node)
public void Marshal(object arg0, Node arg1)
Parameters
Exceptions
Marshal(object, ContentHandler)
public void Marshal(object arg0, ContentHandler arg1)
Parameters
arg0objectarg1ContentHandler
Exceptions
SetAdapter(XmlAdapter)
public void SetAdapter(XmlAdapter arg0)
Parameters
arg0XmlAdapter
SetAdapter<A>(Class, A)
public void SetAdapter<A>(Class arg0, A arg1) where A : XmlAdapter
Parameters
Type Parameters
SetListener(Listener)
public void SetListener(Marshaller.Listener arg0)
Parameters
SetProperty(String, object)
public void SetProperty(String arg0, object arg1)