Back to index

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

#include <nsSchemaPrivate.h>

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

List of all members.

Public Member Functions

 nsSchemaListType (nsSchema *aSchema, const nsAString &aName)
virtual ~nsSchemaListType ()
NS_DECL_ISUPPORTS
NS_IMPL_NSISCHEMACOMPONENT_USING_BASE
NS_DECL_NSISCHEMATYPE
NS_DECL_NSISCHEMASIMPLETYPE
NS_DECL_NSISCHEMALISTTYPE
NS_IMETHOD 
SetListType (nsISchemaSimpleType *aListType)
NS_IMETHOD GetTargetNamespace (nsAString &aTargetNamespace)
void resolve (in nsIWebServiceErrorHandler aErrorHandler)
void clear ()

Public Attributes

readonly attribute
nsISchemaSimpleType 
listType
const unsigned short SIMPLE_TYPE_BUILTIN = 1
const unsigned short SIMPLE_TYPE_LIST = 2
const unsigned short SIMPLE_TYPE_UNION = 3
const unsigned short SIMPLE_TYPE_RESTRICTION = 4
readonly attribute unsigned short simpleType
const unsigned short SCHEMA_TYPE_SIMPLE = 1
const unsigned short SCHEMA_TYPE_COMPLEX = 2
const unsigned short SCHEMA_TYPE_PLACEHOLDER = 3
readonly attribute AString name
readonly attribute unsigned short schemaType
readonly attribute AString targetNamespace

Protected Attributes

nsString mName
nsCOMPtr< nsISchemaSimpleTypemListType
nsSchemamSchema
PRPackedBool mIsResolved
PRPackedBool mIsCleared

Detailed Description

Definition at line 149 of file nsSchemaPrivate.h.


Constructor & Destructor Documentation

nsSchemaListType::nsSchemaListType ( nsSchema aSchema,
const nsAString &  aName 
)

Definition at line 269 of file nsSchemaSimpleTypes.cpp.

  : nsSchemaComponentBase(aSchema), mName(aName)
{
}

Definition at line 275 of file nsSchemaSimpleTypes.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;
}

Definition at line 371 of file nsSchemaSimpleTypes.cpp.

{
  mListType = aListType;

  return NS_OK;
}

Here is the caller graph for this function:


Member Data Documentation

Definition at line 181 of file nsISchema.idl.

Definition at line 123 of file nsSchemaPrivate.h.

Definition at line 122 of file nsSchemaPrivate.h.

Definition at line 166 of file nsSchemaPrivate.h.

Definition at line 165 of file nsSchemaPrivate.h.

nsSchema* nsSchemaComponentBase::mSchema [protected, inherited]

Definition at line 120 of file nsSchemaPrivate.h.

readonly attribute AString nsISchemaType::name [inherited]

Definition at line 114 of file nsISchema.idl.

const unsigned short nsISchemaType::SCHEMA_TYPE_COMPLEX = 2 [inherited]

Definition at line 111 of file nsISchema.idl.

const unsigned short nsISchemaType::SCHEMA_TYPE_PLACEHOLDER = 3 [inherited]

Definition at line 112 of file nsISchema.idl.

const unsigned short nsISchemaType::SCHEMA_TYPE_SIMPLE = 1 [inherited]

Definition at line 110 of file nsISchema.idl.

readonly attribute unsigned short nsISchemaType::schemaType [inherited]

Definition at line 115 of file nsISchema.idl.

const unsigned short nsISchemaSimpleType::SIMPLE_TYPE_BUILTIN = 1 [inherited]

Definition at line 120 of file nsISchema.idl.

const unsigned short nsISchemaSimpleType::SIMPLE_TYPE_LIST = 2 [inherited]

Definition at line 121 of file nsISchema.idl.

const unsigned short nsISchemaSimpleType::SIMPLE_TYPE_RESTRICTION = 4 [inherited]

Definition at line 123 of file nsISchema.idl.

const unsigned short nsISchemaSimpleType::SIMPLE_TYPE_UNION = 3 [inherited]

Definition at line 122 of file nsISchema.idl.

readonly attribute unsigned short nsISchemaSimpleType::simpleType [inherited]

Definition at line 125 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: