Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

openfuture.editxml.servlet
Class EditorServletProxy  view EditorServletProxy download EditorServletProxy.java

java.lang.Object
  extended byopenfuture.editxml.servlet.EditorServletProxy

public class EditorServletProxy
extends java.lang.Object

Proxy class to EditorServlet.

Created: Mon Jul 02 06:36:54 2001

Version:
$Revision: 1.2 $

Field Summary
private  java.lang.String servletURL
           
 
Constructor Summary
EditorServletProxy(java.lang.String servletURL)
          Creates a new EditorServletProxy instance.
 
Method Summary
 java.util.Hashtable getDomainTable()
          Retrieve the XML domains.
 java.util.Hashtable getEntries(java.lang.String domain, java.lang.String file)
          Retrieve the content from the given file converted into an XML form.
 java.util.Hashtable getFileTable()
          Retrieve the file list table.
 java.lang.String getServletURL()
          Get the value of servletURL.
 openfuture.editxml.model.XmlDomain getXmlDomain(java.lang.String domainname)
          Retrieve the XML domain with the given name.
 void saveAsEntries(java.util.Hashtable entries, java.lang.String domain, java.lang.String oldfile, java.lang.String newfile)
          Save the XML form as a new XML file to the server.
 void saveEntries(java.util.Hashtable entries, java.lang.String domain, java.lang.String file)
          Save the XML form as XML file to the server.
protected  java.io.Serializable service(java.lang.String queryString, java.io.Serializable request)
          Contact the EditorServlet defined by #getServletURL(String).
 void setServletURL(java.lang.String v)
          Set the value of servletURL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

servletURL

private java.lang.String servletURL
Constructor Detail

EditorServletProxy

public EditorServletProxy(java.lang.String servletURL)
Creates a new EditorServletProxy instance.

Method Detail

getXmlDomain

public openfuture.editxml.model.XmlDomain getXmlDomain(java.lang.String domainname)
                                                throws openfuture.util.error.I18NException
Retrieve the XML domain with the given name.


getDomainTable

public java.util.Hashtable getDomainTable()
                                   throws openfuture.util.error.I18NException
Retrieve the XML domains.


getFileTable

public java.util.Hashtable getFileTable()
                                 throws openfuture.util.error.I18NException
Retrieve the file list table.


getEntries

public java.util.Hashtable getEntries(java.lang.String domain,
                                      java.lang.String file)
                               throws openfuture.util.error.I18NException
Retrieve the content from the given file converted into an XML form.


saveEntries

public void saveEntries(java.util.Hashtable entries,
                        java.lang.String domain,
                        java.lang.String file)
                 throws openfuture.util.error.I18NException
Save the XML form as XML file to the server.


saveAsEntries

public void saveAsEntries(java.util.Hashtable entries,
                          java.lang.String domain,
                          java.lang.String oldfile,
                          java.lang.String newfile)
                   throws openfuture.util.error.I18NException
Save the XML form as a new XML file to the server.


service

protected java.io.Serializable service(java.lang.String queryString,
                                       java.io.Serializable request)
                                throws openfuture.util.error.I18NException
Contact the EditorServlet defined by #getServletURL(String). The request object is sent via the servlet's input stream. From the output stream, the result object is read and returned. The request parameter serialize is always set to true.


getServletURL

public java.lang.String getServletURL()
Get the value of servletURL.


setServletURL

public void setServletURL(java.lang.String v)
Set the value of servletURL.