Udostępnij za pośrednictwem


Attributes2Impl Constructors

Definition

Overloads

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.

Attributes2Impl()

Construct a new, empty Attributes2Impl object.

[Android.Runtime.Register(".ctor", "()V", "")]
public Attributes2Impl ();
Attributes

Remarks

Construct a new, empty Attributes2Impl object.

Java documentation for org.xml.sax.ext.Attributes2Impl.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.

Applies to

Attributes2Impl(IAttributes)

Copy an existing Attributes or Attributes2 object.

[Android.Runtime.Register(".ctor", "(Lorg/xml/sax/Attributes;)V", "")]
public Attributes2Impl (Org.Xml.Sax.IAttributes? atts);
[<Android.Runtime.Register(".ctor", "(Lorg/xml/sax/Attributes;)V", "")>]
new Org.Xml.Sax.Ext.Attributes2Impl : Org.Xml.Sax.IAttributes -> Org.Xml.Sax.Ext.Attributes2Impl

Parameters

atts
IAttributes

The existing Attributes object.

Attributes

Remarks

Copy an existing Attributes or Attributes2 object. If the object implements Attributes2, values of the <em>specified</em> and <em>declared</em> flags for each attribute are copied. Otherwise the flag values are defaulted to assume no DTD was used, unless there is evidence to the contrary (such as attributes with type other than CDATA, which must have been <em>declared</em>).

This constructor is especially useful inside a org.xml.sax.ContentHandler#startElement startElement event.

Java documentation for org.xml.sax.ext.Attributes2Impl.Attributes2Impl(org.xml.sax.Attributes).

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.

Applies to

Attributes2Impl(IntPtr, JniHandleOwnership)

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

protected Attributes2Impl (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Xml.Sax.Ext.Attributes2Impl : nativeint * Android.Runtime.JniHandleOwnership -> Org.Xml.Sax.Ext.Attributes2Impl

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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.

Applies to