Public Types | Public Member Functions | List of all members
zorba::EntityData Class Referenceabstract

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

#include <zorba/uri_resolvers.h>

Public Types

enum  Kind {
  SCHEMA, MODULE, THESAURUS, STOP_WORDS,
  COLLECTION, DOCUMENT, SOME_CONTENT
}
 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. More...
 
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. Subclasses of this class will provide additional data for specific kinds of entities.

Examples:
context.cpp, and external_functions.cpp.

Definition at line 117 of file uri_resolvers.h.

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 
SOME_CONTENT 

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