public class TokenInfoContainer
extends java.lang.Object
TokenInfos, filled in while parsing
an OrgPolicy.
The following items can be accessed using their object reference directly:
NavFunctionInstancesAtomicEntityExpressionsAtomicSelections (not yet used)
The following items can be accessed by converting an object reference to a
string and appending a certain other string, e.g. atomicSelection +
".entityType". This was necessary as no unique object is contained
in the object structure returned by the parser that would identify these
TokenInfos otherwise.
atomicEntityExpression + ".startEntityType" (see
AtomicEntityExpression on what the start entity type is)atomicSelection + ".entityType"atomicSelection + ".attributeName"atomicSelection + ".comparisonOp"atomicSelection + ".value"| Constructor and Description |
|---|
TokenInfoContainer()
Constructs a new
TokenInfoContainer. |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all token infos from this container.
|
TokenInfo |
get(java.lang.Object key)
Returns the token info for the given key or
null if the container
doesn't know this key. |
void |
put(java.lang.Object key,
TokenInfo tokenInfo)
Put the given token info into the container with the given key.
|
public TokenInfoContainer()
TokenInfoContainer.public void put(java.lang.Object key,
TokenInfo tokenInfo)
key - the key of the token infotokenInfo - the token info to be stored in the containerpublic TokenInfo get(java.lang.Object key)
null if the container
doesn't know this key.key - the key to look fornullpublic void clear()