Table of Contents

Class Binder<XmlNode>

Namespace
Javax.Xml.Bind
Assembly
MASES.JNet.dll
public class Binder<XmlNode> : JVMBridgeBase<Binder<XmlNode>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition

Type Parameters

XmlNode
Inheritance
Binder<XmlNode>
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

initializer IJVMBridgeBaseInitializer

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

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

EventHandler

public ValidationEventHandler EventHandler { get; set; }

Property Value

ValidationEventHandler

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Schema

public Schema Schema { get; set; }

Property Value

Schema

Methods

GetJAXBNode(XmlNode)

public object GetJAXBNode(XmlNode arg0)

Parameters

arg0 XmlNode

XmlNode

Returns

object

object

GetProperty(String)

public object GetProperty(String arg0)

Parameters

arg0 String

String

Returns

object

object

Exceptions

PropertyException

GetXMLNode(object)

public XmlNode GetXMLNode(object arg0)

Parameters

arg0 object

object

Returns

XmlNode

XmlNode

Marshal(object, XmlNode)

public void Marshal(object arg0, XmlNode arg1)

Parameters

arg0 object

object

arg1 XmlNode

XmlNode

Exceptions

JAXBException

SetProperty(String, object)

public void SetProperty(String arg0, object arg1)

Parameters

arg0 String

String

arg1 object

object

Exceptions

PropertyException

Unmarshal(XmlNode)

public object Unmarshal(XmlNode arg0)

Parameters

arg0 XmlNode

XmlNode

Returns

object

object

Exceptions

JAXBException

Unmarshal<T>(XmlNode, Class)

public JAXBElement<T> Unmarshal<T>(XmlNode arg0, Class arg1)

Parameters

arg0 XmlNode

XmlNode

arg1 Class

Class

Returns

JAXBElement<T>

JAXBElement

Type Parameters

T

Exceptions

JAXBException

UpdateJAXB(XmlNode)

public object UpdateJAXB(XmlNode arg0)

Parameters

arg0 XmlNode

XmlNode

Returns

object

object

Exceptions

JAXBException

UpdateXML(object)

public XmlNode UpdateXML(object arg0)

Parameters

arg0 object

object

Returns

XmlNode

XmlNode

Exceptions

JAXBException

UpdateXML(object, XmlNode)

public XmlNode UpdateXML(object arg0, XmlNode arg1)

Parameters

arg0 object

object

arg1 XmlNode

XmlNode

Returns

XmlNode

XmlNode

Exceptions

JAXBException

Operators

implicit operator Binder(Binder<XmlNode>)

Converter from Binder<XmlNode> to Binder

public static implicit operator Binder(Binder<XmlNode> t)

Parameters

t Binder<XmlNode>

Returns

Binder