Method Summary |
|
public boolean | contains(TokenContextPath tcp) Does this path contain the given path. |
static synchronized TokenContextPath | get(TokenContext[] contexts) Get the context-path for non-empty array of the contexts. |
public TokenContextPath | getBase() Get the base path which corresponds to only the first context in the
context-array. |
public TokenContext[] | getContexts() Retrieve the contexts of this context-path. |
public String | getFullTokenName(TokenCategory tokenIDOrCategory) Get the token-name with the name-prefix of this context-path. |
public String | getNamePrefix() Get the prefix that this context adds to the name of its tokens. |
public TokenContextPath | getParent() Get parent context-path that consists of all the contexts of this path
except the last one. |
public int | length() Get the length of the path returning the length of the contexts array. |
public TokenContextPath | replaceStart(TokenContextPath byPath) Get the path which has the initial part of the path (usually only the
base path) replaced by the given path. |
public String | toString() |