Qyoto  4.0.7
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
QtCore.QXmlStreamAttribute Class Reference

The QXmlStreamAttribute class represents a single XML attribute More...

Inheritance diagram for QtCore.QXmlStreamAttribute:
Collaboration diagram for QtCore.QXmlStreamAttribute:

Public Member Functions

override bool Equals (object o)
 
override int GetHashCode ()
 
 QXmlStreamAttribute ()
  More...
 
 QXmlStreamAttribute (QXmlStreamAttribute other)
  More...
 
 QXmlStreamAttribute (string qualifiedName, string value)
  More...
 
 QXmlStreamAttribute (string namespaceUri, string name, string value)
  More...
 
virtual void CreateProxy ()
 
new void Dispose ()
 

Static Public Member Functions

static bool operator!= (QXmlStreamAttribute one, QXmlStreamAttribute other)
  More...
 
static bool operator== (QXmlStreamAttribute one, QXmlStreamAttribute other)
  More...
 

Protected Member Functions

 QXmlStreamAttribute (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

bool IsDefault [get]
  More...
 
QStringRef Name [get]
  More...
 
QStringRef NamespaceUri [get]
  More...
 
QStringRef Prefix [get]
  More...
 
QStringRef QualifiedName [get]
  More...
 
QStringRef Value [get]
  More...
 
virtual System.IntPtr SmokeObject [get, set]
 

Detailed Description

The QXmlStreamAttribute class represents a single XML attribute

An attribute consists of an optionally empty namespaceUri(), a name(), a value(), and an isDefault() attribute.

The raw XML attribute name is returned as qualifiedName().

Constructor & Destructor Documentation

QtCore.QXmlStreamAttribute.QXmlStreamAttribute ( System.Type  dummy)
protected
QtCore.QXmlStreamAttribute.QXmlStreamAttribute ( )

Creates an empty attribute.

Here is the call graph for this function:

Here is the caller graph for this function:

QtCore.QXmlStreamAttribute.QXmlStreamAttribute ( QXmlStreamAttribute  other)

Creates a copy of other.

Here is the call graph for this function:

QtCore.QXmlStreamAttribute.QXmlStreamAttribute ( string  qualifiedName,
string  value 
)

Constructs an attribute with qualified name qualifiedName and value value.

Here is the call graph for this function:

QtCore.QXmlStreamAttribute.QXmlStreamAttribute ( string  namespaceUri,
string  name,
string  value 
)

Constructs an attribute in the namespace described with namespaceUri with name and value value.

Here is the call graph for this function:

Member Function Documentation

virtual void QtCore.QXmlStreamAttribute.CreateProxy ( )
virtual

Here is the caller graph for this function:

new void QtCore.QXmlStreamAttribute.Dispose ( )
override bool QtCore.QXmlStreamAttribute.Equals ( object  o)

Here is the call graph for this function:

override int QtCore.QXmlStreamAttribute.GetHashCode ( )
static bool QtCore.QXmlStreamAttribute.operator!= ( QXmlStreamAttribute  one,
QXmlStreamAttribute  other 
)
static

Compares this attribute with other and returns true if they are not equal; otherwise returns false.

static bool QtCore.QXmlStreamAttribute.operator== ( QXmlStreamAttribute  one,
QXmlStreamAttribute  other 
)
static

Compares this attribute with other and returns true if they are equal; otherwise returns false.

Member Data Documentation

SmokeInvocation QtCore.QXmlStreamAttribute.interceptor
protected

Property Documentation

bool QtCore.QXmlStreamAttribute.IsDefault
get

Returns true if the parser added this attribute with a default value following an ATTLIST declaration in the DTD; otherwise returns false.

QStringRef QtCore.QXmlStreamAttribute.Name
get

Returns the attribute's local name.

QStringRef QtCore.QXmlStreamAttribute.NamespaceUri
get

Returns the attribute's resolved namespaceUri, or an empty string reference if the attribute does not have a defined namespace.

QStringRef QtCore.QXmlStreamAttribute.Prefix
get

Returns the attribute's namespace prefix.

This function was introduced in Qt 4.4.

See also name() and qualifiedName().

QStringRef QtCore.QXmlStreamAttribute.QualifiedName
get

Returns the attribute's qualified name.

A qualified name is the raw name of an attribute in the XML data. It consists of the namespace prefix(), followed by colon, followed by the attribute's local name(). Since the namespace prefix is not unique (the same prefix can point to different namespaces and different prefixes can point to the same namespace), you shouldn't use qualifiedName(), but the resolved namespaceUri() and the attribute's local name().

virtual System.IntPtr QtCore.QXmlStreamAttribute.SmokeObject
getset
QStringRef QtCore.QXmlStreamAttribute.Value
get

Returns the attribute's value.