Class JAXBElement<T>
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
JAXBElement(QName, Class, T)
public JAXBElement(QName arg0, Class arg1, T arg2)
Parameters
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
initializerIJVMBridgeBaseInitializer
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
argsobject[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
DeclaredType
public Class DeclaredType { 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
Name
public QName Name { get; }
Property Value
Scope
public Class Scope { get; }
Property Value
Value
https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/JAXBElement.html#getValue-- https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/JAXBElement.html#setValue-java.lang.Object-
public T Value { get; set; }
Property Value
- T
Methods
IsGlobalScope()
public bool IsGlobalScope()
Returns
IsNil()
public bool IsNil()
Returns
IsTypeSubstituted()
public bool IsTypeSubstituted()
Returns
SetNil(bool)
public void SetNil(bool arg0)
Parameters
Operators
implicit operator JAXBElement(JAXBElement<T>)
Converter from JAXBElement<T> to JAXBElement
public static implicit operator JAXBElement(JAXBElement<T> t)
Parameters
tJAXBElement<T>