|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.xoe.servlet.XoeServlet
Field Summary | |
protected static SimpleServiceQuery |
clipboardServiceQuery
|
protected org.xoe.core.dom.Callback |
defaultCallback
Default callback |
protected static SimpleServiceQuery |
historyServiceQuery
|
protected boolean |
propagateHistory
Propagate "history back" events to the enclosing document. |
protected static String |
USER_CONFIG_FILENAME
|
protected org.xoe.core.dom.XDocument |
userConfig
xml document containing user settings |
Fields inherited from interface org.xoe.services.IApplication |
FEATURE_CONFIG, FUNCTIONALITY, INTERFACE |
Constructor Summary | |
XoeServlet()
|
|
XoeServlet(javax.servlet.GenericServlet servlet)
Wrap a Xoe Servlet round a standard Java servlet. |
|
XoeServlet(XoeServlet from)
|
Method Summary | |
protected void |
createCallbacks()
|
protected void |
createCallbacks(org.xoe.core.dom.XDocument doc)
Set the callbacks on the document so we get any interesting events. |
boolean |
doesPropagateHistory()
|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
the default behaviour of XoeServlet is to render the file default.xhtml |
protected String |
getArchiveURI()
|
String |
getBackURLString()
|
protected String |
getDataDir()
|
protected org.w3c.dom.Document |
getDisplayedDocument()
Get the document currently on the screen. |
protected org.xoe.display.dom.DocumentViewer |
getDocumentViewer()
Get the document viewer |
String[] |
getFeatures(String func)
This function may return null. |
protected org.xoe.core.dom.XDocument |
getFileFromPackageWorkspace(String filename)
|
String[] |
getFunctionalities()
Functionalities are Strings that can be used to differentiate between different kinds of IServices. |
String[] |
getInformation()
Returns extra meta-information about the service as an array of Strings. |
String[] |
getInterfaces(String func)
Returns the String names of all the Java interfaces that the IService implements for the given functionality. |
String |
getPackageName()
|
String |
getPackageURI()
|
org.xoe.core.dom.XDocument |
getRelativeDocument(String name)
|
String |
getRelativeSrc(String name)
|
protected String[] |
getServletFeatures(String func)
|
protected String[] |
getServletFunctionalities()
|
protected String[] |
getServletInterfaces(String func)
|
protected org.w3c.dom.Document |
getTitleDocument()
Get the title document |
static String |
getURLParameter(String url,
String pname)
|
protected org.xoe.core.dom.XDocument |
getUserConfig()
|
org.xoe.core.dom.XDocument |
getViewableDocument()
Get the initial view on this component. |
protected String |
getWorkspaceURI()
|
protected boolean |
handleClipboard(String cmd)
|
protected boolean |
handleHistory(String cmd)
|
void |
init(org.w3c.dom.Document configDoc)
Services can be configued with a DOM Document. |
void |
init(javax.servlet.ServletConfig config)
|
void |
populateFields(Hashtable params)
|
static void |
populateFields(org.xoe.core.dom.XDocument doc,
Hashtable params)
Populate the fields of the returned document with the name/value pairs of the parameters passed with the request. |
void |
redirect(XoeServlet from)
|
protected void |
setDisplayedDocument(org.w3c.dom.Document doc)
Put the document onto the screen. |
void |
setPropagateHistory(boolean propagateHistory)
|
protected void |
setTitleDocument(org.w3c.dom.Document doc)
Set the title document |
void |
trackHistory()
|
Field Detail |
protected static final SimpleServiceQuery clipboardServiceQuery
protected static final SimpleServiceQuery historyServiceQuery
protected static final String USER_CONFIG_FILENAME
protected org.xoe.core.dom.XDocument userConfig
protected boolean propagateHistory
protected org.xoe.core.dom.Callback defaultCallback
Constructor Detail |
public XoeServlet()
public XoeServlet(javax.servlet.GenericServlet servlet)
public XoeServlet(XoeServlet from)
Method Detail |
public void init(org.w3c.dom.Document configDoc) throws Exception
IService
init
in interface IService
public final String[] getFunctionalities()
IService
getFunctionalities
in interface IService
public final String[] getInterfaces(String func)
IService
getInterfaces
in interface IService
public final String[] getFeatures(String func)
IService
getFeatures
in interface IService
public String[] getInformation()
IService
getInformation
in interface IService
public org.xoe.core.dom.XDocument getViewableDocument()
getViewableDocument
in interface IViewable
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
public void redirect(XoeServlet from)
protected String getDataDir()
protected org.xoe.core.dom.XDocument getFileFromPackageWorkspace(String filename) throws IOException
protected org.xoe.core.dom.XDocument getUserConfig() throws javax.servlet.ServletException, IOException
protected String getWorkspaceURI()
protected String getArchiveURI()
public String getPackageName()
public String getPackageURI()
protected void setDisplayedDocument(org.w3c.dom.Document doc)
protected void createCallbacks(org.xoe.core.dom.XDocument doc)
protected void createCallbacks()
public static void populateFields(org.xoe.core.dom.XDocument doc, Hashtable params)
public void populateFields(Hashtable params)
protected org.xoe.display.dom.DocumentViewer getDocumentViewer()
protected org.w3c.dom.Document getDisplayedDocument()
protected void setTitleDocument(org.w3c.dom.Document doc)
protected org.w3c.dom.Document getTitleDocument()
public String getRelativeSrc(String name)
public org.xoe.core.dom.XDocument getRelativeDocument(String name)
protected boolean handleClipboard(String cmd)
protected boolean handleHistory(String cmd)
public String getBackURLString()
public void trackHistory()
public void setPropagateHistory(boolean propagateHistory)
public boolean doesPropagateHistory()
protected String[] getServletFunctionalities()
protected String[] getServletInterfaces(String func)
protected String[] getServletFeatures(String func)
public static String getURLParameter(String url, String pname)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |