org.apache.jasper.compiler

Class ELParser

public class ELParser extends Object

This class implements a parser for EL expressions. It takes strings of the form xxx${..}yyy${..}zzz etc, and turn it into a ELNode.Nodes. Currently, it only handles text outside ${..} and functions in ${ ..}.

Author: Kin-man Chung

Constructor Summary
ELParser(String expression)
Method Summary
chargetType()
static ELNode.Nodesparse(String expression)
Parse an EL expression

Constructor Detail

ELParser

public ELParser(String expression)

Method Detail

getType

public char getType()

parse

public static ELNode.Nodes parse(String expression)
Parse an EL expression

Parameters: expression The input expression string of the form Char* ('${' Char* '}')* Char*

Returns: Parsed EL expression in ELNode.Nodes

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.