Table of Contents

Class AbstractMarshallerImpl

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

Constructors

AbstractMarshallerImpl()

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

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

AbstractMarshallerImpl(IJVMBridgeBaseInitializer)

Internal constructor: used internally from JCOBridge

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

Parameters

initializer IJVMBridgeBaseInitializer

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

Parameters

args object[]

Properties

AttachmentMarshaller

public AttachmentMarshaller AttachmentMarshaller { get; set; }

Property Value

AttachmentMarshaller

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

EventHandler

public ValidationEventHandler EventHandler { get; set; }

Property Value

ValidationEventHandler

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

Listener

public Marshaller.Listener Listener { get; set; }

Property Value

Marshaller.Listener

Schema

public Schema Schema { get; set; }

Property Value

Schema

Methods

GetAdapter<A>(Class)

public A GetAdapter<A>(Class arg0) where A : XmlAdapter

Parameters

arg0 Class

Class

Returns

A

A

Type Parameters

A

XmlAdapter

GetNode(object)

public Node GetNode(object arg0)

Parameters

arg0 object

object

Returns

Node

Node

Exceptions

JAXBException

GetProperty(String)

public object GetProperty(String arg0)

Parameters

arg0 String

String

Returns

object

object

Exceptions

PropertyException

Marshal(object, File)

public void Marshal(object arg0, File arg1)

Parameters

arg0 object

object

arg1 File

File

Exceptions

JAXBException

Marshal(object, OutputStream)

public void Marshal(object arg0, OutputStream arg1)

Parameters

arg0 object

object

arg1 OutputStream

OutputStream

Exceptions

JAXBException

Marshal(object, Writer)

public void Marshal(object arg0, Writer arg1)

Parameters

arg0 object

object

arg1 Writer

Writer

Exceptions

JAXBException

Marshal(object, XMLEventWriter)

public void Marshal(object arg0, XMLEventWriter arg1)

Parameters

arg0 object

object

arg1 XMLEventWriter

XMLEventWriter

Exceptions

JAXBException

Marshal(object, XMLStreamWriter)

public void Marshal(object arg0, XMLStreamWriter arg1)

Parameters

arg0 object

object

arg1 XMLStreamWriter

XMLStreamWriter

Exceptions

JAXBException

Marshal(object, Node)

public void Marshal(object arg0, Node arg1)

Parameters

arg0 object

object

arg1 Node

Node

Exceptions

JAXBException

Marshal(object, ContentHandler)

public void Marshal(object arg0, ContentHandler arg1)

Parameters

arg0 object

object

arg1 ContentHandler

ContentHandler

Exceptions

JAXBException

SetAdapter(XmlAdapter)

public void SetAdapter(XmlAdapter arg0)

Parameters

arg0 XmlAdapter

XmlAdapter

SetAdapter<A>(Class, A)

public void SetAdapter<A>(Class arg0, A arg1) where A : XmlAdapter

Parameters

arg0 Class

Class

arg1 A

A

Type Parameters

A

XmlAdapter

SetProperty(String, object)

public void SetProperty(String arg0, object arg1)

Parameters

arg0 String

String

arg1 object

object

Exceptions

PropertyException