| org.netbeans.modules.web.core.syntax.deprecated.JspMultiSyntax org.netbeans.modules.web.core.syntax.deprecated.Jsp11Syntax
Jsp11Syntax | public class Jsp11Syntax extends JspMultiSyntax (Code) | | Handles syntax coloring for JSP 1.1. This involves handling custom tags.
This class relies on an external source of data, which provides information
about tag libraries. The information necessary is:
- Prefixes of tag libraries imported by the page (and its included pages !)
- For individual tags inside the tag libraries, it's
bodyContent property
This class is able to deal with cases when this information is incomplete,
i.e. if the information for individual tags is missing (for example in the case when the
.tld descriptor of the library was not found). In such a case the tags for which the information
is missing are treated as if they had bodycontent set to JSP.
// PENDING - handle TAG_DEPENDENT tags correctly, change JspMultiSyntax and JspTagSyntax accordingly
author: petr.jiricka@netbeans.comJspLexer |
Field Summary | |
public JSPColoringData | data Data providing the information about tag libraries. | public Object | listenerReference Only keep reference to listener which listens on the JSP DataObject so
it's not garbage collected. |
Method Summary | |
protected boolean | isELIgnored(boolean inJspTag) Determines whether any EL expressions should be colored as expressions,
or ignored. | protected boolean | isJspTag(String tagName) | protected boolean | isXMLSyntax() |
listenerReference | public Object listenerReference(Code) | | Only keep reference to listener which listens on the JSP DataObject so
it's not garbage collected.
|
Jsp11Syntax | public Jsp11Syntax()(Code) | | Creates new Jsp11Syntax
|
Jsp11Syntax | public Jsp11Syntax(Syntax contentSyntax, Syntax scriptingSyntax)(Code) | | |
isELIgnored | protected boolean isELIgnored(boolean inJspTag)(Code) | | Determines whether any EL expressions should be colored as expressions,
or ignored. Returna the correct value per section JSP.3.3.2
of the specification.
Parameters: whether - this expression is inside the JSP tag value, or just in template text true if the expression should be ignored, false if it should be treated as an expression |
isXMLSyntax | protected boolean isXMLSyntax()(Code) | | |
Methods inherited from org.netbeans.modules.web.core.syntax.deprecated.JspMultiSyntax | protected int canBeELDelimiter(int tokenOffset, int endOffset, int firstTokenEnd, boolean lastPart, int myNestMode)(Code)(Java Doc) protected int canBeHostDelimiter(int tokenOffset, int endOffset, int firstTokenEnd, boolean lastPart)(Code)(Java Doc) protected int canBeJavaDelimiter(int tokenOffset, int endOffset, int firstTokenEnd, boolean lastPart, int myNestMode)(Code)(Java Doc) protected int canBeJspTagDelimiter(int tokenOffset, int endOffset, int firstTokenEnd, boolean lastPart, boolean isComment)(Code)(Java Doc) public int compareState(StateInfo stateInfo)(Code)(Java Doc) public StateInfo createStateInfo()(Code)(Java Doc) public Syntax getContentSyntax()(Code)(Java Doc) public String getNestModeName(int nestMode)(Code)(Java Doc) public Syntax getScriptingSyntax()(Code)(Java Doc) public String getStateName(int stateNumber)(Code)(Java Doc) protected boolean isELIgnored(boolean inJspTag)(Code)(Java Doc) protected boolean isJspTag(String tagName)(Code)(Java Doc) protected boolean isXMLSyntax()(Code)(Java Doc) public void load(StateInfo stateInfo, char buffer, int offset, int len, boolean lastBuffer)(Code)(Java Doc) public void loadInitState()(Code)(Java Doc) public void loadState(StateInfo stateInfo)(Code)(Java Doc) protected TokenID parseToken()(Code)(Java Doc) public void setContentSyntax(Syntax contentSyntax)(Code)(Java Doc) public void setScriptingSyntax(Syntax scriptingSyntax)(Code)(Java Doc) public void storeState(StateInfo stateInfo)(Code)(Java Doc)
|
|
|