Defines a description of the properties of a document content processed by the analyzer.
More...
#include <bindingObjects.hpp>
Defines a description of the properties of a document content processed by the analyzer.
| strus::DocumentClass::DocumentClass |
( |
| ) |
|
|
inline |
| strus::DocumentClass::DocumentClass |
( |
const String & |
mimeType_ | ) |
|
|
inlineexplicit |
| strus::DocumentClass::DocumentClass |
( |
const String & |
mimeType_, |
|
|
const String & |
encoding_ |
|
) |
| |
|
inline |
| strus::DocumentClass::DocumentClass |
( |
const String & |
mimeType_, |
|
|
const String & |
encoding_, |
|
|
const String & |
scheme_ |
|
) |
| |
|
inline |
| const String& strus::DocumentClass::encoding |
( |
| ) |
const |
|
inline |
Get the character set encoding of the document class.
- Returns
- the character set encoding string
| const String& strus::DocumentClass::mimeType |
( |
| ) |
const |
|
inline |
Get the MIME type of the document class.
- Returns
- the document MIME type string
| const String& strus::DocumentClass::scheme |
( |
| ) |
const |
|
inline |
Get the scheme identifier of the document class.
- Returns
- the document scheme identifier
| void strus::DocumentClass::setEncoding |
( |
const String & |
encoding_ | ) |
|
|
inline |
Set the character set encoding of the document class.
- Parameters
-
| [in] | encoding_ | the character set encoding as string |
| void strus::DocumentClass::setMimeType |
( |
const String & |
mimeType_ | ) |
|
|
inline |
Set the MIME type of the document class.
- Parameters
-
| [in] | mimeType_ | the document MIME type string |
| void strus::DocumentClass::setScheme |
( |
const String & |
scheme_ | ) |
|
|
inline |
Set the scheme identifier of the document class.
- Parameters
-
| [in] | scheme_ | the document scheme identifier |
| bool strus::DocumentClass::valid |
( |
| ) |
const |
|
inline |
Check if this document class is valid.
- Returns
- true, if yes
The documentation for this class was generated from the following file: