Class Binder
public class Binder : JVMBridgeBase<Binder>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
Binder
- Implements
- Inherited Members
- Extension Methods
Constructors
Binder()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Binder 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 Binder()
Binder(IJVMBridgeBaseInitializer)
Internal constructor: used internally from JCOBridge
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Binder(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Binder(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("Binder 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 Binder(params object[] args)
Parameters
argsobject[]
Properties
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/Binder.html#getEventHandler-- https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/Binder.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
Schema
https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/Binder.html#getSchema-- https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/Binder.html#setSchema-javax.xml.validation.Schema-
public Schema Schema { get; set; }
Property Value
Methods
GetJAXBNode(object)
public object GetJAXBNode(object arg0)
Parameters
Returns
GetProperty(String)
public object GetProperty(String arg0)
Parameters
Returns
Exceptions
GetXMLNode(object)
public object GetXMLNode(object arg0)
Parameters
Returns
Marshal(object, object)
public void Marshal(object arg0, object arg1)
Parameters
Exceptions
SetProperty(String, object)
public void SetProperty(String arg0, object arg1)
Parameters
Exceptions
Unmarshal(object)
public object Unmarshal(object arg0)
Parameters
Returns
Exceptions
Unmarshal(object, Class)
public JAXBElement Unmarshal(object arg0, Class arg1)
Parameters
Returns
Exceptions
UpdateJAXB(object)
public object UpdateJAXB(object arg0)
Parameters
Returns
Exceptions
UpdateXML(object)
public object UpdateXML(object arg0)
Parameters
Returns
Exceptions
UpdateXML(object, object)
public object UpdateXML(object arg0, object arg1)