Public Types | Public Member Functions
zorba::EntityData Class Reference

The class containing data which may be of use to URIMappers and URLResolvers when mapping/resolving a URI. More...

#include <zorba/uri_resolvers.h>

List of all members.

Public Types

enum  Kind {
  SCHEMA, MODULE, THESAURUS, STOP_WORDS,
  COLLECTION, DOCUMENT
}
 enum listing the kinds of entities that may be represented by URIs, and hence may be looked up via the URI resolution mechanism. More...

Public Member Functions

virtual Kind getKind () const =0
 Return the Kind of Entity for which this URI is being resolved.
virtual ~EntityData ()=0

Detailed Description

The class containing data which may be of use to URIMappers and URLResolvers when mapping/resolving a URI.

This base class specifies the kind of entity for which this URI is being resolved - for instance, a schema URI or a module URI. In the future, there may be kind-specific subclasses containing additional information; as yet however there are none.

Examples:

context.cpp, and external_functions.cpp.


Member Enumeration Documentation

enum listing the kinds of entities that may be represented by URIs, and hence may be looked up via the URI resolution mechanism.

Enumerator:
SCHEMA 
MODULE 
THESAURUS 
STOP_WORDS 
COLLECTION 
DOCUMENT 

Definition at line 105 of file uri_resolvers.h.


Constructor & Destructor Documentation

virtual zorba::EntityData::~EntityData ( ) [pure virtual]

Member Function Documentation

virtual Kind zorba::EntityData::getKind ( ) const [pure virtual]

Return the Kind of Entity for which this URI is being resolved.

Examples:
context.cpp, and external_functions.cpp.

The documentation for this class was generated from the following file:
blog comments powered by Disqus