次の方法で共有


Attributes2Impl Class

Definition

SAX2 extension helper for additional Attributes information, implementing the Attributes2 interface.

[Android.Runtime.Register("org/xml/sax/ext/Attributes2Impl", DoNotGenerateAcw=true)]
public class Attributes2Impl : Org.Xml.Sax.Helpers.AttributesImpl, IDisposable, Java.Interop.IJavaPeerable, Org.Xml.Sax.Ext.IAttributes2
[<Android.Runtime.Register("org/xml/sax/ext/Attributes2Impl", DoNotGenerateAcw=true)>]
type Attributes2Impl = class
    inherit AttributesImpl
    interface IAttributes2
    interface IAttributes
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Inheritance
Attributes2Impl
Attributes
Implements

Remarks

SAX2 extension helper for additional Attributes information, implementing the Attributes2 interface.

<blockquote> <em>This module, both source code and documentation, is in the Public Domain, and comes with <strong>NO WARRANTY</strong>.</em> </blockquote>

This is not part of core-only SAX2 distributions.

The <em>specified</em> flag for each attribute will always be true, unless it has been set to false in the copy constructor or using #setSpecified. Similarly, the <em>declared</em> flag for each attribute will always be false, except for defaulted attributes (<em>specified</em> is false), non-CDATA attributes, or when it is set to true using #setDeclared. If you change an attribute's type by hand, you may need to modify its <em>declared</em> flag to match.

Added in SAX 2.0 (extensions 1.1 alpha).

Java documentation for org.xml.sax.ext.Attributes2Impl.

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

Attributes2Impl()

Construct a new, empty Attributes2Impl object.

Attributes2Impl(IAttributes)

Copy an existing Attributes or Attributes2 object.

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

Return the number of attributes in the list.

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

Add an attribute to the end of the list.

(Inherited from AttributesImpl)
Clear()

Clear the attribute list for reuse.

(Inherited from AttributesImpl)
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)
GetIndex(String, String)

Look up an attribute's index by Namespace name.

(Inherited from AttributesImpl)
GetIndex(String)

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

(Inherited from AttributesImpl)
GetLocalName(Int32)

Return an attribute's local name.

(Inherited from AttributesImpl)
GetQName(Int32)

Return an attribute's qualified (prefixed) name.

(Inherited from AttributesImpl)
GetType(Int32)

Return an attribute's type by index.

(Inherited from AttributesImpl)
GetType(String, String)

Look up an attribute's type by Namespace-qualified name.

(Inherited from AttributesImpl)
GetType(String)

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

(Inherited from AttributesImpl)
GetURI(Int32)

Return an attribute's Namespace URI.

(Inherited from AttributesImpl)
GetValue(Int32)

Return an attribute's value by index.

(Inherited from AttributesImpl)
GetValue(String, String)

Look up an attribute's value by Namespace-qualified name.

(Inherited from AttributesImpl)
GetValue(String)

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

(Inherited from AttributesImpl)
IsDeclared(Int32)

Returns false unless the attribute was declared in the DTD.

IsDeclared(String, String)

Returns false unless the attribute was declared in the DTD.

IsDeclared(String)

Returns false unless the attribute was declared in the DTD.

IsSpecified(Int32)

Returns the current value of an attribute's "specified" flag.

IsSpecified(String, String)

Returns the current value of an attribute's "specified" flag.

IsSpecified(String)

Returns the current value of an attribute's "specified" flag.

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

Remove an attribute from the list.

(Inherited from AttributesImpl)
SetAttribute(Int32, String, String, String, String, String)

Set an attribute in the list.

(Inherited from AttributesImpl)
SetAttributes(IAttributes)

Copy an entire Attributes object.

(Inherited from AttributesImpl)
SetDeclared(Int32, Boolean)

Assign a value to the "declared" flag of a specific attribute.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetLocalName(Int32, String)

Set the local name of a specific attribute.

(Inherited from AttributesImpl)
SetQName(Int32, String)

Set the qualified name of a specific attribute.

(Inherited from AttributesImpl)
SetSpecified(Int32, Boolean)

Assign a value to the "specified" flag of a specific attribute.

SetType(Int32, String)

Set the type of a specific attribute.

(Inherited from AttributesImpl)
SetURI(Int32, String)

Set the Namespace URI of a specific attribute.

(Inherited from AttributesImpl)
SetValue(Int32, String)

Set the value of a specific attribute.

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