Table of Contents

Class JAXBContext

Namespace
Javax.Xml.Bind
Assembly
MASES.JNet.dll
public class JAXBContext : JVMBridgeBase<JAXBContext>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JAXBContext
Implements
Inherited Members
Extension Methods

Constructors

JAXBContext()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("JAXBContext 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 JAXBContext()

JAXBContext(IJVMBridgeBaseInitializer)

Internal constructor: used internally from JCOBridge

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public JAXBContext(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

JAXBContext(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("JAXBContext 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 JAXBContext(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

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

JAXB_CONTEXT_FACTORY

public static String JAXB_CONTEXT_FACTORY { get; }

Property Value

String

Methods

CreateBinder()

public Binder<Node> CreateBinder()

Returns

Binder<Node>

Binder

CreateBinder<T>(Class)

public Binder<T> CreateBinder<T>(Class arg0)

Parameters

arg0 Class

Class

Returns

Binder<T>

Binder

Type Parameters

T

CreateJAXBIntrospector()

public JAXBIntrospector CreateJAXBIntrospector()

Returns

JAXBIntrospector

JAXBIntrospector

CreateMarshaller()

public Marshaller CreateMarshaller()

Returns

Marshaller

Marshaller

Exceptions

JAXBException

CreateUnmarshaller()

public Unmarshaller CreateUnmarshaller()

Returns

Unmarshaller

Unmarshaller

Exceptions

JAXBException

CreateValidator()

public Validator CreateValidator()

Returns

Validator

Validator

Exceptions

JAXBException

GenerateSchema(SchemaOutputResolver)

public void GenerateSchema(SchemaOutputResolver arg0)

Parameters

arg0 SchemaOutputResolver

SchemaOutputResolver

Exceptions

IOException

NewInstance(params Class[])

public static JAXBContext NewInstance(params Class[] arg0)

Parameters

arg0 Class[]

Class

Returns

JAXBContext

JAXBContext

Exceptions

JAXBException

NewInstance(Class[], Map<String, object>)

public static JAXBContext NewInstance(Class[] arg0, Map<String, object> arg1)

Parameters

arg0 Class[]

Class

arg1 Map<String, object>

Map

Returns

JAXBContext

JAXBContext

Exceptions

JAXBException

NewInstance(String)

public static JAXBContext NewInstance(String arg0)

Parameters

arg0 String

String

Returns

JAXBContext

JAXBContext

Exceptions

JAXBException

NewInstance(String, ClassLoader)

public static JAXBContext NewInstance(String arg0, ClassLoader arg1)

Parameters

arg0 String

String

arg1 ClassLoader

ClassLoader

Returns

JAXBContext

JAXBContext

Exceptions

JAXBException

NewInstance(String, ClassLoader, Map<String, object>)

public static JAXBContext NewInstance(String arg0, ClassLoader arg1, Map<String, object> arg2)

Parameters

arg0 String

String

arg1 ClassLoader

ClassLoader

arg2 Map<String, object>

Map

Returns

JAXBContext

JAXBContext

Exceptions

JAXBException