|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.jsp.JspBuilder
com.caucho.jsp.java.JavaJspBuilder
public class JavaJspBuilder
Generates the nodes for JSP code.
| Field Summary | |
|---|---|
static java.lang.String |
JSF_CORE_URI
|
static QName |
JSP_ATTR_NAME
|
static QName |
JSP_BODY_NAME
|
static java.lang.String |
JSTL_CORE_URI
|
static java.lang.String |
JSTL_EL_CORE_URI
|
static java.lang.String |
JSTL_EL_FMT_URI
|
static java.lang.String |
JSTL_EL_SQL_URI
|
static java.lang.String |
JSTL_EL_XML_URI
|
static java.lang.String |
JSTL_FMT_URI
|
static java.lang.String |
JSTL_RT_CORE_URI
|
static java.lang.String |
JSTL_RT_FMT_URI
|
static java.lang.String |
JSTL_RT_SQL_URI
|
static java.lang.String |
JSTL_RT_XML_URI
|
static java.lang.String |
JSTL_SQL_URI
|
static java.lang.String |
JSTL_XML_URI
|
| Fields inherited from class com.caucho.jsp.JspBuilder |
|---|
_filename, _jspCompiler, _jspParser, _line, _parseState, _sourcePath, _tagManager |
| Constructor Summary | |
|---|---|
JavaJspBuilder()
Creates the JSP builder. |
|
| Method Summary | |
|---|---|
void |
attribute(QName name,
java.lang.String value)
Adds an attribute to the element. |
protected void |
createElementNode(QName qname)
|
void |
endAttributes()
Called when the attributes end. |
void |
endDocument()
Starts the document |
void |
endElement(java.lang.String name)
Ends an element. |
JspParseException |
error(java.lang.String message)
|
JspParseException |
error(java.lang.Throwable e)
|
JspNode |
getCurrentNode()
Returns the current node. |
JspGenerator |
getGenerator()
Returns the generator. |
JspNode |
getRootNode()
Returns the root node. |
boolean |
isPrototype()
Gets the prototype mode. |
boolean |
isTagDependent()
|
void |
setPrototype(boolean prototype)
Sets the prototype mode. |
void |
startDocument()
Starts the document |
void |
startElement(QName qname)
Starts an element. |
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
Starts a prefix mapping. |
void |
startTagDependent()
|
void |
text(java.lang.String text)
Adds text. |
void |
text(java.lang.String text,
java.lang.String srcFilename,
int startLine,
int endLine)
Adds text. |
| Methods inherited from class com.caucho.jsp.JspBuilder |
|---|
addNamespace, getJsfPropertyGroup, getJspCompiler, getJspParser, getJspPropertyGroup, getParseState, getRequireSource, getTagManager, isFastJsf, isFastJstl, setJsfPropertyGroup, setJspCompiler, setJspParser, setJspPropertyGroup, setLocation, setPageConfig, setParseState, setTagManager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String JSTL_CORE_URI
public static final java.lang.String JSTL_EL_CORE_URI
public static final java.lang.String JSTL_RT_CORE_URI
public static final java.lang.String JSTL_FMT_URI
public static final java.lang.String JSTL_EL_FMT_URI
public static final java.lang.String JSTL_RT_FMT_URI
public static final java.lang.String JSTL_XML_URI
public static final java.lang.String JSTL_EL_XML_URI
public static final java.lang.String JSTL_RT_XML_URI
public static final java.lang.String JSTL_SQL_URI
public static final java.lang.String JSTL_EL_SQL_URI
public static final java.lang.String JSTL_RT_SQL_URI
public static final java.lang.String JSF_CORE_URI
public static final QName JSP_BODY_NAME
public static final QName JSP_ATTR_NAME
| Constructor Detail |
|---|
public JavaJspBuilder()
| Method Detail |
|---|
public JspGenerator getGenerator()
getGenerator in class JspBuilderpublic JspNode getRootNode()
getRootNode in class JspBuilderpublic void setPrototype(boolean prototype)
setPrototype in class JspBuilderpublic boolean isPrototype()
public void startDocument()
throws JspParseException
startDocument in class JspBuilderJspParseException
public void endDocument()
throws JspParseException
endDocument in class JspBuilderJspParseException
public void startElement(QName qname)
throws JspParseException
startElement in class JspBuilderqname - the name of the element to start
JspParseExceptionpublic void startTagDependent()
startTagDependent in class JspBuilderpublic boolean isTagDependent()
isTagDependent in class JspBuilderprotected void createElementNode(QName qname)
public void startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
throws JspParseException
startPrefixMapping in class JspBuilderprefix - the xml prefixuri - the namespace uri
JspParseException
public void attribute(QName name,
java.lang.String value)
throws JspParseException
attribute in class JspBuildername - the attribute namevalue - the attribute value
JspParseException
public void endAttributes()
throws JspParseException
endAttributes in class JspBuilderJspParseException
public void endElement(java.lang.String name)
throws JspParseException
endElement in class JspBuilderqname - the name of the element to end
JspParseException
public void text(java.lang.String text)
throws JspParseException
text in class JspBuildertext - the text to add
JspParseException
public void text(java.lang.String text,
java.lang.String srcFilename,
int startLine,
int endLine)
throws JspParseException
text in class JspBuildertext - the text to add
JspParseExceptionpublic JspNode getCurrentNode()
getCurrentNode in class JspBuilderpublic JspParseException error(java.lang.String message)
public JspParseException error(java.lang.Throwable e)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||