Table of Contents

Class Unmarshaller

Namespace
Javax.Xml.Bind
Assembly
MASES.JNet.dll
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

initializer IJVMBridgeBaseInitializer

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

args object[]

Properties

AttachmentUnmarshaller

public AttachmentUnmarshaller AttachmentUnmarshaller { get; set; }

Property Value

AttachmentUnmarshaller

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

EventHandler

public ValidationEventHandler EventHandler { get; set; }

Property Value

ValidationEventHandler

GetListener

public Unmarshaller.Listener GetListener { get; }

Property Value

Unmarshaller.Listener

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

UnmarshallerHandler

public UnmarshallerHandler UnmarshallerHandler { get; }

Property Value

UnmarshallerHandler

Methods

GetAdapter<A>(Class)

public A GetAdapter<A>(Class arg0) where A : XmlAdapter

Parameters

arg0 Class

Class

Returns

A

A

Type Parameters

A

XmlAdapter

GetProperty(String)

public object GetProperty(String arg0)

Parameters

arg0 String

String

Returns

object

object

Exceptions

PropertyException

IsValidating()

public bool IsValidating()

Returns

bool

bool

Exceptions

JAXBException

SetAdapter(XmlAdapter)

public void SetAdapter(XmlAdapter arg0)

Parameters

arg0 XmlAdapter

XmlAdapter

SetAdapter<A>(Class, A)

public void SetAdapter<A>(Class arg0, A arg1) where A : XmlAdapter

Parameters

arg0 Class

Class

arg1 A

A

Type Parameters

A

XmlAdapter

SetListener(Listener)

public void SetListener(Unmarshaller.Listener arg0)

Parameters

arg0 Unmarshaller.Listener

Unmarshaller.Listener

SetProperty(String, object)

public void SetProperty(String arg0, object arg1)

Parameters

arg0 String

String

arg1 object

object

Exceptions

PropertyException

SetValidating(bool)

public void SetValidating(bool arg0)

Parameters

arg0 bool

bool

Exceptions

JAXBException

Unmarshal(File)

public object Unmarshal(File arg0)

Parameters

arg0 File

File

Returns

object

object

Exceptions

JAXBException

Unmarshal(InputStream)

public object Unmarshal(InputStream arg0)

Parameters

arg0 InputStream

InputStream

Returns

object

object

Exceptions

JAXBException

Unmarshal(Reader)

public object Unmarshal(Reader arg0)

Parameters

arg0 Reader

Reader

Returns

object

object

Exceptions

JAXBException

Unmarshal(URL)

public object Unmarshal(URL arg0)

Parameters

arg0 URL

URL

Returns

object

object

Exceptions

JAXBException

Unmarshal(XMLEventReader)

public object Unmarshal(XMLEventReader arg0)

Parameters

arg0 XMLEventReader

XMLEventReader

Returns

object

object

Exceptions

JAXBException

Unmarshal(XMLStreamReader)

public object Unmarshal(XMLStreamReader arg0)

Parameters

arg0 XMLStreamReader

XMLStreamReader

Returns

object

object

Exceptions

JAXBException

Unmarshal(Source)

public object Unmarshal(Source arg0)

Parameters

arg0 Source

Source

Returns

object

object

Exceptions

JAXBException

Unmarshal(Node)

public object Unmarshal(Node arg0)

Parameters

arg0 Node

Node

Returns

object

object

Exceptions

JAXBException

Unmarshal(InputSource)

public object Unmarshal(InputSource arg0)

Parameters

arg0 InputSource

InputSource

Returns

object

object

Exceptions

JAXBException

Unmarshal<T>(XMLEventReader, Class)

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

Parameters

arg0 XMLEventReader

XMLEventReader

arg1 Class

Class

Returns

JAXBElement<T>

JAXBElement

Type Parameters

T

Exceptions

JAXBException

Unmarshal<T>(XMLStreamReader, Class)

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

Parameters

arg0 XMLStreamReader

XMLStreamReader

arg1 Class

Class

Returns

JAXBElement<T>

JAXBElement

Type Parameters

T

Exceptions

JAXBException

Unmarshal<T>(Source, Class)

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

Parameters

arg0 Source

Source

arg1 Class

Class

Returns

JAXBElement<T>

JAXBElement

Type Parameters

T

Exceptions

JAXBException

Unmarshal<T>(Node, Class)

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

Parameters

arg0 Node

Node

arg1 Class

Class

Returns

JAXBElement<T>

JAXBElement

Type Parameters

T

Exceptions

JAXBException