org.apache.taglibs.xtags.xpath
Class TagHelper
java.lang.Object
org.apache.taglibs.xtags.xpath.TagHelper
public class TagHelper
- extends java.lang.Object
A number of helper methods
- Author:
- James Strachan
Field Summary |
protected static org.dom4j.io.OutputFormat |
outputFormat
|
static java.lang.String |
REQUEST_KEY_CONTEXT
Request scope attribute name used to pass the context between
JSP files |
static java.lang.String |
REQUEST_KEY_STYLESHEET
Request scope attribute name used to pass the stylesheet between
JSP files |
static java.lang.String |
REQUEST_KEY_XML_WRITER
Request scope attribute name used to pass the XMLWriter between
JSP files |
Method Summary |
static org.dom4j.io.XMLWriter |
createXMLWriter(javax.servlet.jsp.PageContext pageContext)
|
static void |
defineVariable(javax.servlet.jsp.PageContext pageContext,
java.lang.String id,
java.lang.Object value)
|
static java.lang.Object |
getInputNodes(javax.servlet.jsp.PageContext pageContext)
|
static java.lang.Object |
getInputNodes(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag thisTag,
boolean warn)
|
static org.dom4j.io.OutputFormat |
getOutputFormat(javax.servlet.jsp.PageContext pageContext)
|
static org.dom4j.rule.Stylesheet |
getStylesheet(javax.servlet.jsp.PageContext pageContext)
|
static org.dom4j.io.XMLWriter |
getXMLWriter(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag thisTag)
|
static void |
setInputNodes(javax.servlet.jsp.PageContext pageContext,
java.lang.Object inputNodes)
|
static void |
setStylesheet(javax.servlet.jsp.PageContext pageContext,
org.dom4j.rule.Stylesheet stylesheet)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REQUEST_KEY_CONTEXT
public static final java.lang.String REQUEST_KEY_CONTEXT
- Request scope attribute name used to pass the context between
JSP files
- See Also:
- Constant Field Values
REQUEST_KEY_STYLESHEET
public static final java.lang.String REQUEST_KEY_STYLESHEET
- Request scope attribute name used to pass the stylesheet between
JSP files
- See Also:
- Constant Field Values
outputFormat
protected static final org.dom4j.io.OutputFormat outputFormat
REQUEST_KEY_XML_WRITER
public static final java.lang.String REQUEST_KEY_XML_WRITER
- Request scope attribute name used to pass the XMLWriter between
JSP files
- See Also:
- Constant Field Values
TagHelper
public TagHelper()
getOutputFormat
public static org.dom4j.io.OutputFormat getOutputFormat(javax.servlet.jsp.PageContext pageContext)
getXMLWriter
public static org.dom4j.io.XMLWriter getXMLWriter(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag thisTag)
createXMLWriter
public static org.dom4j.io.XMLWriter createXMLWriter(javax.servlet.jsp.PageContext pageContext)
getInputNodes
public static java.lang.Object getInputNodes(javax.servlet.jsp.PageContext pageContext)
- Returns:
- the input node on which to make a selction
getInputNodes
public static java.lang.Object getInputNodes(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag thisTag,
boolean warn)
- Returns:
- the input node on which to make a selction
setInputNodes
public static void setInputNodes(javax.servlet.jsp.PageContext pageContext,
java.lang.Object inputNodes)
getStylesheet
public static org.dom4j.rule.Stylesheet getStylesheet(javax.servlet.jsp.PageContext pageContext)
setStylesheet
public static void setStylesheet(javax.servlet.jsp.PageContext pageContext,
org.dom4j.rule.Stylesheet stylesheet)
defineVariable
public static void defineVariable(javax.servlet.jsp.PageContext pageContext,
java.lang.String id,
java.lang.Object value)
Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.