Class Unmarshaller
public class Unmarshaller : JVMBridgeBase<Unmarshaller>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IUnmarshaller
- Inheritance
-
Unmarshaller
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
Unmarshaller()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Unmarshaller 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 Unmarshaller()
Unmarshaller(IJVMBridgeBaseInitializer)
Internal constructor: used internally from JCOBridge
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Unmarshaller(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Unmarshaller(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("Unmarshaller 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 Unmarshaller(params object[] args)
Parameters
argsobject[]
Properties
AttachmentUnmarshaller
https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/Unmarshaller.html#getAttachmentUnmarshaller-- https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/Unmarshaller.html#setAttachmentUnmarshaller-javax.xml.bind.attachment.AttachmentUnmarshaller-
public AttachmentUnmarshaller AttachmentUnmarshaller { 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/Unmarshaller.html#getEventHandler-- https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/Unmarshaller.html#setEventHandler-javax.xml.bind.ValidationEventHandler-
public ValidationEventHandler EventHandler { get; set; }
Property Value
GetListener
public Unmarshaller.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
Schema
https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/Unmarshaller.html#getSchema-- https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/Unmarshaller.html#setSchema-javax.xml.validation.Schema-
public Schema Schema { get; set; }
Property Value
UnmarshallerHandler
public UnmarshallerHandler UnmarshallerHandler { get; }
Property Value
Methods
GetAdapter<A>(Class)
public A GetAdapter<A>(Class arg0) where A : XmlAdapter
Parameters
Returns
- A
A
Type Parameters
GetProperty(String)
public object GetProperty(String arg0)
Parameters
Returns
Exceptions
IsValidating()
public bool IsValidating()
Returns
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(Unmarshaller.Listener arg0)
Parameters
SetProperty(String, object)
public void SetProperty(String arg0, object arg1)
Parameters
Exceptions
SetValidating(bool)
public void SetValidating(bool arg0)
Parameters
Exceptions
Unmarshal(File)
public object Unmarshal(File arg0)
Parameters
Returns
Exceptions
Unmarshal(InputStream)
public object Unmarshal(InputStream arg0)
Parameters
arg0InputStream
Returns
Exceptions
Unmarshal(Reader)
https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/Unmarshaller.html#unmarshal-java.io.Reader-
public object Unmarshal(Reader arg0)
Parameters
Returns
Exceptions
Unmarshal(URL)
public object Unmarshal(URL arg0)
Parameters
Returns
Exceptions
Unmarshal(XMLEventReader)
public object Unmarshal(XMLEventReader arg0)
Parameters
Returns
Exceptions
Unmarshal(XMLStreamReader)
public object Unmarshal(XMLStreamReader arg0)
Parameters
Returns
Exceptions
Unmarshal(Source)
public object Unmarshal(Source arg0)
Parameters
Returns
Exceptions
Unmarshal(Node)
public object Unmarshal(Node arg0)
Parameters
Returns
Exceptions
Unmarshal(InputSource)
public object Unmarshal(InputSource arg0)
Parameters
arg0InputSource
Returns
Exceptions
Unmarshal<T>(XMLEventReader, Class)
public JAXBElement<T> Unmarshal<T>(XMLEventReader arg0, Class arg1)
Parameters
arg0XMLEventReaderarg1Class
Returns
Type Parameters
T
Exceptions
Unmarshal<T>(XMLStreamReader, Class)
public JAXBElement<T> Unmarshal<T>(XMLStreamReader arg0, Class arg1)
Parameters
arg0XMLStreamReaderarg1Class
Returns
Type Parameters
T
Exceptions
Unmarshal<T>(Source, Class)
public JAXBElement<T> Unmarshal<T>(Source arg0, Class arg1)
Parameters
Returns
Type Parameters
T
Exceptions
Unmarshal<T>(Node, Class)
public JAXBElement<T> Unmarshal<T>(Node arg0, Class arg1)
Parameters
Returns
Type Parameters
T