XMLReaderAdapter Class

Definition

Adapt a SAX2 XMLReader as a SAX1 Parser.

[Android.Runtime.Register("org/xml/sax/helpers/XMLReaderAdapter", DoNotGenerateAcw=true)]
public class XMLReaderAdapter : Java.Lang.Object, IDisposable, Java.Interop.IJavaPeerable, Org.Xml.Sax.IContentHandler, Org.Xml.Sax.IParser
[<Android.Runtime.Register("org/xml/sax/helpers/XMLReaderAdapter", DoNotGenerateAcw=true)>]
type XMLReaderAdapter = class
    inherit Object
    interface IContentHandler
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
    interface IParser
Inheritance
XMLReaderAdapter
Attributes
Implements

Remarks

Adapt a SAX2 XMLReader as a SAX1 Parser.

<blockquote> <em>This module, both source code and documentation, is in the Public Domain, and comes with <strong>NO WARRANTY</strong>.</em> See http://www.saxproject.org for further information. </blockquote>

This class wraps a SAX2 org.xml.sax.XMLReader XMLReader and makes it act as a SAX1 org.xml.sax.Parser Parser. The XMLReader must support a true value for the http://xml.org/sax/features/namespace-prefixes property or parsing will fail with a org.xml.sax.SAXException SAXException; if the XMLReader supports a false value for the http://xml.org/sax/features/namespaces property, that will also be used to improve efficiency.

Added in SAX 2.0.

Java documentation for org.xml.sax.helpers.XMLReaderAdapter.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

XMLReaderAdapter()

Create a new adapter.

XMLReaderAdapter(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

XMLReaderAdapter(IXMLReader)

Create a new adapter.

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PeerReference (Inherited from Object)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Methods

Characters(Char[], Int32, Int32)

Adapt a SAX2 characters event.

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
EndDocument()

End document event.

EndElement(String, String, String)

Adapt a SAX2 end element event.

EndPrefixMapping(String)

Adapt a SAX2 end prefix mapping event.

Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
IgnorableWhitespace(Char[], Int32, Int32)

Adapt a SAX2 ignorable whitespace event.

JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
Parse(InputSource)

Parse the document.

Parse(String)

Parse the document.

ProcessingInstruction(String, String)

Adapt a SAX2 processing instruction event.

SetDocumentHandler(IDocumentHandler)

Register the SAX1 document event handler.

SetDocumentLocator(ILocator)

Set a document locator.

SetDTDHandler(IDTDHandler)

Register the DTD event handler.

SetEntityResolver(IEntityResolver)

Register the entity resolver.

SetErrorHandler(IErrorHandler)

Register the error event handler.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetLocale(Locale)

Set the locale for error reporting.

SkippedEntity(String)

Adapt a SAX2 skipped entity event.

StartDocument()

Start document event.

StartElement(String, String, String, IAttributes)

Adapt a SAX2 start element event.

StartPrefixMapping(String, String)

Adapt a SAX2 start prefix mapping event.

ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)
ParseAsync(IParser, InputSource)
ParseAsync(IParser, String)

Applies to