Table of Contents

Class JAXBElement<T>

Namespace
Javax.Xml.Bind
Assembly
MASES.JNet.dll
public class JAXBElement<T> : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable

Type Parameters

T
Inheritance
JAXBElement<T>
Implements
Inherited Members
Extension Methods

Constructors

JAXBElement()

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

public JAXBElement()

JAXBElement(QName, Class, Class, T)

public JAXBElement(QName arg0, Class arg1, Class arg2, T arg3)

Parameters

arg0 QName

QName

arg1 Class

Class

arg2 Class

Class

arg3 T

T

JAXBElement(QName, Class, T)

public JAXBElement(QName arg0, Class arg1, T arg2)

Parameters

arg0 QName

QName

arg1 Class

Class

arg2 T

T

JAXBElement(IJVMBridgeBaseInitializer)

Internal constructor: used internally from JCOBridge

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

Parameters

initializer IJVMBridgeBaseInitializer

JAXBElement(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

public JAXBElement(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

DeclaredType

public Class DeclaredType { get; }

Property Value

Class

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

Name

public QName Name { get; }

Property Value

QName

Scope

public Class Scope { get; }

Property Value

Class

Value

public T Value { get; set; }

Property Value

T

Methods

IsGlobalScope()

public bool IsGlobalScope()

Returns

bool

bool

IsNil()

public bool IsNil()

Returns

bool

bool

IsTypeSubstituted()

public bool IsTypeSubstituted()

Returns

bool

bool

SetNil(bool)

public void SetNil(bool arg0)

Parameters

arg0 bool

bool

Operators

implicit operator JAXBElement(JAXBElement<T>)

Converter from JAXBElement<T> to JAXBElement

public static implicit operator JAXBElement(JAXBElement<T> t)

Parameters

t JAXBElement<T>

Returns

JAXBElement