Freigeben über


Driver Class

Definition

SAX2 Driver that pulls events from XmlPullParser and converts them into SAX2 callbacks.

[Android.Runtime.Register("org/xmlpull/v1/sax2/Driver", DoNotGenerateAcw=true)]
public class Driver : Java.Lang.Object, IDisposable, Java.Interop.IJavaPeerable, Org.Xml.Sax.IAttributes, Org.Xml.Sax.ILocator, Org.Xml.Sax.IXMLReader
[<Android.Runtime.Register("org/xmlpull/v1/sax2/Driver", DoNotGenerateAcw=true)>]
type Driver = class
    inherit Object
    interface IAttributes
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
    interface ILocator
    interface IXMLReader
Inheritance
Driver
Attributes
Implements

Remarks

SAX2 Driver that pulls events from XmlPullParser and converts them into SAX2 callbacks.

Java documentation for org.xmlpull.v1.sax2.Driver.

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

Driver()
Driver(IntPtr, JniHandleOwnership)

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

Driver(XmlReader)

Fields

ApacheDynamicValidationFeature
ApacheSchemaValidationFeature
DeclarationHandlerProperty
LexicalHandlerProperty
NamespacePrefixesFeature
NamespacesFeature
ValidationFeature

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
ColumnNumber

Return the column number where the current document event ends.

ContentHandler

Return the current content handler.

DTDHandler

Return the current DTD handler.

EntityResolver

Return the current entity resolver.

ErrorHandler

Return the current error handler.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
Length

Return the number of attributes in the list.

LineNumber

Return the line number where the current document event ends.

PeerReference (Inherited from Object)
Pp
PublicId

Return the public identifier for the current document event.

SystemId

Return the system identifier for the current document event.

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

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

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

(Inherited from Object)
GetFeature(String)

Look up the value of a feature flag.

GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetIndex(String)

Look up the index of an attribute by XML qualified (prefixed) name.

GetIndex(String, String)

Look up the index of an attribute by Namespace name.

GetLocalName(Int32)

Look up an attribute's local name by index.

GetProperty(String)

Look up the value of a property.

GetQName(Int32)

Look up an attribute's XML qualified (prefixed) name by index.

GetType(Int32)

Look up an attribute's type by index.

GetType(String)

Look up an attribute's type by XML qualified (prefixed) name.

GetType(String, String)

Look up an attribute's type by Namespace name.

GetURI(Int32)

Look up an attribute's Namespace URI by index.

GetValue(Int32)

Look up an attribute's value by index.

GetValue(String)

Look up an attribute's value by XML qualified (prefixed) name.

GetValue(String, String)

Look up an attribute's value by Namespace name.

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 an XML document.

Parse(String)

Parse an XML document from a system identifier (URI).

ParseAsync(InputSource)
ParseAsync(String)
ParseSubTree(XmlReader)
ParseSubTreeAsync(XmlReader)
SetFeature(String, Boolean)

Set the value of a feature flag.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetProperty(String, Object)

Set the value of a property.

StartElement(String, String, String)

Calls ContentHandler#startElement(String, String, String, Attributes) startElement on the ContentHandler with this driver object as the Attributes implementation.

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(IXMLReader, InputSource)
ParseAsync(IXMLReader, String)

Applies to