Back to index

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

#include <nsSchemaPrivate.h>

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

List of all members.

Public Member Functions

 nsSchemaFacet (nsSchema *aSchema)
virtual ~nsSchemaFacet ()
NS_DECL_ISUPPORTS
NS_IMPL_NSISCHEMACOMPONENT_USING_BASE
NS_DECL_NSISCHEMAFACET
NS_IMETHOD 
SetFacetType (PRUint16 aFacetType)
NS_IMETHOD SetIsFixed (PRBool aIsFixed)
NS_IMETHOD SetValue (const nsAString &aStrValue)
NS_IMETHOD SetUintValue (PRUint32 aUintValue)
NS_IMETHOD SetWhitespaceValue (PRUint16 aWhitespaceValue)
NS_IMETHOD GetTargetNamespace (nsAString &aTargetNamespace)
void resolve (in nsIWebServiceErrorHandler aErrorHandler)
void clear ()

Public Attributes

const unsigned short FACET_TYPE_LENGTH = 1
const unsigned short FACET_TYPE_MINLENGTH = 2
const unsigned short FACET_TYPE_MAXLENGTH = 3
const unsigned short FACET_TYPE_PATTERN = 4
const unsigned short FACET_TYPE_ENUMERATION = 5
const unsigned short FACET_TYPE_WHITESPACE = 6
const unsigned short FACET_TYPE_MAXINCLUSIVE = 7
const unsigned short FACET_TYPE_MININCLUSIVE = 8
const unsigned short FACET_TYPE_MAXEXCLUSIVE = 9
const unsigned short FACET_TYPE_MINEXCLUSIVE = 10
const unsigned short FACET_TYPE_TOTALDIGITS = 11
const unsigned short FACET_TYPE_FRACTIONDIGITS = 12
const unsigned short WHITESPACE_PRESERVE = 1
const unsigned short WHITESPACE_REPLACE = 1
const unsigned short WHITESPACE_COLLAPSE = 1
readonly attribute unsigned short facetType
readonly attribute AString value
readonly attribute PRUint32 lengthValue
readonly attribute PRUint32 digitsValue
readonly attribute unsigned short whitespaceValue
readonly attribute boolean isfixed
readonly attribute AString targetNamespace

Protected Attributes

PRUint16 mFacetType
PRPackedBool mIsFixed
nsString mStrValue
PRUint32 mUintValue
PRUint16 mWhitespaceValue
nsSchemamSchema
PRPackedBool mIsResolved
PRPackedBool mIsCleared

Detailed Description

Definition at line 535 of file nsSchemaPrivate.h.


Constructor & Destructor Documentation

Definition at line 739 of file nsSchemaSimpleTypes.cpp.

Definition at line 744 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 767 of file nsSchemaSimpleTypes.cpp.

{
  mFacetType = aFacetType;

  return NS_OK;
}

Here is the caller graph for this function:

Definition at line 775 of file nsSchemaSimpleTypes.cpp.

{
  mIsFixed = aIsFixed;

  return NS_OK;
}

Here is the caller graph for this function:

Definition at line 879 of file nsSchemaSimpleTypes.cpp.

{
  mUintValue = aUintValue;

  return NS_OK;
}

Here is the caller graph for this function:

NS_IMETHODIMP nsSchemaFacet::SetValue ( const nsAString &  aStrValue)

Definition at line 871 of file nsSchemaSimpleTypes.cpp.

{
  mStrValue.Assign(aStrValue);

  return NS_OK;
}

Here is the caller graph for this function:

Definition at line 887 of file nsSchemaSimpleTypes.cpp.

{
  mWhitespaceValue = aWhitespaceValue;

  return NS_OK;
}

Here is the caller graph for this function:


Member Data Documentation

Definition at line 348 of file nsISchema.idl.

const unsigned short nsISchemaFacet::FACET_TYPE_ENUMERATION = 5 [inherited]

Definition at line 331 of file nsISchema.idl.

const unsigned short nsISchemaFacet::FACET_TYPE_FRACTIONDIGITS = 12 [inherited]

Definition at line 338 of file nsISchema.idl.

const unsigned short nsISchemaFacet::FACET_TYPE_LENGTH = 1 [inherited]

Definition at line 327 of file nsISchema.idl.

const unsigned short nsISchemaFacet::FACET_TYPE_MAXEXCLUSIVE = 9 [inherited]

Definition at line 335 of file nsISchema.idl.

const unsigned short nsISchemaFacet::FACET_TYPE_MAXINCLUSIVE = 7 [inherited]

Definition at line 333 of file nsISchema.idl.

const unsigned short nsISchemaFacet::FACET_TYPE_MAXLENGTH = 3 [inherited]

Definition at line 329 of file nsISchema.idl.

const unsigned short nsISchemaFacet::FACET_TYPE_MINEXCLUSIVE = 10 [inherited]

Definition at line 336 of file nsISchema.idl.

const unsigned short nsISchemaFacet::FACET_TYPE_MININCLUSIVE = 8 [inherited]

Definition at line 334 of file nsISchema.idl.

const unsigned short nsISchemaFacet::FACET_TYPE_MINLENGTH = 2 [inherited]

Definition at line 328 of file nsISchema.idl.

const unsigned short nsISchemaFacet::FACET_TYPE_PATTERN = 4 [inherited]

Definition at line 330 of file nsISchema.idl.

const unsigned short nsISchemaFacet::FACET_TYPE_TOTALDIGITS = 11 [inherited]

Definition at line 337 of file nsISchema.idl.

const unsigned short nsISchemaFacet::FACET_TYPE_WHITESPACE = 6 [inherited]

Definition at line 332 of file nsISchema.idl.

readonly attribute unsigned short nsISchemaFacet::facetType [inherited]

Definition at line 345 of file nsISchema.idl.

Definition at line 350 of file nsISchema.idl.

Definition at line 347 of file nsISchema.idl.

Definition at line 553 of file nsSchemaPrivate.h.

Definition at line 123 of file nsSchemaPrivate.h.

Definition at line 554 of file nsSchemaPrivate.h.

Definition at line 122 of file nsSchemaPrivate.h.

nsSchema* nsSchemaComponentBase::mSchema [protected, inherited]

Definition at line 120 of file nsSchemaPrivate.h.

Definition at line 555 of file nsSchemaPrivate.h.

Definition at line 556 of file nsSchemaPrivate.h.

Definition at line 557 of file nsSchemaPrivate.h.

readonly attribute AString nsISchemaComponent::targetNamespace [inherited]

Definition at line 75 of file nsISchema.idl.

readonly attribute AString nsISchemaFacet::value [inherited]

Definition at line 346 of file nsISchema.idl.

const unsigned short nsISchemaFacet::WHITESPACE_COLLAPSE = 1 [inherited]

Definition at line 342 of file nsISchema.idl.

const unsigned short nsISchemaFacet::WHITESPACE_PRESERVE = 1 [inherited]

Definition at line 340 of file nsISchema.idl.

const unsigned short nsISchemaFacet::WHITESPACE_REPLACE = 1 [inherited]

Definition at line 341 of file nsISchema.idl.

readonly attribute unsigned short nsISchemaFacet::whitespaceValue [inherited]

Definition at line 349 of file nsISchema.idl.


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