Constructor Attributes2
Attributes2()
Construct a new, empty Attributes2 object.
Declaration
public Attributes2()
Attributes2(IAttributes)
Copy an existing Attributes or Attributes2 object. If the object implements Attributes2, values of the specified and declared 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 declared).
This constructor is especially useful inside a StartElement(String, String, String, IAttributes) event.
Declaration
public Attributes2(IAttributes atts)
Parameters
Type | Name | Description |
---|---|---|
IAttributes | atts | The existing IAttributes object. |