Class Binder<XmlNode>
public class Binder<XmlNode> : JVMBridgeBase<Binder<XmlNode>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Type Parameters
XmlNode
- Inheritance
-
JVMBridgeBase<Binder<XmlNode>>Binder<XmlNode>
- Implements
- Extension Methods
Constructors
Binder()
public Binder()
Binder(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 Binder(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
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 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
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
CreatePoolableInstance()
HPA initializer for Binder()
public static Binder<XmlNode> CreatePoolableInstance()
Returns
- Binder<XmlNode>
GetJAXBNode(XmlNode)
public object GetJAXBNode(XmlNode arg0)
Parameters
arg0XmlNodeXmlNode
Returns
GetProperty(String)
public object GetProperty(String arg0)
Parameters
Returns
Exceptions
GetXMLNode(object)
public XmlNode GetXMLNode(object arg0)
Parameters
Returns
- XmlNode
XmlNode
Marshal(object, XmlNode)
public void Marshal(object arg0, XmlNode arg1)
Parameters
Exceptions
SetProperty(String, object)
public void SetProperty(String arg0, object arg1)
Parameters
Exceptions
Unmarshal(XmlNode)
public object Unmarshal(XmlNode arg0)
Parameters
arg0XmlNodeXmlNode
Returns
Exceptions
Unmarshal<T>(XmlNode, Class)
public JAXBElement<T> Unmarshal<T>(XmlNode arg0, Class arg1)
Parameters
Returns
Type Parameters
T
Exceptions
UpdateJAXB(XmlNode)
public object UpdateJAXB(XmlNode arg0)
Parameters
arg0XmlNodeXmlNode
Returns
Exceptions
UpdateXML(object)
public XmlNode UpdateXML(object arg0)
Parameters
Returns
- XmlNode
XmlNode
Exceptions
UpdateXML(object, XmlNode)
public XmlNode UpdateXML(object arg0, XmlNode arg1)
Parameters
Returns
- XmlNode
XmlNode
Exceptions
Operators
implicit operator Binder(Binder<XmlNode>)
Converter from Binder<XmlNode> to Binder
public static implicit operator Binder(Binder<XmlNode> t)
Parameters
tBinder<XmlNode>