public class ContextTheme extends Object
A document may have up to fifty Themes. Each Theme may either be a single Theme word/phrase or a string of parent Themes, separated by colons.
The Weight of a Theme is a measure of the importance of the Theme relative to other Themes for the document.
Modifier and Type | Field and Description |
---|---|
protected String |
m_Theme
Theme of the document as generated by Context
|
protected int |
m_Weight
Weight of a document Theme relative to other document Themes
|
Constructor and Description |
---|
ContextTheme(String theme,
int weight) |
protected String m_Theme
protected int m_Weight
public ContextTheme(String theme, int weight) throws IfsException
IfsException
public String getTheme() throws IfsException
IfsException
public int getThemeWeight() throws IfsException
IfsException
Copyright © 2023. All rights reserved.