|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NextTokenOptions
This class represents a set of options that describe how a partial text can be continued according. The possible next tokens are represented in an abstract way (on the basis of abstract options) and also in a concrete way (on the basis of concrete options).
AbstractOption
,
ConcreteOption
Method Summary | |
---|---|
boolean |
containsCategory(java.lang.String categoryName)
Returns true if the specifed category represents a possible next token. |
boolean |
containsToken(java.lang.String token)
Returns true if the specified token is a possible next token. |
java.util.Set<? extends AbstractOption> |
getAbstractOptions()
Returns the abstract options. |
java.util.Set<? extends ConcreteOption> |
getConcreteOptions()
Returns the concrete options. |
Method Detail |
---|
java.util.Set<? extends AbstractOption> getAbstractOptions()
java.util.Set<? extends ConcreteOption> getConcreteOptions()
boolean containsToken(java.lang.String token)
token
- The token text.
boolean containsCategory(java.lang.String categoryName)
categoryName
- The name of the category.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |