Class AbstractMarshallerImpl
public class AbstractMarshallerImpl : Marshaller, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IMarshaller
- Inheritance
-
AbstractMarshallerImpl
- Implements
- 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
AbstractMarshallerImpl()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("AbstractMarshallerImpl 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 AbstractMarshallerImpl()
AbstractMarshallerImpl(IJVMBridgeBaseInitializer)
Internal constructor: used internally from JCOBridge
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AbstractMarshallerImpl(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
AbstractMarshallerImpl(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("AbstractMarshallerImpl 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 AbstractMarshallerImpl(params object[] args)
Parameters
argsobject[]
Properties
AttachmentMarshaller
https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/helpers/AbstractMarshallerImpl.html#getAttachmentMarshaller-- https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/helpers/AbstractMarshallerImpl.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/helpers/AbstractMarshallerImpl.html#getEventHandler-- https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/helpers/AbstractMarshallerImpl.html#setEventHandler-javax.xml.bind.ValidationEventHandler-
public ValidationEventHandler EventHandler { get; set; }
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
Listener
https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/helpers/AbstractMarshallerImpl.html#getListener-- https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/helpers/AbstractMarshallerImpl.html#setListener-javax.xml.bind.Marshaller.Listener-
public Marshaller.Listener Listener { get; set; }
Property Value
Schema
https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/helpers/AbstractMarshallerImpl.html#getSchema-- https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/helpers/AbstractMarshallerImpl.html#setSchema-javax.xml.validation.Schema-
public Schema Schema { get; set; }
Property Value
Methods
GetAdapter<A>(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, 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
SetProperty(String, object)
public void SetProperty(String arg0, object arg1)