Table of Contents

Class ParserAdapter

Namespace
Org.Xml.Sax.Helpers
Assembly
MASES.JNet.dll
public class ParserAdapter : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<JVMBridgeListener>
JVMBridgeListener
ParserAdapter
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

ParserAdapter()

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

public ParserAdapter()

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> OnEndElement { get; set; }

Property Value

Action<String>

Remarks

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

OnGetContentHandler

public Func<ContentHandler> OnGetContentHandler { get; set; }

Property Value

Func<ContentHandler>

Remarks

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

OnGetDTDHandler

public Func<DTDHandler> OnGetDTDHandler { get; set; }

Property Value

Func<DTDHandler>

Remarks

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

OnGetEntityResolver

public Func<EntityResolver> OnGetEntityResolver { get; set; }

Property Value

Func<EntityResolver>

Remarks

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

OnGetErrorHandler

public Func<ErrorHandler> OnGetErrorHandler { get; set; }

Property Value

Func<ErrorHandler>

Remarks

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

OnGetFeature

public Func<String, bool> OnGetFeature { get; set; }

Property Value

Func<String, bool>

Remarks

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

OnGetProperty

public Func<String, object> OnGetProperty { get; set; }

Property Value

Func<String, object>

Remarks

If OnGetProperty 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

OnSetContentHandler

public Action<ContentHandler> OnSetContentHandler { get; set; }

Property Value

Action<ContentHandler>

Remarks

If OnSetContentHandler 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

OnSetFeature

public Action<String, bool> OnSetFeature { get; set; }

Property Value

Action<String, bool>

Remarks

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

OnSetProperty

public Action<String, object> OnSetProperty { get; set; }

Property Value

Action<String, object>

Remarks

If OnSetProperty 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

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)

public virtual void EndElement(String arg0)

Parameters

arg0 String

String

Exceptions

SAXException

GetContentHandler()

public virtual ContentHandler GetContentHandler()

Returns

ContentHandler

ContentHandler

GetDTDHandler()

public virtual DTDHandler GetDTDHandler()

Returns

DTDHandler

DTDHandler

GetEntityResolver()

public virtual EntityResolver GetEntityResolver()

Returns

EntityResolver

EntityResolver

GetErrorHandler()

public virtual ErrorHandler GetErrorHandler()

Returns

ErrorHandler

ErrorHandler

GetFeature(String)

public virtual bool GetFeature(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

Exceptions

SAXNotRecognizedException
SAXNotSupportedException

GetProperty(String)

public virtual object GetProperty(String arg0)

Parameters

arg0 String

String

Returns

object

object

Exceptions

SAXNotRecognizedException
SAXNotSupportedException

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 ParserAdapter

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

SetContentHandler(ContentHandler)

public virtual void SetContentHandler(ContentHandler arg0)

Parameters

arg0 ContentHandler

ContentHandler

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

SetFeature(String, bool)

public virtual void SetFeature(String arg0, bool arg1)

Parameters

arg0 String

String

arg1 bool

bool

Exceptions

SAXNotRecognizedException
SAXNotSupportedException

SetProperty(String, object)

public virtual void SetProperty(String arg0, object arg1)

Parameters

arg0 String

String

arg1 object

object

Exceptions

SAXNotRecognizedException
SAXNotSupportedException

StartDocument()

public virtual void StartDocument()

Exceptions

SAXException