Back to index

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

#include <nsSchemaPrivate.h>

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

List of all members.

Public Member Functions

 nsSchemaAnyAttribute (nsSchema *aSchema)
virtual ~nsSchemaAnyAttribute ()
NS_DECL_ISUPPORTS
NS_IMPL_NSISCHEMACOMPONENT_USING_BASE
NS_DECL_NSISCHEMAATTRIBUTECOMPONENT
NS_DECL_NSISCHEMAANYATTRIBUTE
NS_IMETHOD 
SetProcess (PRUint16 aProcess)
NS_IMETHOD SetNamespace (const nsAString &aNamespace)
NS_IMETHOD GetTargetNamespace (nsAString &aTargetNamespace)
void resolve (in nsIWebServiceErrorHandler aErrorHandler)
void clear ()

Public Attributes

const unsigned short PROCESS_STRICT = 1
const unsigned short PROCESS_SKIP = 2
const unsigned short PROCESS_LAX = 3
readonly attribute unsigned short process
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

PRUint16 mProcess
nsString mNamespace
nsSchemamSchema
PRPackedBool mIsResolved
PRPackedBool mIsCleared

Detailed Description

Definition at line 515 of file nsSchemaPrivate.h.


Constructor & Destructor Documentation

Definition at line 622 of file nsSchemaAttributes.cpp.

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

Definition at line 699 of file nsSchemaAttributes.cpp.

{
  mNamespace.Assign(aNamespace);

  return NS_OK;
}

Here is the caller graph for this function:

Definition at line 691 of file nsSchemaAttributes.cpp.

{
  mProcess = aProcess;
  
  return NS_OK;
}

Here is the caller graph for this function:


Member Data Documentation

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 123 of file nsSchemaPrivate.h.

Definition at line 122 of file nsSchemaPrivate.h.

Definition at line 532 of file nsSchemaPrivate.h.

Definition at line 531 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 unsigned short nsISchemaAnyAttribute::process [inherited]

Definition at line 321 of file nsISchema.idl.

const unsigned short nsISchemaAnyAttribute::PROCESS_LAX = 3 [inherited]

Definition at line 319 of file nsISchema.idl.

const unsigned short nsISchemaAnyAttribute::PROCESS_SKIP = 2 [inherited]

Definition at line 318 of file nsISchema.idl.

const unsigned short nsISchemaAnyAttribute::PROCESS_STRICT = 1 [inherited]

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