public class JavaJspBuilder extends JspBuilder
Modifier and Type | Field and Description |
---|---|
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 |
_filename, _jspCompiler, _jspParser, _line, _parseState, _sourcePath, _tagManager
Constructor and Description |
---|
JavaJspBuilder()
Creates the JSP builder.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addNamespace, getJspCompiler, getJspParser, getJspPropertyGroup, getParseState, getRequireSource, getTagManager, isFastJstl, setJspCompiler, setJspParser, setJspPropertyGroup, setLocation, setPageConfig, setParseState, setTagManager
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
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 startJspParseException
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 uriJspParseException
public void attribute(QName name, java.lang.String value) throws JspParseException
attribute
in class JspBuilder
name
- the attribute namevalue
- the attribute valueJspParseException
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 endJspParseException
public void text(java.lang.String text) throws JspParseException
text
in class JspBuilder
text
- the text to addJspParseException
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 addJspParseException
public JspNode getCurrentNode()
getCurrentNode
in class JspBuilder
public JspParseException error(java.lang.String message)
public JspParseException error(java.lang.Throwable e)