|
JspUtil (Jasper Internal API Documentation)
org.apache.jasper.compiler
|
Nested Class Summary | |
static class |
JspUtil.ValidAttribute
|
Constructor Summary | |
JspUtil()
|
Method Summary | |
static java.util.Hashtable |
|
static boolean |
booleanValue(java.lang.String s)
Convert a String value to 'boolean'. |
static void |
JspUtil.ValidAttribute[] validAttributes,
Mark start)
|
static java.lang.String |
escapeQueryString(java.lang.String unescString)
|
static char[] |
escapeQuotes(char[] chars)
|
static java.lang.String |
escapeXml(java.lang.String s)
Escape the 5 entities defined by XML. |
static java.lang.String |
getElementChildTextData(org.w3c.dom.Element e)
Get the data for the first child associated with the Element provided as argument. |
static java.lang.String |
getExpr(java.lang.String expression,
boolean isXml)
|
static java.lang.String |
getExprInXml(java.lang.String expression)
Takes a potential expression and converts it into XML form |
static boolean |
isExpression(java.lang.String token,
boolean isXml)
Checks if the token is a runtime expression. |
static org.w3c.dom.Document |
parseXMLDoc(java.lang.String uri,
java.io.InputStream in)
Deprecated. Use ParserUtils.parseXMLDocument() instead |
static org.w3c.dom.Document |
parseXMLDocJaxp(java.lang.String uri,
java.io.InputStream in)
Deprecated. Use ParserUtils.parseXMLDocument() instead |
static char[] |
removeQuotes(char[] chars)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JspUtil()
Method Detail |
public static char[] removeQuotes(char[] chars)
public static char[] escapeQuotes(char[] chars)
public static boolean isExpression(java.lang.String token, boolean isXml)
token
- The token to be checked
return whether the token is a runtime expression or not.public static java.lang.String getExpr(java.lang.String expression, boolean isXml)
public static java.lang.String getExprInXml(java.lang.String expression)
public static org.w3c.dom.Document parseXMLDoc(java.lang.String uri, java.io.InputStream in) throws JasperException
public static org.w3c.dom.Document parseXMLDocJaxp(java.lang.String uri, java.io.InputStream in) throws JasperException
public static void checkAttributes(java.lang.String typeOfTag, JspUtil.ValidAttribute[] validAttributes, Mark start) throws JasperException
public static java.lang.String escapeQueryString(java.lang.String unescString)
public static java.lang.String escapeXml(java.lang.String s)
public static java.lang.String getElementChildTextData(org.w3c.dom.Element e)
e
- the DOM Element to read from
public static boolean booleanValue(java.lang.String s)
s
- the string to be converted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |