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

Contains additional data for URIMappers and URLResolvers when mapping/resolving a Thesaurus URI. More...

#include <zorba/thesaurus.h>

Inheritance diagram for zorba::ThesaurusEntityData:
Inheritance graph
[legend]
Collaboration diagram for zorba::ThesaurusEntityData:
Collaboration graph
[legend]

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 locale::iso639_1::type getLanguage () const =0
 Gets the language for which a thesaurus is being requested.

Detailed Description

Contains additional data for URIMappers and URLResolvers when mapping/resolving a Thesaurus URI.


Member Enumeration Documentation

enum zorba::EntityData::Kind [inherited]

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 119 of file uri_resolvers.h.


Member Function Documentation

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

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

Examples:
context.cpp, and external_functions.cpp.
virtual locale::iso639_1::type zorba::ThesaurusEntityData::getLanguage ( ) const [pure virtual]

Gets the language for which a thesaurus is being requested.

Returns:
said language.

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