de.oio.sqlrest.rest
Class RestUtil

java.lang.Object
  |
  +--de.oio.sqlrest.rest.RestUtil

public class RestUtil
extends java.lang.Object

Author:
tbayer

Constructor Summary
RestUtil()
           
 
Method Summary
static java.lang.String getRowUrl(java.lang.String servletURL, java.lang.String tableName, java.lang.String id)
          Method getRowUrl.
static java.lang.String getTableUrl(java.lang.String servletURL, java.lang.String tableName)
          Method getTableUrl.
static void startResponse(org.apache.xml.serialize.XMLSerializer xmlSerializer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestUtil

public RestUtil()
Method Detail

getTableUrl

public static java.lang.String getTableUrl(java.lang.String servletURL,
                                           java.lang.String tableName)
                                    throws java.io.UnsupportedEncodingException
Method getTableUrl.

Parameters:
tableName -
Returns:
String
java.io.UnsupportedEncodingException

getRowUrl

public static java.lang.String getRowUrl(java.lang.String servletURL,
                                         java.lang.String tableName,
                                         java.lang.String id)
                                  throws java.io.UnsupportedEncodingException
Method getRowUrl.

Parameters:
tableName -
id -
Returns:
String
java.io.UnsupportedEncodingException

startResponse

public static void startResponse(org.apache.xml.serialize.XMLSerializer xmlSerializer)
                          throws org.xml.sax.SAXException
org.xml.sax.SAXException


Copyright Orientation in Objects GmbH. All Rights Reserved.