Back to index

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

#include <nsSchemaPrivate.h>

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

List of all members.

Public Member Functions

 nsSchemaTypePlaceholder (nsSchema *aSchema, const nsAString &aName)
virtual ~nsSchemaTypePlaceholder ()
NS_IMETHOD GetTargetNamespace (nsAString &aTargetNamespace)
void resolve (in nsIWebServiceErrorHandler aErrorHandler)
void clear ()

Public Attributes

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
nsSchemamSchema
PRPackedBool mIsResolved
PRPackedBool mIsCleared

Detailed Description

Definition at line 263 of file nsSchemaPrivate.h.


Constructor & Destructor Documentation

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

Definition at line 676 of file nsSchemaSimpleTypes.cpp.

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

Definition at line 682 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;
}

Member Data Documentation

Definition at line 123 of file nsSchemaPrivate.h.

Definition at line 122 of file nsSchemaPrivate.h.

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