Xerces-C++: XSNotationDeclaration Class Reference

Xerces-C++ 3.3.0

List of all members
XSNotationDeclaration Class Reference

`#include <xercesc/framework/psvi/XSNotationDeclaration.hpp>`

Inheritance diagram for XSNotationDeclaration:

## Public Member Functions
Constructors
| XSNotationDeclaration (XMLNotationDecl *const xmlNotationDecl, XSAnnotation *const annot, XSModel *const xsModel, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
| The default constructor.
Destructor
| ~XSNotationDeclaration ()
overridden XSXSObject methods
const XMLCh * | getName () const
| The name of type `NCName` of this declaration as defined in XML Namespaces.
const XMLCh * | getNamespace () const
| The [target namespace] of this object, or `null` if it is unspecified.
XSNamespaceItem * | getNamespaceItem ()
| A namespace schema information item corresponding to the target namespace of the component, if it's globally declared; or null otherwise.
Public Member Functions inherited from XSObject
| XSObject (XSConstants::COMPONENT_TYPE compType, XSModel *const xsModel, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
| The default constructor.
virtual | ~XSObject ()
XSConstants::COMPONENT_TYPE | getType () const
| The `type` of this object, i.e.
virtual XMLSize_t | getId () const
| Optional.
void | setId (XMLSize_t id)
| methods needed by implementation
Public Member Functions inherited from XMemory
void * | operator new (size_t size)
| This method overrides operator new.
void * | operator new (size_t size, MemoryManager *memMgr)
| This method defines a custom operator new, that will use the provided memory manager to perform the allocation.
void * | operator new (size_t size, void *ptr)
| This method overrides placement operator new.
void | operator delete (void *p)
| This method overrides operator delete.
void | operator delete (void *p, MemoryManager *memMgr)
| This method provides a matching delete for the custom operator new.
void | operator delete (void *p, void *ptr)
| This method provides a matching delete for the placement new.

## XSNotationDeclaration methods
XMLNotationDecl * | fXMLNotationDecl
XSAnnotation * | fAnnotation
const XMLCh * | getSystemId ()
| The URI reference representing the system identifier for the notation declaration, if present, `null` otherwise.
const XMLCh * | getPublicId ()
| The string representing the public identifier for this notation declaration, if present; `null` otherwise.
XSAnnotation * | getAnnotation () const
| Optional.

## Additional Inherited Members
Protected Member Functions inherited from XMemory
| XMemory ()
| Protected default constructor.
Protected Attributes inherited from XSObject
XSConstants::COMPONENT_TYPE | fComponentType
XSModel * | fXSModel
MemoryManager * | fMemoryManager
XMLSize_t | fId

## Constructor & Destructor Documentation

## ◆ XSNotationDeclaration()

XSNotationDeclaration::XSNotationDeclaration | ( | XMLNotationDecl *const | xmlNotationDecl,
|  | XSAnnotation *const | annot,
|  | XSModel *const | xsModel,
|  | MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager )

The default constructor.

Parameters

  xmlNotationDecl |
  annot |
  xsModel |
  manager | The configurable memory manager

## ◆ ~XSNotationDeclaration()

XSNotationDeclaration::~XSNotationDeclaration | ( |  | ) |

## Member Function Documentation

## ◆ getAnnotation()

XSAnnotation * XSNotationDeclaration::getAnnotation | ( |  | ) | const

Optional.

An [annotation].

References fAnnotation.

## ◆ getName()

const XMLCh * XSNotationDeclaration::getName | ( |  | ) | const
| virtual

The name of type `NCName` of this declaration as defined in XML Namespaces.

Reimplemented from XSObject.

## ◆ getNamespace()

const XMLCh * XSNotationDeclaration::getNamespace | ( |  | ) | const
| virtual

The [target namespace] of this object, or `null` if it is unspecified.

Reimplemented from XSObject.

## ◆ getNamespaceItem()

XSNamespaceItem * XSNotationDeclaration::getNamespaceItem | ( |  | ) |
| virtual

A namespace schema information item corresponding to the target namespace of the component, if it's globally declared; or null otherwise.

Reimplemented from XSObject.

## ◆ getPublicId()

const XMLCh * XSNotationDeclaration::getPublicId | ( |  | ) |

The string representing the public identifier for this notation declaration, if present; `null` otherwise.

## ◆ getSystemId()

const XMLCh * XSNotationDeclaration::getSystemId | ( |  | ) |

The URI reference representing the system identifier for the notation declaration, if present, `null` otherwise.

## Member Data Documentation

## ◆ fAnnotation

XSAnnotation* XSNotationDeclaration::fAnnotation
| protected

Referenced by getAnnotation().

## ◆ fXMLNotationDecl

XMLNotationDecl* XSNotationDeclaration::fXMLNotationDecl
| protected

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

- XSNotationDeclaration.hpp