Back to index

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

#include <nsSchemaPrivate.h>

Inheritance diagram for nsSchemaParticleBase:
Inheritance graph
Collaboration diagram for nsSchemaParticleBase:
Collaboration graph

List of all members.

Public Member Functions

 nsSchemaParticleBase (nsSchema *aSchema)
virtual ~nsSchemaParticleBase ()
NS_IMETHOD GetMinOccurs (PRUint32 *aMinOccurs)
NS_IMETHOD GetMaxOccurs (PRUint32 *aMaxOccurs)
NS_IMETHOD SetMinOccurs (PRUint32 aMinOccurs)
NS_IMETHOD SetMaxOccurs (PRUint32 aMaxOccurs)
NS_IMETHOD GetTargetNamespace (nsAString &aTargetNamespace)

Protected Attributes

PRUint32 mMinOccurs
PRUint32 mMaxOccurs
PRPackedBool mIsResolved
PRPackedBool mIsCleared

Detailed Description

Definition at line 279 of file nsSchemaPrivate.h.

Constructor & Destructor Documentation

Definition at line 46 of file nsSchemaParticles.cpp.

Definition at line 51 of file nsSchemaParticles.cpp.


Member Function Documentation

Definition at line 66 of file nsSchemaParticles.cpp.


  *aMaxOccurs = mMaxOccurs;

  return NS_OK;

Definition at line 56 of file nsSchemaParticles.cpp.


  *aMinOccurs = mMinOccurs;

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

Reimplemented in nsSchemaElement.

Definition at line 58 of file nsSchemaComponentBase.cpp.

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

  return NS_OK;

Definition at line 88 of file nsSchemaParticles.cpp.

  mMaxOccurs = aMaxOccurs;

  if (mMinOccurs > mMaxOccurs) {
    mMinOccurs = mMaxOccurs;

  return NS_OK;

Here is the caller graph for this function:

Definition at line 76 of file nsSchemaParticles.cpp.

  mMinOccurs = aMinOccurs;

  if (mMaxOccurs < mMinOccurs) {
    mMaxOccurs = mMinOccurs;

  return NS_OK;

Here is the caller graph for this function:

Member Data Documentation

Definition at line 123 of file nsSchemaPrivate.h.

Definition at line 122 of file nsSchemaPrivate.h.

Definition at line 293 of file nsSchemaPrivate.h.

Definition at line 292 of file nsSchemaPrivate.h.

nsSchema* nsSchemaComponentBase::mSchema [protected, inherited]

Definition at line 120 of file nsSchemaPrivate.h.

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