Class Marshaller
public class Marshaller : JVMBridgeBase<Marshaller>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IMarshaller
- Inheritance
-
Marshaller
- Implements
- Derived
- Inherited Members
-
JVMBridgeBase<Marshaller>.SExecuteWithSignature<TReturn>(IJavaType, string, string, params object[])JVMBridgeBase<Marshaller>.SExecuteWithSignature<TNewClass, TReturn>(string, string, params object[])JVMBridgeBase<Marshaller>.NewWithSignatureAndWrapsDirect<TNewClass>(string, string, params object[])
- Extension Methods
Constructors
Marshaller()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Marshaller class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Marshaller()
Marshaller(IJVMBridgeBaseInitializer)
Internal constructor: used internally from JCOBridge
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Marshaller(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Marshaller(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("Marshaller class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Marshaller(params object[] args)
Parameters
argsobject[]
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 Closeable
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; }
Property Value
JAXB_FORMATTED_OUTPUT
public static String JAXB_FORMATTED_OUTPUT { get; }
Property Value
JAXB_FRAGMENT
public static String JAXB_FRAGMENT { get; }
Property Value
JAXB_NO_NAMESPACE_SCHEMA_LOCATION
public static String JAXB_NO_NAMESPACE_SCHEMA_LOCATION { get; }
Property Value
JAXB_SCHEMA_LOCATION
public static String JAXB_SCHEMA_LOCATION { get; }
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)