Table of Contents

Class Marshaller

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

Constructors

Marshaller()

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

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

Marshaller(IJVMBridgeBaseInitializer)

Internal constructor: used internally from JCOBridge

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

Parameters

initializer IJVMBridgeBaseInitializer

Marshaller(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("Marshaller 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 Marshaller(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

GetListener

public Marshaller.Listener GetListener { get; }

Property Value

Marshaller.Listener

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

JAXB_ENCODING

public static String JAXB_ENCODING { get; }

Property Value

String

JAXB_FORMATTED_OUTPUT

public static String JAXB_FORMATTED_OUTPUT { get; }

Property Value

String

JAXB_FRAGMENT

public static String JAXB_FRAGMENT { get; }

Property Value

String

JAXB_NO_NAMESPACE_SCHEMA_LOCATION

public static String JAXB_NO_NAMESPACE_SCHEMA_LOCATION { get; }

Property Value

String

JAXB_SCHEMA_LOCATION

public static String JAXB_SCHEMA_LOCATION { get; }

Property Value

String

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, Result)

public void Marshal(object arg0, Result arg1)

Parameters

arg0 object

object

arg1 Result

Result

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

SetListener(Listener)

public void SetListener(Marshaller.Listener arg0)

Parameters

arg0 Marshaller.Listener

Marshaller.Listener

SetProperty(String, object)

public void SetProperty(String arg0, object arg1)

Parameters

arg0 String

String

arg1 object

object

Exceptions

PropertyException