Uses of Class
com.aspectran.core.context.expr.token.Token
-
-
Uses of Token in com.aspectran.core.activity.request
Methods in com.aspectran.core.activity.request with parameters of type Token Modifier and Type Method Description static PathVariableMapPathVariableMap. parse(Token[] nameTokens, java.lang.String requestName) -
Uses of Token in com.aspectran.core.context.expr
Methods in com.aspectran.core.context.expr that return Token Modifier and Type Method Description TokenTokenEvaluationException. getToken()Gets the token which is failed to evaluate expression.Methods in com.aspectran.core.context.expr with parameters of type Token Modifier and Type Method Description java.lang.ObjectTokenEvaluator. evaluate(Token token)java.lang.ObjectTokenEvaluator. evaluate(Token[] tokens)voidTokenEvaluator. evaluate(Token[] tokens, java.io.Writer writer)java.lang.ObjectTokenExpression. evaluate(Token token)java.lang.ObjectTokenExpression. evaluate(Token[] tokens)voidTokenExpression. evaluate(Token[] tokens, java.io.Writer writer)java.lang.StringTokenEvaluator. evaluateAsString(Token[] tokens)java.lang.StringTokenExpression. evaluateAsString(Token[] tokens)protected java.lang.ObjectTokenExpression. getAttribute(Token token)Returns the value of the named attribute as anObjectof the activity's request attributes or action results.protected java.lang.ObjectTokenExpression. getBean(Token token)Returns the bean instance that matches the given token.protected java.lang.ObjectTokenExpression. getProperty(Token token)Returns an Environment variable that matches the given token.protected java.lang.StringTokenExpression. getTemplate(Token token)Executes template, returns the generated output.Constructors in com.aspectran.core.context.expr with parameters of type Token Constructor Description TokenEvaluationException(Token token, java.lang.Throwable cause)Instantiates a new token evaluation exception. -
Uses of Token in com.aspectran.core.context.expr.token
Methods in com.aspectran.core.context.expr.token that return Token Modifier and Type Method Description TokenInvalidTokenException. getToken()static Token[]TokenParser. makeTokens(java.lang.String text, boolean tokenize)Convert the given string into tokens.static Token[]Tokenizer. optimize(Token[] tokens)Returns an array of tokens that is optimized.static Token[]TokenParser. parse(java.lang.String text)Returns an array of tokens that contains tokenized string.static Token[]TokenParser. parse(java.lang.String text, boolean optimize)Returns an array of tokens that contains tokenized string.TokenToken. replicate()Token[]Token. replicate(Token[] tokens)Methods in com.aspectran.core.context.expr.token that return types with arguments of type Token Modifier and Type Method Description static java.util.List<Token>Tokenizer. tokenize(java.lang.CharSequence input, boolean textTrim)Returns a list of tokens that contains tokenized string.Methods in com.aspectran.core.context.expr.token with parameters of type Token Modifier and Type Method Description static Token[]Tokenizer. optimize(Token[] tokens)Returns an array of tokens that is optimized.Token[]Token. replicate(Token[] tokens)static voidToken. resolveAlternativeValue(Token token, java.lang.ClassLoader classLoader)static java.lang.StringTokenParser. toString(Token[] tokens)Convert to string from the token array.Constructors in com.aspectran.core.context.expr.token with parameters of type Token Constructor Description InvalidTokenException(Token token)Instantiates a new invalid token exception.InvalidTokenException(java.lang.String msg, Token token)Instantiates a new invalid token exception. -
Uses of Token in com.aspectran.core.context.rule
Methods in com.aspectran.core.context.rule that return Token Modifier and Type Method Description Token[]ItemRule. getAllTokens()Token[]DispatchRule. getNameTokens()Gets the tokens of the dispatch name.Token[]TransletRule. getNameTokens()Gets the name tokens.Token[]RedirectRule. getPathTokens()Gets the tokens of the redirect path.Token[]TemplateRule. getTemplateTokens()Token[]TemplateRule. getTemplateTokens(ApplicationAdapter applicationAdapter)TokenAutowireRule. getToken()Token[]ItemRule. getTokens()Gets the tokens.Methods in com.aspectran.core.context.rule with parameters of type Token Modifier and Type Method Description voidItemRule. addValue(Token[] tokens)Adds the specified value to this List type item.booleanItemRule. containsToken(Token token)voidItemRule. putValue(java.lang.String name, Token[] tokens)Puts the specified value with the specified key to this Map type item.voidDispatchRule. setName(java.lang.String name, Token[] nameTokens)Sets the dispatch name and its name tokens.voidTransletRule. setNameTokens(Token[] nameTokens)Sets the name tokens.voidRedirectRule. setPath(java.lang.String path, Token[] pathTokens)protected voidTemplateRule. setTemplateSource(java.lang.String templateSource, Token[] templateTokens)voidAutowireRule. setToken(Token token)voidItemRule. setValue(Token[] tokens)Sets the specified value to this Single type item. -
Uses of Token in com.aspectran.core.context.rule.assistant
Methods in com.aspectran.core.context.rule.assistant with parameters of type Token Modifier and Type Method Description voidContextRuleAssistant. resolveBeanClass(Token token)Resolve bean class for token.voidContextRuleAssistant. resolveBeanClass(Token[] tokens)Resolve bean class for token.voidShallowContextRuleAssistant. resolveBeanClass(Token token)voidShallowContextRuleAssistant. resolveBeanClass(Token[] tokens)
-