XmlAttributes Class Reference

List of all members.

Classes

class  XmlAttribute

Public Member Functions

virtual void Add (System.String Uri, System.String Lname, System.String Qname, System.String Type, System.String Value)
virtual void Clear ()
virtual System.String GetFullName (int index)
virtual int GetIndex (System.String Uri, System.String Lname)
virtual int GetIndex (System.String Qname)
virtual int GetLength ()
virtual System.String GetLocalName (int index)
virtual System.String GetType (System.String Uri, System.String Lname)
virtual System.String GetType (System.String Qname)
virtual System.String GetType (int index)
virtual System.String GetURI (int index)
virtual System.String GetValue (System.String Uri, System.String Lname)
virtual System.String GetValue (System.String Qname)
virtual System.String GetValue (int index)
virtual void RemoveAttribute (System.String indexName)
virtual void RemoveAttribute (int index)
virtual void SetAttribute (int index, System.String Uri, System.String Lname, System.String Qname, System.String Type, System.String Value)
virtual void SetAttributes (XmlAttributes Source)
virtual void SetFullName (int index, System.String FullName)
virtual void SetLocalName (int index, System.String LocalName)
virtual void SetType (int index, System.String Type)
virtual void SetURI (int index, System.String URI)
virtual void SetValue (int index, System.String Value)
 XmlAttributes (XmlAttributes arrayList)
 XmlAttributes ()

Detailed Description

This class will manage all the parsing operations emulating the SAX parser behavior


Constructor & Destructor Documentation

XmlAttributes (  ) 

Builds a new instance of XmlAttributes.

XmlAttributes ( XmlAttributes  arrayList  ) 

Creates a new instance of XmlAttributes from an ArrayList of XmlAttribute class.

Parameters:
arrayList An ArraList of XmlAttribute class instances.
Returns:
A new instance of XmlAttributes

Member Function Documentation

virtual void Add ( System.String  Uri,
System.String  Lname,
System.String  Qname,
System.String  Type,
System.String  Value 
) [virtual]

Adds a new attribute elment to the given XmlAttributes instance.

Parameters:
Uri The Uri of the attribute to be added.
Lname The Local name of the attribute to be added.
Qname The Long(qualify) name of the attribute to be added.
Type The type of the attribute to be added.
Value The value of the attribute to be added.
virtual void Clear (  )  [virtual]

Clears the list of attributes in the given AttributesSupport instance.

virtual System.String GetFullName ( int  index  )  [virtual]

Returns the qualified name of the attribute in the given XmlAttributes instance that indicates the given index.

Parameters:
index The attribute index.
Returns:
The qualified name of the attribute indicated by the index or null if the index is out of bounds.
virtual int GetIndex ( System.String  Uri,
System.String  Lname 
) [virtual]

Obtains the index of an attribute of the AttributeSupport from its namespace URI and its localname.

Parameters:
Uri The namespace URI of the attribute to search.
Lname The local name of the attribute to search.
Returns:
An zero-based index of the attribute if it is found, otherwise it returns -1.
virtual int GetIndex ( System.String  Qname  )  [virtual]

Obtains the index of an attribute of the AttributeSupport from its qualified (long) name.

Parameters:
Qname The qualified name of the attribute to search.
Returns:
An zero-based index of the attribute if it is found, otherwise it returns -1.
virtual int GetLength (  )  [virtual]

Returns the number of attributes saved in the XmlAttributes instance.

Returns:
The number of elements in the given XmlAttributes instance.
virtual System.String GetLocalName ( int  index  )  [virtual]

Returns the local name of the attribute in the given XmlAttributes instance that indicates the given index.

Parameters:
index The attribute index.
Returns:
The local name of the attribute indicated by the index or null if the index is out of bounds.
virtual System.String GetType ( System.String  Uri,
System.String  Lname 
) [virtual]

Returns the type of the Attribute that match with the given namespace URI and local name.

Parameters:
Uri The namespace URI of the attribute to search.
Lname The local name of the attribute to search.
Returns:
The type of the attribute if it exist otherwise returns null.
virtual System.String GetType ( System.String  Qname  )  [virtual]

Returns the type of the Attribute that match with the given qualified name.

Parameters:
Qname The qualified name of the attribute to search.
Returns:
The type of the attribute if it exist otherwise returns null.
virtual System.String GetType ( int  index  )  [virtual]

Returns the type of the attribute in the given XmlAttributes instance that indicates the given index.

Parameters:
index The attribute index.
Returns:
The type of the attribute indicated by the index or null if the index is out of bounds.
virtual System.String GetURI ( int  index  )  [virtual]

Returns the namespace URI of the attribute in the given XmlAttributes instance that indicates the given index.

Parameters:
index The attribute index.
Returns:
The namespace URI of the attribute indicated by the index or null if the index is out of bounds.
virtual System.String GetValue ( System.String  Uri,
System.String  Lname 
) [virtual]

Returns the value of the Attribute that match with the given namespace URI and local name.

Parameters:
Uri The namespace URI of the attribute to search.
Lname The local name of the attribute to search.
Returns:
The value of the attribute if it exist otherwise returns null.
virtual System.String GetValue ( System.String  Qname  )  [virtual]

Returns the value of the Attribute that match with the given qualified name.

Parameters:
Qname The qualified name of the attribute to search.
Returns:
The value of the attribute if it exist otherwise returns null.
virtual System.String GetValue ( int  index  )  [virtual]

Returns the value of the attribute in the given XmlAttributes instance that indicates the given index.

Parameters:
index The attribute index.
Returns:
The value of the attribute indicated by the index or null if the index is out of bounds.
virtual void RemoveAttribute ( System.String  indexName  )  [virtual]

This method eliminates the XmlAttribute instance in the specified index.

Parameters:
indexName The index name of the attribute.
virtual void RemoveAttribute ( int  index  )  [virtual]

This method eliminates the XmlAttribute instance at the specified index.

Parameters:
index The index of the attribute.
virtual void SetAttribute ( int  index,
System.String  Uri,
System.String  Lname,
System.String  Qname,
System.String  Type,
System.String  Value 
) [virtual]

Replaces an XmlAttribute in the given XmlAttributes instance.

Parameters:
index The index of the attribute.
Uri The namespace URI of the new XmlAttribute.
Lname The local name of the new XmlAttribute.
Qname The namespace URI of the new XmlAttribute.
Type The type of the new XmlAttribute.
Value The value of the new XmlAttribute.
virtual void SetAttributes ( XmlAttributes  Source  )  [virtual]

Replaces all the list of XmlAttribute of the given XmlAttributes instance.

Parameters:
Source The source XmlAttributes instance.
virtual void SetFullName ( int  index,
System.String  FullName 
) [virtual]

Modifies the qualified name of the attribute in the given XmlAttributes instance.

Parameters:
index The attribute index.
FullName The new qualified name for the attribute.
virtual void SetLocalName ( int  index,
System.String  LocalName 
) [virtual]

Modifies the local name of the attribute in the given XmlAttributes instance.

Parameters:
index The attribute index.
LocalName The new Local name for the attribute.
virtual void SetType ( int  index,
System.String  Type 
) [virtual]

Modifies the type of the attribute in the given XmlAttributes instance.

Parameters:
index The attribute index.
Type The new type for the attribute.
virtual void SetURI ( int  index,
System.String  URI 
) [virtual]

Modifies the namespace URI of the attribute in the given XmlAttributes instance.

Parameters:
index The attribute index.
URI The new namespace URI for the attribute.
virtual void SetValue ( int  index,
System.String  Value 
) [virtual]

Modifies the value of the attribute in the given XmlAttributes instance.

Parameters:
index The attribute index.
Value The new value for the attribute.