Table of Contents

Class XMLReaderAdapter

Namespace
Org.Xml.Sax.Helpers
Assembly
MASES.JNet.dll
public class XMLReaderAdapter : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<JVMBridgeListener>
JVMBridgeListener
XMLReaderAdapter
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeListener.Dispose()
JVMBridgeListener.AutoInit
JVMBridgeListener.IsBridgeStatic
JVMBridgeListener.IsBridgeCloseable
JVMBridgeListener.IsBridgeListener
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom(IJavaType)
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom<T>()
JVMBridgeBase<JVMBridgeListener>.Execute<T>(params T[])
JVMBridgeBase<JVMBridgeListener>.DynBridgeClazz
JVMBridgeBase<JVMBridgeListener>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeInterface
JVMBridgeBase.IsBridgeAbstract
Extension Methods

Constructors

XMLReaderAdapter()

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

public XMLReaderAdapter()

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

OnCharacters

public Action<char[], int, int> OnCharacters { get; set; }

Property Value

Action<char[], int, int>

Remarks

If OnCharacters has a value it takes precedence over corresponding class method

OnEndDocument

public Action OnEndDocument { get; set; }

Property Value

Action

Remarks

If OnEndDocument has a value it takes precedence over corresponding class method

OnEndElement

public Action<String, String, String> OnEndElement { get; set; }

Property Value

Action<String, String, String>

Remarks

If OnEndElement has a value it takes precedence over corresponding class method

OnEndPrefixMapping

public Action<String> OnEndPrefixMapping { get; set; }

Property Value

Action<String>

Remarks

If OnEndPrefixMapping has a value it takes precedence over corresponding class method

OnIgnorableWhitespace

public Action<char[], int, int> OnIgnorableWhitespace { get; set; }

Property Value

Action<char[], int, int>

Remarks

If OnIgnorableWhitespace has a value it takes precedence over corresponding class method

OnParse

public Action<String> OnParse { get; set; }

Property Value

Action<String>

Remarks

If OnParse has a value it takes precedence over corresponding class method

OnParse1

public Action<InputSource> OnParse1 { get; set; }

Property Value

Action<InputSource>

Remarks

If OnParse1 has a value it takes precedence over corresponding class method

OnProcessingInstruction

public Action<String, String> OnProcessingInstruction { get; set; }

Property Value

Action<String, String>

Remarks

If OnProcessingInstruction has a value it takes precedence over corresponding class method

OnSetDTDHandler

public Action<DTDHandler> OnSetDTDHandler { get; set; }

Property Value

Action<DTDHandler>

Remarks

If OnSetDTDHandler has a value it takes precedence over corresponding class method

OnSetDocumentLocator

public Action<Locator> OnSetDocumentLocator { get; set; }

Property Value

Action<Locator>

Remarks

If OnSetDocumentLocator has a value it takes precedence over corresponding class method

OnSetEntityResolver

public Action<EntityResolver> OnSetEntityResolver { get; set; }

Property Value

Action<EntityResolver>

Remarks

If OnSetEntityResolver has a value it takes precedence over corresponding class method

OnSetErrorHandler

public Action<ErrorHandler> OnSetErrorHandler { get; set; }

Property Value

Action<ErrorHandler>

Remarks

If OnSetErrorHandler has a value it takes precedence over corresponding class method

OnSetLocale

public Action<Locale> OnSetLocale { get; set; }

Property Value

Action<Locale>

Remarks

If OnSetLocale has a value it takes precedence over corresponding class method

OnSkippedEntity

public Action<String> OnSkippedEntity { get; set; }

Property Value

Action<String>

Remarks

If OnSkippedEntity has a value it takes precedence over corresponding class method

OnStartDocument

public Action OnStartDocument { get; set; }

Property Value

Action

Remarks

If OnStartDocument has a value it takes precedence over corresponding class method

OnStartElement

public Action<String, String, String, Attributes> OnStartElement { get; set; }

Property Value

Action<String, String, String, Attributes>

Remarks

If OnStartElement has a value it takes precedence over corresponding class method

OnStartPrefixMapping

public Action<String, String> OnStartPrefixMapping { get; set; }

Property Value

Action<String, String>

Remarks

If OnStartPrefixMapping has a value it takes precedence over corresponding class method

Methods

Characters(char[], int, int)

public virtual void Characters(char[] arg0, int arg1, int arg2)

Parameters

arg0 char[]

char

arg1 int

int

arg2 int

int

Exceptions

SAXException

EndDocument()

public virtual void EndDocument()

Exceptions

SAXException

EndElement(String, String, String)

public virtual void EndElement(String arg0, String arg1, String arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 String

String

Exceptions

SAXException

EndPrefixMapping(String)

public virtual void EndPrefixMapping(String arg0)

Parameters

arg0 String

String

IgnorableWhitespace(char[], int, int)

public virtual void IgnorableWhitespace(char[] arg0, int arg1, int arg2)

Parameters

arg0 char[]

char

arg1 int

int

arg2 int

int

Exceptions

SAXException

InitializeHandlers()

Handlers initializer for XMLReaderAdapter

protected virtual void InitializeHandlers()

Parse(String)

public virtual void Parse(String arg0)

Parameters

arg0 String

String

Exceptions

IOException
SAXException

Parse(InputSource)

public virtual void Parse(InputSource arg0)

Parameters

arg0 InputSource

InputSource

Exceptions

IOException
SAXException

ProcessingInstruction(String, String)

public virtual void ProcessingInstruction(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Exceptions

SAXException

SetDTDHandler(DTDHandler)

public virtual void SetDTDHandler(DTDHandler arg0)

Parameters

arg0 DTDHandler

DTDHandler

SetDocumentLocator(Locator)

public virtual void SetDocumentLocator(Locator arg0)

Parameters

arg0 Locator

Locator

SetEntityResolver(EntityResolver)

public virtual void SetEntityResolver(EntityResolver arg0)

Parameters

arg0 EntityResolver

EntityResolver

SetErrorHandler(ErrorHandler)

public virtual void SetErrorHandler(ErrorHandler arg0)

Parameters

arg0 ErrorHandler

ErrorHandler

SetLocale(Locale)

public virtual void SetLocale(Locale arg0)

Parameters

arg0 Locale

Locale

Exceptions

SAXException

SkippedEntity(String)

public virtual void SkippedEntity(String arg0)

Parameters

arg0 String

String

Exceptions

SAXException

StartDocument()

public virtual void StartDocument()

Exceptions

SAXException

StartElement(String, String, String, Attributes)

public virtual void StartElement(String arg0, String arg1, String arg2, Attributes arg3)

Parameters

arg0 String

String

arg1 String

String

arg2 String

String

arg3 Attributes

Attributes

Exceptions

SAXException

StartPrefixMapping(String, String)

public virtual void StartPrefixMapping(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String