|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.tools.deploy.JetspeedWebApplicationRewriter org.apache.jetspeed.tools.deploy.JetspeedWebApplicationRewriter2_4
class JetspeedWebApplicationRewriter2_4
Utilities for manipulating the web.xml deployment descriptor version 2.4
Field Summary | |
---|---|
protected static String[] |
ELEMENTS_BEFORE_JSP_CONFIG
|
protected static String[] |
ELEMENTS_BEFORE_SERVLET
|
protected static String[] |
ELEMENTS_BEFORE_SERVLET_MAPPING
|
protected static String[] |
ELEMENTS_BEFORE_TAGLIB_MAPPING
|
static String |
JETSPEED_SERVLET_MAPPING_XPATH
|
static String |
JETSPEED_SERVLET_XPATH
|
static String |
JSP_CONFIG_XPATH
|
static String |
PORTLET_TAGLIB_XPATH
|
Fields inherited from class org.apache.jetspeed.tools.deploy.JetspeedWebApplicationRewriter |
---|
JETSPEED_CONTAINER, JETSPEED_SERVLET_CLASS, JETSPEED_SERVLET_DESCRIPTION, JETSPEED_SERVLET_DISPLAY_NAME, NAMESPACE_PREFIX, WEB_XML_PATH |
Constructor Summary | |
---|---|
JetspeedWebApplicationRewriter2_4(org.jdom.Document doc)
|
|
JetspeedWebApplicationRewriter2_4(org.jdom.Document doc,
String portletApplication)
|
Method Summary | |
---|---|
protected String |
getJetspeedServletMappingXPath()
Returns the jetspeed servlet mapping xpath. |
protected String |
getJetspeedServletXPath()
Returns the jetspeed servlet xpath. |
protected String |
getPortletTagLibXPath()
Returns the portlet taglib xpath. |
protected void |
insertJetspeedServlet(org.jdom.Element root)
Inserts the jetspeed servlet into web.xml |
protected void |
insertJetspeedServletMapping(org.jdom.Element root)
Inserts the jetspeed servlet mapping into web.xml |
protected void |
insertPortletTagLib(org.jdom.Element root)
Inserts the portlet taglib into web.xml |
Methods inherited from class org.apache.jetspeed.tools.deploy.JetspeedWebApplicationRewriter |
---|
getXPath, insertContextNameParam, insertElementCorrectly, insertLoadOnStartup, isChanged, isPortletTaglibAdded, processWebXML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String JETSPEED_SERVLET_XPATH
public static final String JETSPEED_SERVLET_MAPPING_XPATH
public static final String JSP_CONFIG_XPATH
public static final String PORTLET_TAGLIB_XPATH
protected static final String[] ELEMENTS_BEFORE_SERVLET
protected static final String[] ELEMENTS_BEFORE_SERVLET_MAPPING
protected static final String[] ELEMENTS_BEFORE_JSP_CONFIG
protected static final String[] ELEMENTS_BEFORE_TAGLIB_MAPPING
Constructor Detail |
---|
public JetspeedWebApplicationRewriter2_4(org.jdom.Document doc, String portletApplication)
public JetspeedWebApplicationRewriter2_4(org.jdom.Document doc)
Method Detail |
---|
protected String getJetspeedServletXPath()
getJetspeedServletXPath
in class JetspeedWebApplicationRewriter
protected String getJetspeedServletMappingXPath()
getJetspeedServletMappingXPath
in class JetspeedWebApplicationRewriter
protected String getPortletTagLibXPath()
getPortletTagLibXPath
in class JetspeedWebApplicationRewriter
protected void insertJetspeedServlet(org.jdom.Element root) throws Exception
insertJetspeedServlet
in class JetspeedWebApplicationRewriter
root
-
Exception
protected void insertJetspeedServletMapping(org.jdom.Element root) throws Exception
insertJetspeedServletMapping
in class JetspeedWebApplicationRewriter
root
-
Exception
protected void insertPortletTagLib(org.jdom.Element root) throws Exception
insertPortletTagLib
in class JetspeedWebApplicationRewriter
root
-
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |