共用方式為


AttributeListImpl Class

Definition

Caution

This class is obsoleted in this android platform

Default implementation for AttributeList.

[Android.Runtime.Register("org/xml/sax/helpers/AttributeListImpl", DoNotGenerateAcw=true)]
[System.Obsolete("This class is obsoleted in this android platform")]
public class AttributeListImpl : Java.Lang.Object, IDisposable, Java.Interop.IJavaPeerable, Org.Xml.Sax.IAttributeList
[<Android.Runtime.Register("org/xml/sax/helpers/AttributeListImpl", DoNotGenerateAcw=true)>]
[<System.Obsolete("This class is obsoleted in this android platform")>]
type AttributeListImpl = class
    inherit Object
    interface IAttributeList
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Inheritance
AttributeListImpl
Attributes
Implements

Remarks

Default implementation for AttributeList.

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

AttributeList implements the deprecated SAX1 org.xml.sax.AttributeList AttributeList interface, and has been replaced by the new SAX2 org.xml.sax.helpers.AttributesImpl AttributesImpl interface.

This class provides a convenience implementation of the SAX org.xml.sax.AttributeList AttributeList interface. This implementation is useful both for SAX parser writers, who can use it to provide attributes to the application, and for SAX application writers, who can use it to create a persistent copy of an element's attribute specifications:

private AttributeList myatts;

            public void startElement (String name, AttributeList atts)
            {
                         // create a persistent copy of the attribute list
                         // for use outside this method
              myatts = new AttributeListImpl(atts);
              [...]
            }

Please note that SAX parsers are not required to use this class to provide an implementation of AttributeList; it is supplied only as an optional convenience. In particular, parser writers are encouraged to invent more efficient implementations.

This member is deprecated. This class implements a deprecated interface, org.xml.sax.AttributeList AttributeList; that interface has been replaced by org.xml.sax.Attributes Attributes, which is implemented in the org.xml.sax.helpers.AttributesImpl AttributesImpl helper class.

Added in SAX 1.0.

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

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

AttributeListImpl()
Obsolete.

Create an empty attribute list.

AttributeListImpl(IAttributeList)
Obsolete.

Construct a persistent copy of an existing attribute list.

AttributeListImpl(IntPtr, JniHandleOwnership)

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

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
Length
Obsolete.

Return the number of attributes in the list.

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

AddAttribute(String, String, String)
Obsolete.

Add an attribute to an attribute list.

Clear()
Obsolete.

Clear the attribute list.

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)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetName(Int32)
Obsolete.

Get the name of an attribute (by position).

GetType(Int32)
Obsolete.

Get the type of an attribute (by position).

GetType(String)
Obsolete.

Get the type of an attribute (by name).

GetValue(Int32)
Obsolete.

Get the value of an attribute (by position).

GetValue(String)
Obsolete.

Get the value of an attribute (by 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)
RemoveAttribute(String)
Obsolete.

Remove an attribute from the list.

SetAttributeList(IAttributeList)
Obsolete.

Set the attribute list, discarding previous contents.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
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, 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)
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)

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)

Applies to