|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.owasp.orizon.mirage.jsp.parser.JspParser
public class JspParser
Field Summary | |
---|---|
JspLexer |
token_source
Generated Lexer. |
Constructor Summary | |
---|---|
JspParser(JspLexer tm)
Constructor with generated Token Manager. |
|
JspParser(java.io.Reader stream)
|
Method Summary | |
---|---|
void |
Attribute()
|
void |
AttributeValue()
The value of an attribute of an element. |
void |
CData()
|
void |
clearNodeScope()
|
void |
closeNodeScope(Node n,
boolean condition)
A conditional node is constructed if its condition is true. |
void |
closeNodeScope(Node n,
int num)
|
void |
CommentTag()
|
void |
CompilationUnit()
The root of the AST of a JSP. |
void |
Content()
Everything between a start-tag and the corresponding end-tag of an element. |
void |
ContentElementPossiblyWithText()
A single (non-text) element that can occur between a start- and end-tag of an element. |
void |
Declaration()
|
void |
disable_tracing()
Disable tracing. |
void |
DoctypeDeclaration()
|
void |
DoctypeExternalId()
|
void |
Element()
A XML element, either with a single empty tag, or with a starting and closing tag with optional contained content. |
java.lang.String |
ElExpression()
An EL expression, not within an attribute value. |
java.lang.String |
ElExpressionInAttribute()
|
void |
enable_tracing()
Enable tracing. |
ParseException |
generateParseException()
|
boolean |
getBuildTree()
|
Token |
getNextToken()
Get the next Token. |
Token |
getToken(int index)
Get the specific Token. |
void |
JspComment()
|
void |
JspDeclaration()
|
void |
JspDirective()
|
void |
JspDirectiveAttribute()
|
void |
JspExpression()
|
java.lang.String |
JspExpressionInAttribute()
|
void |
JspScriptlet()
|
int |
nodeArity()
Returns the number of children on the stack in the current node scope. |
boolean |
nodeCreated()
Determines whether the current node was actually closed and pushed. |
void |
openNodeScope(Node n)
|
Node |
peekNode()
Returns the node currently on the top of the stack. |
void |
pokeNode(Node n)
Puts the node on the top of the stack. |
void |
pokeNode(Node n,
boolean clearNodeScope)
Puts the node on the top of the stack. |
Node |
popNode()
Returns the node on the top of the stack, and remove it from the stack. |
void |
Prolog()
The optional prolog of a JSP, including (xml) declarations and DTD. |
void |
pushNode(Node n)
push a node onto the top of the node stack |
java.lang.String |
QuoteIndependentAttributeValueContent()
Partial content of an attribute value that can contain all quotes. |
Node |
rootNode()
Returns the root node of the AST. |
void |
setBuildTree(boolean buildTree)
|
void |
setInputSource(java.lang.String inputSource)
|
void |
Text()
This production groups all characters between two tags, where tag is an xml-tag "<...>" or a jsp-page-tag "<%...%>" or CDATA "". |
java.lang.String |
UnparsedText()
|
java.lang.String |
UnparsedTextNoDoubleQuotes()
Text that contains no double quotes, and that does not contain the start of a EL expression or value binding. |
java.lang.String |
UnparsedTextNoSingleQuotes()
Text that contains no single quotes, and that does not contain the start of a EL expression or value binding. |
java.lang.String |
ValueBindingInAttribute()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public JspLexer token_source
Constructor Detail |
---|
public JspParser(java.io.Reader stream)
public JspParser(JspLexer tm)
Method Detail |
---|
public boolean nodeCreated()
public Node rootNode()
public void pushNode(Node n)
public Node popNode()
public Node peekNode()
public void pokeNode(Node n)
public void pokeNode(Node n, boolean clearNodeScope)
public int nodeArity()
public void clearNodeScope()
public void openNodeScope(Node n)
public void closeNodeScope(Node n, int num)
public void closeNodeScope(Node n, boolean condition)
public boolean getBuildTree()
public void setBuildTree(boolean buildTree)
public void setInputSource(java.lang.String inputSource)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
public final void CompilationUnit() throws ParseException
ParseException
public final void Prolog() throws ParseException
ParseException
public final void Content() throws ParseException
ParseException
public final void ContentElementPossiblyWithText() throws ParseException
ParseException
public final void JspDirective() throws ParseException
ParseException
public final void JspDirectiveAttribute() throws ParseException
ParseException
public final void JspScriptlet() throws ParseException
ParseException
public final void JspExpression() throws ParseException
ParseException
public final void JspDeclaration() throws ParseException
ParseException
public final void JspComment() throws ParseException
ParseException
public final void Text() throws ParseException
ParseException
public final java.lang.String UnparsedText() throws ParseException
ParseException
public final java.lang.String UnparsedTextNoSingleQuotes() throws ParseException
ParseException
public final java.lang.String UnparsedTextNoDoubleQuotes() throws ParseException
ParseException
public final java.lang.String ElExpression() throws ParseException
ParseException
public final java.lang.String ValueBindingInAttribute() throws ParseException
ParseException
public final java.lang.String ElExpressionInAttribute() throws ParseException
ParseException
public final void CData() throws ParseException
ParseException
public final void Element() throws ParseException
ParseException
public final void Attribute() throws ParseException
ParseException
public final void AttributeValue() throws ParseException
ParseException
public final java.lang.String QuoteIndependentAttributeValueContent() throws ParseException
ParseException
public final java.lang.String JspExpressionInAttribute() throws ParseException
ParseException
public final void CommentTag() throws ParseException
ParseException
public final void Declaration() throws ParseException
ParseException
public final void DoctypeDeclaration() throws ParseException
ParseException
public final void DoctypeExternalId() throws ParseException
ParseException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |