Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Attributes
nsSchemaAttributeGroupRef Class Reference

#include <nsSchemaPrivate.h>

Inheritance diagram for nsSchemaAttributeGroupRef:
Inheritance graph
[legend]
Collaboration diagram for nsSchemaAttributeGroupRef:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsSchemaAttributeGroupRef (nsSchema *aSchema, const nsAString &aRef, const nsAString &aRefNS)
virtual ~nsSchemaAttributeGroupRef ()
NS_IMETHOD GetTargetNamespace (nsAString &aTargetNamespace)
nsISchemaAttributeComponent getAttributeByIndex (in PRUint32 index)
nsISchemaAttributeComponent getAttributeByName (in AString name)
void resolve (in nsIWebServiceErrorHandler aErrorHandler)
void clear ()

Public Attributes

readonly attribute PRUint32 attributeCount
const unsigned short COMPONENT_TYPE_ATTRIBUTE = 1
const unsigned short COMPONENT_TYPE_GROUP = 2
const unsigned short COMPONENT_TYPE_ANY = 3
readonly attribute AString name
readonly attribute unsigned short componentType
readonly attribute AString targetNamespace

Protected Attributes

nsString mRef
nsString mRefNS
nsCOMPtr< nsISchemaAttributeGroupmAttributeGroup
nsSchemamSchema
PRPackedBool mIsResolved
PRPackedBool mIsCleared

Detailed Description

Definition at line 497 of file nsSchemaPrivate.h.


Constructor & Destructor Documentation

nsSchemaAttributeGroupRef::nsSchemaAttributeGroupRef ( nsSchema aSchema,
const nsAString &  aRef,
const nsAString &  aRefNS 
)

Definition at line 486 of file nsSchemaAttributes.cpp.

  : nsSchemaComponentBase(aSchema), mRef(aRef), mRefNS(aRefNS)
{
}

Definition at line 493 of file nsSchemaAttributes.cpp.

{
}

Member Function Documentation

NS_IMETHODIMP nsSchemaComponentBase::GetTargetNamespace ( nsAString &  aTargetNamespace) [inherited]

Reimplemented in nsSchemaElement.

Definition at line 58 of file nsSchemaComponentBase.cpp.

{
  if (mSchema) {
    return mSchema->GetTargetNamespace(aTargetNamespace);
  }

  aTargetNamespace.Truncate();
  return NS_OK;
}

Member Data Documentation

Definition at line 310 of file nsISchema.idl.

Definition at line 289 of file nsISchema.idl.

Definition at line 287 of file nsISchema.idl.

Definition at line 288 of file nsISchema.idl.

readonly attribute unsigned short nsISchemaAttributeComponent::componentType [inherited]

Definition at line 292 of file nsISchema.idl.

Definition at line 512 of file nsSchemaPrivate.h.

Definition at line 123 of file nsSchemaPrivate.h.

Definition at line 122 of file nsSchemaPrivate.h.

Definition at line 511 of file nsSchemaPrivate.h.

Definition at line 511 of file nsSchemaPrivate.h.

nsSchema* nsSchemaComponentBase::mSchema [protected, inherited]

Definition at line 120 of file nsSchemaPrivate.h.

readonly attribute AString nsISchemaAttributeComponent::name [inherited]

Definition at line 291 of file nsISchema.idl.

readonly attribute AString nsISchemaComponent::targetNamespace [inherited]

Definition at line 75 of file nsISchema.idl.


The documentation for this class was generated from the following files: