1.0.0

org.eclipse.soda.dk.device.servlet
Class DeviceServletContext

java.lang.Object
  extended by org.eclipse.soda.dk.device.servlet.DeviceServletContext
Direct Known Subclasses:
DeviceBundleServletContext, DeviceConfigurationServletContext, DeviceDeviceServletContext, DeviceMetadataServletContext, DevicePropertyServletContext, DeviceServiceServletContext

public class DeviceServletContext
extends java.lang.Object

Version:
1.0.0

Field Summary
 java.util.Hashtable contentTypes
          Define the content types (Hashtable) field.
protected  java.lang.String fileExtension
          Define the file extension (String) field.
protected  java.lang.String fileName
          Define the file name (String) field.
protected  java.lang.String filePath
          Define the file path (String) field.
protected  boolean filterId
          Define the filter id (boolean) field.
protected  java.lang.String firstItem
          Define the first item (String) field.
static char[] HEX_CHAR_LOWER_TABLE
          Define the hex char lower table (char[]) constant.
static char[] HEX_CHAR_UPPER_TABLE
          Define the hex char upper table (char[]) constant.
static java.lang.String HTML_CONTENT_TYPE
          Define the html content type (String) constant.
protected  long idEnd
          Define the id end (long) field.
protected  long idStart
          Define the id start (long) field.
protected  java.lang.String path
          Define the path translated (String) field.
protected  javax.servlet.http.HttpServletRequest request
          Define the request (HttpServletRequest) field.
protected  javax.servlet.http.HttpServletResponse response
          Define the response (HttpServletResponse) field.
protected  java.lang.String serverAlias
          Define the server alias (String) field.
static java.lang.String TXT_CONTENT_TYPE
          Define the txt content type (String) constant.
static java.lang.String XML_CONTENT_TYPE
          Define the xml content type (String) constant.
 
Constructor Summary
DeviceServletContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String serverAlias)
          Constructs an instance of this class.
 
Method Summary
 void addEntities(java.util.Dictionary map)
          Add entities with the specified map parameter.
 void addEntities(java.util.Map map)
          Add entities with the specified map parameter.
 void addEntity(java.lang.String key, java.lang.Object value)
          Add entity with the specified key and value parameters.
 void addEntityBundle(org.osgi.framework.Bundle bundle)
          Add entity bundle with the specified bundle parameter.
 void addEntityIcon(java.lang.String key, java.lang.String iconName)
          Add entity icon with the specified key and icon name parameters.
 void addEntityServiceReference(org.osgi.framework.ServiceReference serviceReference)
          Add entity service reference with the specified service reference parameter.
 void begin()
          Begin.
 void end()
          End.
 boolean filter(org.osgi.framework.Bundle bundle)
          Filter with the specified bundle parameter and return the boolean result.
 org.osgi.framework.Bundle[] filter(org.osgi.framework.Bundle[] bundles)
          Filter with the specified bundles parameter and return the Bundle[] result.
 boolean filter(long id)
          Filter with the specified id parameter and return the boolean result.
 boolean filter(org.osgi.framework.ServiceReference serviceReference)
          Filter with the specified service reference parameter and return the boolean result.
 org.osgi.framework.ServiceReference[] filter(org.osgi.framework.ServiceReference[] serviceReferences)
          Filter with the specified service references parameter and return the ServiceReference[] result.
 boolean filter(java.lang.String url)
          Filter with the specified url parameter and return the boolean result.
 int findBestLanguage(java.lang.String language, java.lang.String[] languages)
          Find best language with the specified language and languages parameters and return the int result.
 java.lang.String findIcon(java.lang.String iconName)
          Find icon with the specified icon name parameter and return the String result.
 java.lang.String formatData(java.lang.Object data)
          Format data with the specified data parameter and return the String result.
 void formatData(java.lang.StringBuffer buffer, java.lang.Object data)
          Format data with the specified buffer and data parameters.
 java.lang.String formatDataShort(java.lang.Object data)
          Format data short with the specified data parameter and return the String result.
 java.util.Hashtable getEntities()
          Gets the entities (Hashtable) value.
 java.lang.String getEntity(java.lang.String key)
          Get entity with the specified key parameter and return the String result.
 java.util.Hashtable getFactoryMetadata()
          Gets the factory metadata (Hashtable) value.
 java.lang.String getFileExtension()
          Gets the file extension (String) value.
 java.lang.String getFileName()
          Gets the file name (String) value.
 java.lang.String getFilePath()
          Gets the file path (String) value.
 java.lang.String getFirstItem()
          Gets the first item (String) value.
 java.lang.String getHostAddress()
          Gets the host address (String) value.
 java.util.Hashtable getIcons()
          Gets the icons (Hashtable) value.
 long getIdEnd()
          Gets the id end (long) value.
 long getIdStart()
          Gets the id start (long) value.
 java.lang.String getInputDirectory()
          Gets the input directory (String) value.
 java.lang.String getLanguage()
          Gets the language (String) value.
 java.lang.String getPath()
          Gets the path (String) value.
 java.util.Hashtable getPidMetadata()
          Gets the pid metadata (Hashtable) value.
 javax.servlet.http.HttpServletRequest getRequest()
          Gets the request (HttpServletRequest) value.
 java.util.Hashtable getResourceLocations()
          Gets the resource locations (Hashtable) value.
 javax.servlet.http.HttpServletResponse getResponse()
          Gets the response (HttpServletResponse) value.
 java.lang.String getServerAlias()
          Gets the server alias (String) value.
 java.lang.String getShort(java.lang.Object data)
          Get short with the specified data parameter and return the String result.
 java.lang.String getVersion()
          Gets the version (String) value.
 java.io.PrintWriter getWriter()
          Gets the writer (PrintWriter) value.
 boolean isFilterId()
          Gets the filter id (boolean) value.
 java.lang.String niceIconNane(java.lang.String name)
          Nice icon nane with the specified name parameter and return the String result.
 void print(int data)
          Print with the specified data parameter.
 void print(java.lang.String data)
          Print with the specified data parameter.
 void println(java.lang.String data)
          Println with the specified data parameter.
 boolean respondWith(java.net.URL url)
          Respond with with the specified url parameter and return the boolean result.
 void setEntities(java.util.Hashtable entities)
          Sets the entities value.
 void setFactoryMetadata(java.util.Hashtable factoryMetadata)
          Sets the factory metadata value.
 void setFileExtension(java.lang.String fileExtension)
          Sets the file extension value.
 void setFileName(java.lang.String fileName)
          Sets the file name value.
 void setFilePath(java.lang.String filePath)
          Sets the file path value.
 void setFilterId(boolean filterId)
          Sets the filter id value.
 void setFirstItem(java.lang.String firstItem)
          Sets the first item value.
 void setIcons(java.util.Hashtable icons)
          Sets the icons value.
 void setIdEnd(long idEnd)
          Sets the id end value.
 void setIdStart(long idStart)
          Sets the id start value.
 void setLanguage(java.lang.String lanuguage)
          Sets the language value.
 void setPath(java.lang.String path)
          Sets the path value.
 void setPidMetadata(java.util.Hashtable pidMetadata)
          Sets the pid metadata value.
 void setRequest(javax.servlet.http.HttpServletRequest request)
          Sets the request value.
 void setResourceLocations(java.util.Hashtable resourceLocations)
          Sets the resource locations value.
 void setResponse(javax.servlet.http.HttpServletResponse response)
          Sets the response value.
 void setServerAlias(java.lang.String serverAlias)
          Sets the server alias value.
 void setupEntities()
          Setup entities.
 void setupRequest(javax.servlet.http.HttpServletRequest request)
          Sets the up request value.
 void setupResponse(javax.servlet.http.HttpServletResponse response)
          Sets the up response value.
 void setWriter(java.io.PrintWriter writer)
          Sets the writer value.
 void sort(org.osgi.framework.Bundle[] bundles)
          Sort with the specified bundles parameter.
 void sort(org.osgi.framework.ServiceReference[] serviceReferences)
          Sort with the specified service references parameter.
 void sort(java.lang.String[] strings)
          Sort with the specified strings parameter.
 void template(java.lang.String name)
          Template class with the specified name parameter.
 java.io.InputStream templateInputStream(java.lang.String name)
          Template input stream with the specified name parameter and return the InputStream result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEX_CHAR_LOWER_TABLE

public static final char[] HEX_CHAR_LOWER_TABLE
Define the hex char lower table (char[]) constant.


HEX_CHAR_UPPER_TABLE

public static final char[] HEX_CHAR_UPPER_TABLE
Define the hex char upper table (char[]) constant.


HTML_CONTENT_TYPE

public static final java.lang.String HTML_CONTENT_TYPE
Define the html content type (String) constant.

See Also:
Constant Field Values

TXT_CONTENT_TYPE

public static final java.lang.String TXT_CONTENT_TYPE
Define the txt content type (String) constant.

See Also:
Constant Field Values

XML_CONTENT_TYPE

public static final java.lang.String XML_CONTENT_TYPE
Define the xml content type (String) constant.

See Also:
Constant Field Values

contentTypes

public java.util.Hashtable contentTypes
Define the content types (Hashtable) field.


serverAlias

protected java.lang.String serverAlias
Define the server alias (String) field.


request

protected javax.servlet.http.HttpServletRequest request
Define the request (HttpServletRequest) field.


response

protected javax.servlet.http.HttpServletResponse response
Define the response (HttpServletResponse) field.


path

protected java.lang.String path
Define the path translated (String) field.


firstItem

protected java.lang.String firstItem
Define the first item (String) field.


filePath

protected java.lang.String filePath
Define the file path (String) field.


fileName

protected java.lang.String fileName
Define the file name (String) field.


fileExtension

protected java.lang.String fileExtension
Define the file extension (String) field.


idStart

protected long idStart
Define the id start (long) field.


idEnd

protected long idEnd
Define the id end (long) field.


filterId

protected boolean filterId
Define the filter id (boolean) field.

Constructor Detail

DeviceServletContext

public DeviceServletContext(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response,
                            java.lang.String serverAlias)
Constructs an instance of this class. The request (HttpServletRequest) parameter. The response (HttpServletResponse) parameter. The server alias (String) parameter.

Parameters:
request - The request (HttpServletRequest) parameter.
response - The response (HttpServletResponse) parameter.
serverAlias - The server alias (String) parameter.
Method Detail

addEntities

public void addEntities(java.util.Dictionary map)
Add entities with the specified map parameter. The map (Dictionary) parameter.

Parameters:
map - The map (Dictionary) parameter.
See Also:
addEntities(Map), getEntities(), setEntities(Hashtable), setupEntities()

addEntities

public void addEntities(java.util.Map map)
Add entities with the specified map parameter. The map (Map) parameter.

Parameters:
map - The map (Map) parameter.
See Also:
addEntities(Dictionary), getEntities(), setEntities(Hashtable), setupEntities()

addEntity

public void addEntity(java.lang.String key,
                      java.lang.Object value)
Add entity with the specified key and value parameters. The key (String) parameter. The value (String) parameter.

Parameters:
key - The key (String) parameter.
value - The value (Object) parameter.
See Also:
getEntity(String)

addEntityBundle

public void addEntityBundle(org.osgi.framework.Bundle bundle)
Add entity bundle with the specified bundle parameter. The bundle (Bundle) parameter.

Parameters:
bundle - The bundle (Bundle) parameter.

addEntityIcon

public void addEntityIcon(java.lang.String key,
                          java.lang.String iconName)
Add entity icon with the specified key and icon name parameters. The key (String) parameter. The icon name (String) parameter.

Parameters:
key - The key (String) parameter.
iconName - The icon name (String) parameter.

addEntityServiceReference

public void addEntityServiceReference(org.osgi.framework.ServiceReference serviceReference)
Add entity service reference with the specified service reference parameter. The service reference (ServiceReference) parameter.

Parameters:
serviceReference - The service reference (ServiceReference) parameter.

begin

public void begin()
Begin.


end

public void end()
End.


filter

public boolean filter(java.lang.String url)
Filter with the specified url parameter and return the boolean result. The url (String) parameter.

Parameters:
url - The url (String) parameter.
Returns:
Results of the filter (boolean) value.
See Also:
filter(long), filter(Bundle), filter(Bundle[]), filter(ServiceReference), filter(ServiceReference[])

filter

public boolean filter(long id)
Filter with the specified id parameter and return the boolean result. The id (long) parameter.

Parameters:
id - The id (long) parameter.
Returns:
Results of the filter (boolean) value.
See Also:
filter(String), filter(Bundle), filter(Bundle[]), filter(ServiceReference), filter(ServiceReference[])

filter

public boolean filter(org.osgi.framework.Bundle bundle)
Filter with the specified bundle parameter and return the boolean result. The bundle (Bundle) parameter.

Parameters:
bundle - The bundle (Bundle) parameter.
Returns:
Results of the filter (boolean) value.
See Also:
filter(String), filter(long), filter(Bundle[]), filter(ServiceReference), filter(ServiceReference[])

filter

public org.osgi.framework.Bundle[] filter(org.osgi.framework.Bundle[] bundles)
Filter with the specified bundles parameter and return the Bundle[] result. The bundles (Bundle[]) parameter.

Parameters:
bundles - The bundles (Bundle[]) parameter.
Returns:
Results of the filter (Bundle[]) value.
See Also:
filter(String), filter(long), filter(Bundle), filter(ServiceReference), filter(ServiceReference[])

filter

public boolean filter(org.osgi.framework.ServiceReference serviceReference)
Filter with the specified service reference parameter and return the boolean result. The service reference (ServiceReference) parameter.

Parameters:
serviceReference - The service reference (ServiceReference) parameter.
Returns:
Results of the filter (boolean) value.
See Also:
filter(String), filter(long), filter(Bundle), filter(Bundle[]), filter(ServiceReference[])

filter

public org.osgi.framework.ServiceReference[] filter(org.osgi.framework.ServiceReference[] serviceReferences)
Filter with the specified service references parameter and return the ServiceReference[] result. The service references (ServiceReference[]) parameter.

Parameters:
serviceReferences - The service references (ServiceReference[]) parameter.
Returns:
Results of the filter (ServiceReference[]) value.
See Also:
filter(String), filter(long), filter(Bundle), filter(Bundle[]), filter(ServiceReference)

findBestLanguage

public int findBestLanguage(java.lang.String language,
                            java.lang.String[] languages)
Find best language with the specified language and languages parameters and return the int result. The language (String) parameter. The languages (String[]) parameter.

Parameters:
language - The language (String) parameter.
languages - The languages (String[]) parameter.
Returns:
Results of the find best language (int) value.

findIcon

public java.lang.String findIcon(java.lang.String iconName)
Find icon with the specified icon name parameter and return the String result. The icon name (String) parameter.

Parameters:
iconName - The icon name (String) parameter.
Returns:
Results of the find icon (String) value.
See Also:
addEntityIcon(String,String)

formatData

public java.lang.String formatData(java.lang.Object data)
Format data with the specified data parameter and return the String result. The data (Object) parameter.

Parameters:
data - The data (Object) parameter.
Returns:
Results of the format data (String) value.
See Also:
formatData(StringBuffer,Object)

formatData

public void formatData(java.lang.StringBuffer buffer,
                       java.lang.Object data)
Format data with the specified buffer and data parameters. The buffer (StringBuffer) parameter. The data (Object) parameter.

Parameters:
buffer - The buffer (StringBuffer) parameter.
data - The data (Object) parameter.
See Also:
formatData(Object)

formatDataShort

public java.lang.String formatDataShort(java.lang.Object data)
Format data short with the specified data parameter and return the String result. The data (Object) parameter.

Parameters:
data - The data (Object) parameter.
Returns:
Results of the format data short (String) value.

getEntities

public java.util.Hashtable getEntities()
Gets the entities (Hashtable) value.

Returns:
The entities (Hashtable) value.
See Also:
addEntities(Dictionary), addEntities(Map), setEntities(Hashtable), setupEntities()

getEntity

public java.lang.String getEntity(java.lang.String key)
Get entity with the specified key parameter and return the String result. The key (String) parameter.

Parameters:
key - The key (String) parameter.
Returns:
Results of the get entity (String) value.
See Also:
addEntity(String,Object)

getFactoryMetadata

public java.util.Hashtable getFactoryMetadata()
Gets the factory metadata (Hashtable) value.

Returns:
The factory metadata (Hashtable) value.
See Also:
setFactoryMetadata(Hashtable)

getFileExtension

public java.lang.String getFileExtension()
Gets the file extension (String) value.

Returns:
The file extension (String) value.
See Also:
setFileExtension(String)

getFileName

public java.lang.String getFileName()
Gets the file name (String) value.

Returns:
The file name (String) value.
See Also:
setFileName(String)

getFilePath

public java.lang.String getFilePath()
Gets the file path (String) value.

Returns:
The file path (String) value.
See Also:
setFilePath(String)

getFirstItem

public java.lang.String getFirstItem()
Gets the first item (String) value.

Returns:
The first item (String) value.
See Also:
setFirstItem(String)

getHostAddress

public java.lang.String getHostAddress()
Gets the host address (String) value.

Returns:
The host address (String) value.

getIcons

public java.util.Hashtable getIcons()
Gets the icons (Hashtable) value.

Returns:
The icons (Hashtable) value.
See Also:
setIcons(Hashtable)

getIdEnd

public long getIdEnd()
Gets the id end (long) value.

Returns:
The id end (long) value.
See Also:
setIdEnd(long)

getIdStart

public long getIdStart()
Gets the id start (long) value.

Returns:
The id start (long) value.
See Also:
setIdStart(long)

getInputDirectory

public java.lang.String getInputDirectory()
Gets the input directory (String) value.

Returns:
The input directory (String) value.

getLanguage

public java.lang.String getLanguage()
Gets the language (String) value.

Returns:
The language (String) value.
See Also:
findBestLanguage(String,String[]), setLanguage(String)

getPath

public java.lang.String getPath()
Gets the path (String) value.

Returns:
The path (String) value.
See Also:
getFilePath(), setFilePath(String), setPath(String)

getPidMetadata

public java.util.Hashtable getPidMetadata()
Gets the pid metadata (Hashtable) value.

Returns:
The pid metadata (Hashtable) value.
See Also:
setPidMetadata(Hashtable)

getRequest

public javax.servlet.http.HttpServletRequest getRequest()
Gets the request (HttpServletRequest) value.

Returns:
The request (HttpServletRequest) value.
See Also:
setRequest(HttpServletRequest), setupRequest(HttpServletRequest)

getResourceLocations

public java.util.Hashtable getResourceLocations()
Gets the resource locations (Hashtable) value.

Returns:
The resource locations (Hashtable) value.
See Also:
setResourceLocations(Hashtable)

getResponse

public javax.servlet.http.HttpServletResponse getResponse()
Gets the response (HttpServletResponse) value.

Returns:
The response (HttpServletResponse) value.
See Also:
setResponse(HttpServletResponse), setupResponse(HttpServletResponse)

getServerAlias

public java.lang.String getServerAlias()
Gets the server alias (String) value.

Returns:
The server alias (String) value.
See Also:
setServerAlias(String)

getShort

public java.lang.String getShort(java.lang.Object data)
Get short with the specified data parameter and return the String result. The data (Object) parameter.

Parameters:
data - The data (Object) parameter.
Returns:
Results of the get short (String) value.
See Also:
formatDataShort(Object)

getVersion

public java.lang.String getVersion()
Gets the version (String) value.

Returns:
The version (String) value.

getWriter

public java.io.PrintWriter getWriter()
Gets the writer (PrintWriter) value.

Returns:
The writer (PrintWriter) value.
See Also:
setWriter(PrintWriter)

isFilterId

public boolean isFilterId()
Gets the filter id (boolean) value.

Returns:
The filter id (boolean) value.
See Also:
setFilterId(boolean)

niceIconNane

public java.lang.String niceIconNane(java.lang.String name)
Nice icon nane with the specified name parameter and return the String result. The name (String) parameter.

Parameters:
name - The name (String) parameter.
Returns:
Results of the nice icon nane (String) value.

print

public void print(java.lang.String data)
Print with the specified data parameter. The data (String) parameter.

Parameters:
data - The data (String) parameter.
See Also:
print(int)

print

public void print(int data)
Print with the specified data parameter. The data (int) parameter.

Parameters:
data - The data (int) parameter.
See Also:
print(String)

println

public void println(java.lang.String data)
Println with the specified data parameter. The data (String) parameter.

Parameters:
data - The data (String) parameter.

respondWith

public boolean respondWith(java.net.URL url)
Respond with with the specified url parameter and return the boolean result. The url (URL) parameter.

Parameters:
url - The url (URL) parameter.
Returns:
Results of the respond with (boolean) value.

setEntities

public void setEntities(java.util.Hashtable entities)
Sets the entities value. The entities (Hashtable) parameter.

Parameters:
entities - The entities (Hashtable) parameter.
See Also:
addEntities(Dictionary), addEntities(Map), getEntities(), setupEntities()

setFactoryMetadata

public void setFactoryMetadata(java.util.Hashtable factoryMetadata)
Sets the factory metadata value. The factory metadata (Hashtable) parameter.

Parameters:
factoryMetadata - The factory metadata (Hashtable) parameter.
See Also:
getFactoryMetadata()

setFileExtension

public void setFileExtension(java.lang.String fileExtension)
Sets the file extension value. The file extension (String) parameter.

Parameters:
fileExtension - The file extension (String) parameter.
See Also:
getFileExtension()

setFileName

public void setFileName(java.lang.String fileName)
Sets the file name value. The file name (String) parameter.

Parameters:
fileName - The file name (String) parameter.
See Also:
getFileName()

setFilePath

public void setFilePath(java.lang.String filePath)
Sets the file path value. The file path (String) parameter.

Parameters:
filePath - The file path (String) parameter.
See Also:
getFilePath()

setFilterId

public void setFilterId(boolean filterId)
Sets the filter id value. The filter id (boolean) parameter.

Parameters:
filterId - The filter id (boolean) parameter.
See Also:
isFilterId()

setFirstItem

public void setFirstItem(java.lang.String firstItem)
Sets the first item value. The first item (String) parameter.

Parameters:
firstItem - The first item (String) parameter.
See Also:
getFirstItem()

setIcons

public void setIcons(java.util.Hashtable icons)
Sets the icons value. The icons (Hashtable) parameter.

Parameters:
icons - The icons (Hashtable) parameter.
See Also:
getIcons()

setIdEnd

public void setIdEnd(long idEnd)
Sets the id end value. The id end (long) parameter.

Parameters:
idEnd - The id end (long) parameter.
See Also:
getIdEnd()

setIdStart

public void setIdStart(long idStart)
Sets the id start value. The id start (long) parameter.

Parameters:
idStart - The id start (long) parameter.
See Also:
getIdStart()

setLanguage

public void setLanguage(java.lang.String lanuguage)
Sets the language value. The lanuguage (String) parameter.

Parameters:
lanuguage - The lanuguage (String) parameter.
See Also:
findBestLanguage(String,String[]), getLanguage()

setPath

public void setPath(java.lang.String path)
Sets the path value. The path (String) parameter. The path (String) parameter.

Parameters:
path - The path (String) parameter.
See Also:
getFilePath(), getPath(), setFilePath(String)

setPidMetadata

public void setPidMetadata(java.util.Hashtable pidMetadata)
Sets the pid metadata value. The pid metadata (Hashtable) parameter.

Parameters:
pidMetadata - The pid metadata (Hashtable) parameter.
See Also:
getPidMetadata()

setRequest

public void setRequest(javax.servlet.http.HttpServletRequest request)
Sets the request value. The request (HttpServletRequest) parameter.

Parameters:
request - The request (HttpServletRequest) parameter.
See Also:
getRequest(), setupRequest(HttpServletRequest)

setResourceLocations

public void setResourceLocations(java.util.Hashtable resourceLocations)
Sets the resource locations value. The resource locations (Hashtable) parameter.

Parameters:
resourceLocations - The resource locations (Hashtable) parameter.
See Also:
getResourceLocations()

setResponse

public void setResponse(javax.servlet.http.HttpServletResponse response)
Sets the response value. The response (HttpServletResponse) parameter.

Parameters:
response - The response (HttpServletResponse) parameter.
See Also:
getResponse(), setupResponse(HttpServletResponse)

setServerAlias

public void setServerAlias(java.lang.String serverAlias)
Sets the server alias value. The server alias (String) parameter.

Parameters:
serverAlias - The server alias (String) parameter.
See Also:
getServerAlias()

setWriter

public void setWriter(java.io.PrintWriter writer)
Sets the writer value. The writer (PrintWriter) parameter.

Parameters:
writer - The writer (PrintWriter) parameter.
See Also:
getWriter()

setupEntities

public void setupEntities()
Setup entities.

See Also:
addEntities(Dictionary), addEntities(Map), getEntities(), setEntities(Hashtable)

setupRequest

public void setupRequest(javax.servlet.http.HttpServletRequest request)
Sets the up request value. The request (HttpServletRequest) parameter.

Parameters:
request - The request (HttpServletRequest) parameter.
See Also:
getRequest(), setRequest(HttpServletRequest)

setupResponse

public void setupResponse(javax.servlet.http.HttpServletResponse response)
Sets the up response value. The response (HttpServletResponse) parameter.

Parameters:
response - The response (HttpServletResponse) parameter.
See Also:
getResponse(), setResponse(HttpServletResponse)

sort

public void sort(java.lang.String[] strings)
Sort with the specified strings parameter. The strings (String[]) parameter.

Parameters:
strings - The strings (String[]) parameter.
See Also:
sort(ServiceReference[]), sort(Bundle[])

sort

public void sort(org.osgi.framework.ServiceReference[] serviceReferences)
Sort with the specified service references parameter. The service references (ServiceReference[]) parameter.

Parameters:
serviceReferences - The service references (ServiceReference[]) parameter.
See Also:
sort(String[]), sort(Bundle[])

sort

public void sort(org.osgi.framework.Bundle[] bundles)
Sort with the specified bundles parameter. The bundles (Bundle[]) parameter.

Parameters:
bundles - The bundles (Bundle[]) parameter.
See Also:
sort(String[]), sort(ServiceReference[])

template

public void template(java.lang.String name)
Template class with the specified name parameter. The name (String) parameter. The writer (PrintWriter) parameter.

Parameters:
name - The name (String) parameter.

templateInputStream

public java.io.InputStream templateInputStream(java.lang.String name)
Template input stream with the specified name parameter and return the InputStream result. The name (String) parameter.

Parameters:
name - The name (String) parameter.
Returns:
Results of the template input stream (InputStream) value.

1.0.0

Copyright (c) 1999, 2007 IBM