Class JAXBElement<T>
public class JAXBElement<T> : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, ISerializable
Type Parameters
T
- Inheritance
-
JAXBElement<T>
- Implements
- Extension Methods
Constructors
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)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public JAXBElement(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
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 java.lang.AutoCloseable
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
CreatePoolableInstance(QName, Class, Class, T)
HPA initializer for JAXBElement(Javax.Xml.Namespace.QName arg0, Java.Lang.Class arg1, Java.Lang.Class arg2, T arg3)
public static JAXBElement<T> CreatePoolableInstance(QName arg0, Class arg1, Class arg2, T arg3)
Parameters
Returns
- JAXBElement<T>
CreatePoolableInstance(QName, Class, T)
HPA initializer for JAXBElement(Javax.Xml.Namespace.QName arg0, Java.Lang.Class arg1, T arg2)
public static JAXBElement<T> CreatePoolableInstance(QName arg0, Class arg1, T arg2)
Parameters
Returns
- JAXBElement<T>
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>