Class JAXBContext
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
initializerIJVMBridgeBaseInitializer
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
argsobject[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { 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
JAXB_CONTEXT_FACTORY
public static String JAXB_CONTEXT_FACTORY { get; }
Property Value
Methods
CreateBinder()
public Binder<Node> CreateBinder()
Returns
CreateBinder<T>(Class)
public Binder<T> CreateBinder<T>(Class arg0)
Parameters
Returns
Type Parameters
T
CreateJAXBIntrospector()
public JAXBIntrospector CreateJAXBIntrospector()
Returns
CreateMarshaller()
public Marshaller CreateMarshaller()
Returns
Exceptions
CreateUnmarshaller()
public Unmarshaller CreateUnmarshaller()
Returns
Exceptions
CreateValidator()
public Validator CreateValidator()
Returns
Exceptions
GenerateSchema(SchemaOutputResolver)
public void GenerateSchema(SchemaOutputResolver arg0)
Parameters
Exceptions
NewInstance(params Class[])
public static JAXBContext NewInstance(params Class[] arg0)
Parameters
Returns
Exceptions
NewInstance(Class[], Map<String, object>)
public static JAXBContext NewInstance(Class[] arg0, Map<String, object> arg1)
Parameters
Returns
Exceptions
NewInstance(String)
public static JAXBContext NewInstance(String arg0)
Parameters
Returns
Exceptions
NewInstance(String, ClassLoader)
public static JAXBContext NewInstance(String arg0, ClassLoader arg1)
Parameters
arg0Stringarg1ClassLoader
Returns
Exceptions
NewInstance(String, ClassLoader, Map<String, object>)
public static JAXBContext NewInstance(String arg0, ClassLoader arg1, Map<String, object> arg2)
Parameters
arg0Stringarg1ClassLoaderarg2Map<String, object>