public abstract class JspBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_filename |
protected JspCompiler |
_jspCompiler |
protected JspParser |
_jspParser |
protected int |
_line |
protected ParseState |
_parseState |
protected Path |
_sourcePath |
protected ParseTagManager |
_tagManager |
Constructor and Description |
---|
JspBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
addNamespace(java.lang.String prefix,
java.lang.String uri) |
abstract void |
attribute(QName name,
java.lang.String value)
Adds an attribute to the element.
|
abstract void |
endAttributes()
Called after the attributes end.
|
abstract void |
endDocument()
Starts the document
|
abstract void |
endElement(java.lang.String name)
Ends an element.
|
abstract JspNode |
getCurrentNode()
Returns the current node.
|
abstract JspGenerator |
getGenerator()
Returns the generator.
|
JspCompiler |
getJspCompiler()
Returns the parse state.
|
JspParser |
getJspParser()
Returns the parse state.
|
JspPropertyGroup |
getJspPropertyGroup()
Gets the jsp-property-group
|
ParseState |
getParseState()
Returns the parse state.
|
boolean |
getRequireSource()
Returns true if require source is enabled.
|
abstract JspNode |
getRootNode()
Returns the top node.
|
ParseTagManager |
getTagManager()
Returns the tag manager
|
boolean |
isFastJstl()
Returns true if fast-jstl is enabled.
|
boolean |
isTagDependent() |
void |
setJspCompiler(JspCompiler compiler)
Sets the compiler
|
void |
setJspParser(JspParser parser)
Sets the parser
|
void |
setJspPropertyGroup(JspPropertyGroup jsp)
Sets the jsp-property-group
|
void |
setLocation(Path sourcePath,
java.lang.String filename,
int line)
Sets the source line number.
|
void |
setPageConfig(JspPageConfig pageConfig)
Sets the page config?
|
void |
setParseState(ParseState parseState)
Sets the parse state.
|
void |
setPrototype(boolean isPrototype)
Set for prototype builder.
|
void |
setTagManager(ParseTagManager manager)
Sets the tag manager
|
abstract void |
startDocument()
Starts the document
|
abstract void |
startElement(QName qname)
Starts an element.
|
abstract void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
Starts a prefix mapping.
|
void |
startTagDependent() |
abstract void |
text(java.lang.String text)
Adds text.
|
void |
text(java.lang.String text,
java.lang.String filename,
int startLine,
int endLine)
Adds text.
|
protected Path _sourcePath
protected java.lang.String _filename
protected int _line
protected ParseState _parseState
protected JspParser _jspParser
protected JspCompiler _jspCompiler
protected ParseTagManager _tagManager
public abstract JspGenerator getGenerator()
public abstract JspNode getRootNode()
public void setParseState(ParseState parseState)
public ParseState getParseState()
public void setPageConfig(JspPageConfig pageConfig)
public void setJspCompiler(JspCompiler compiler)
public JspCompiler getJspCompiler()
public void setJspParser(JspParser parser)
public JspParser getJspParser()
public void setTagManager(ParseTagManager manager)
public ParseTagManager getTagManager()
public void setJspPropertyGroup(JspPropertyGroup jsp)
public JspPropertyGroup getJspPropertyGroup()
public boolean isFastJstl()
public boolean getRequireSource()
public void setPrototype(boolean isPrototype)
public void setLocation(Path sourcePath, java.lang.String filename, int line)
public abstract void startDocument() throws JspParseException
JspParseException
public abstract void endDocument() throws JspParseException
JspParseException
public abstract void startElement(QName qname) throws JspParseException
qname
- the name of the element to startJspParseException
public abstract void startPrefixMapping(java.lang.String prefix, java.lang.String uri) throws JspParseException
prefix
- the xml prefixuri
- the namespace uriJspParseException
public abstract void attribute(QName name, java.lang.String value) throws JspParseException
name
- the attribute namevalue
- the attribute valueJspParseException
public abstract void endAttributes() throws JspParseException
JspParseException
public abstract void endElement(java.lang.String name) throws JspParseException
name
- the name of the element to endJspParseException
public abstract void text(java.lang.String text) throws JspParseException
text
- the text to addJspParseException
public void text(java.lang.String text, java.lang.String filename, int startLine, int endLine) throws JspParseException
text
- the text to addJspParseException
public void addNamespace(java.lang.String prefix, java.lang.String uri)
public abstract JspNode getCurrentNode()
public void startTagDependent()
public boolean isTagDependent()