|
||||||||||
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, getJspCompiler, getJspParser, getJspPropertyGroup, getParseState, getRequireSource, getTagManager, isFastJstl, 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 JspBuilder
public JspNode getRootNode()
getRootNode
in class JspBuilder
public void setPrototype(boolean prototype)
setPrototype
in class JspBuilder
public boolean isPrototype()
public void startDocument() throws JspParseException
startDocument
in class JspBuilder
JspParseException
public void endDocument() throws JspParseException
endDocument
in class JspBuilder
JspParseException
public void startElement(QName qname) throws JspParseException
startElement
in class JspBuilder
qname
- the name of the element to start
JspParseException
public void startTagDependent()
startTagDependent
in class JspBuilder
public boolean isTagDependent()
isTagDependent
in class JspBuilder
protected void createElementNode(QName qname)
public void startPrefixMapping(java.lang.String prefix, java.lang.String uri) throws JspParseException
startPrefixMapping
in class JspBuilder
prefix
- the xml prefixuri
- the namespace uri
JspParseException
public void attribute(QName name, java.lang.String value) throws JspParseException
attribute
in class JspBuilder
name
- the attribute namevalue
- the attribute value
JspParseException
public void endAttributes() throws JspParseException
endAttributes
in class JspBuilder
JspParseException
public void endElement(java.lang.String name) throws JspParseException
endElement
in class JspBuilder
qname
- the name of the element to end
JspParseException
public void text(java.lang.String text) throws JspParseException
text
in class JspBuilder
text
- 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 JspBuilder
text
- the text to add
JspParseException
public JspNode getCurrentNode()
getCurrentNode
in class JspBuilder
public 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 |