2009-01-09 1.2.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, DeviceNslogServletContext, DevicePropertyServletContext, DeviceServiceServletContext

public class DeviceServletContext
extends java.lang.Object

Version:
1.2.0

Field Summary
 java.util.Map contentTypes
          Define the content types (Map) 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.
protected  java.lang.String simpleFilePath
          Define the simple file path (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 from the specified request, response and server alias parameters.
 
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.
 org.osgi.framework.BundleContext getBundleContext()
          Gets the bundle context value.
 java.lang.String getBundleDescription()
          Gets the bundle description (String) value.
 java.lang.String getBundleName()
          Gets the bundle name (String) value.
 java.lang.String getBundleSymbolicName()
          Gets the bundle symbolic name (String) value.
 java.lang.String getCopyright()
          Gets the copyright (String) value.
 java.util.Map getEntities()
          Gets the entities (Map) 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.Map getIcons()
          Gets the icons (Map) 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.
 java.lang.String getProvider()
          Gets the provider (String) value.
 javax.servlet.http.HttpServletRequest getRequest()
          Gets the request (HttpServletRequest) value.
 java.util.Map getResourceLocations()
          Gets the resource locations (Map) 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 getSimpleFilePath()
          Gets the simple file path (String) value.
 java.lang.Object getTitle()
          Gets the title (Object) value.
 java.lang.Object getVendor()
          Gets the vendor (Object) value.
 java.lang.Object getVendors()
          Gets the vendors (Object) value.
 java.lang.String getVersion()
          Gets the version (String) value.
 java.io.PrintWriter getWriter()
          Gets the writer (PrintWriter) value.
 java.lang.String getYear()
          Gets the year (String) value.
 java.lang.String getYears()
          Gets the years (String) value.
 boolean isFilterId()
          Gets the filter id (boolean) value.
 java.lang.String niceIconName(java.lang.String name)
           
 java.lang.String niceIconNane(java.lang.String name)
          Deprecated. use niceIconName(String)
 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 setBundleContext(org.osgi.framework.BundleContext bundleContext)
          Sets the bundle context value.
 void setEntities(java.util.Hashtable entities)
          Sets the entities value.
 void setFactoryMetadata(java.util.Hashtable factoryMetadata)
          Sets the factory meta data 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 language)
          Sets the language value.
 void setPath(java.lang.String path)
          Sets the path value.
 void setPidMetadata(java.util.Hashtable pidMetadata)
          Sets the PID meta data 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 setSimpleFilePath(java.lang.String simpleFilePath)
          Sets the simple file path 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 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.Map contentTypes
Define the content types (Map) 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.


simpleFilePath

protected java.lang.String simpleFilePath
Define the simple 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 from the specified request, response and server alias parameters.

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.

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.

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.

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.

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.

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.

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

begin

public void begin()
Begin.


end

public void end()
End.


filter

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

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

filter

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

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

filter

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

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

filter

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

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

filter

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

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

filter

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

Parameters:
url - The URL (String) parameter.
Returns:
Results of the filter (boolean) value.
See Also:
filter(Bundle), filter(Bundle[]), filter(long), filter(ServiceReference), 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.

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.

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.

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.

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.

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

getBundleContext

public org.osgi.framework.BundleContext getBundleContext()
Gets the bundle context value.

Returns:
The bundle context (BundleContext) value.
See Also:
setBundleContext(BundleContext)

getBundleDescription

public java.lang.String getBundleDescription()
Gets the bundle description (String) value.

Returns:
The bundle description (String) value.

getBundleName

public java.lang.String getBundleName()
Gets the bundle name (String) value.

Returns:
The bundle name (String) value.

getBundleSymbolicName

public java.lang.String getBundleSymbolicName()
Gets the bundle symbolic name (String) value.

Returns:
The bundle symbolic name (String) value.

getCopyright

public java.lang.String getCopyright()
Gets the copyright (String) value.

Returns:
The copyright (String) value.

getEntities

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

Returns:
The entities (Map) 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.

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:
getSimpleFilePath(), setFilePath(String), setSimpleFilePath(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.Map getIcons()
Gets the icons (Map) 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(), getSimpleFilePath(), setFilePath(String), setPath(String), setSimpleFilePath(String)

getPidMetadata

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

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

getProvider

public java.lang.String getProvider()
Gets the provider (String) value.

Returns:
The provider (String) value.

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.Map getResourceLocations()
Gets the resource locations (Map) value.

Returns:
The resource locations (Map) 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.

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

getSimpleFilePath

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

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

getTitle

public java.lang.Object getTitle()
Gets the title (Object) value.

Returns:
The title (Object) value.

getVendor

public java.lang.Object getVendor()
Gets the vendor (Object) value.

Returns:
The vendor (Object) value.

getVendors

public java.lang.Object getVendors()
Gets the vendors (Object) value.

Returns:
The vendors (Object) value.

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)

getYear

public java.lang.String getYear()
Gets the year (String) value.

Returns:
The year (String) value.

getYears

public java.lang.String getYears()
Gets the years (String) value.

Returns:
The years (String) value.

isFilterId

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

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

niceIconName

public java.lang.String niceIconName(java.lang.String name)
Parameters:
name - The name (String) parameter.
Returns:
Results of the nice icon name (String) value.
Since:
@since 1.2, @since 1.2

niceIconNane

public java.lang.String niceIconNane(java.lang.String name)
Deprecated. use niceIconName(String)

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

print

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

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

print

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

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

println

public void println(java.lang.String data)
Println with the specified data 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.

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

setBundleContext

public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
Sets the bundle context value.

Parameters:
bundleContext - The bundle context (BundleContext) parameter.
See Also:
getBundleContext()

setEntities

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

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 meta data value.

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

setFileExtension

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

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

setFileName

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

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

setFilePath

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

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

setFilterId

public void setFilterId(boolean filterId)
Sets the filter ID value.

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

setFirstItem

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

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

setIcons

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

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

setIdEnd

public void setIdEnd(long idEnd)
Sets the ID end value.

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

setIdStart

public void setIdStart(long idStart)
Sets the ID start value.

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

setLanguage

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

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

setPath

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

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

setPidMetadata

public void setPidMetadata(java.util.Hashtable pidMetadata)
Sets the PID meta data value.

Parameters:
pidMetadata - The PID meta data (Hashtable) parameter.
See Also:
getPidMetadata()

setRequest

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

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

setResourceLocations

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

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

setResponse

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

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

setServerAlias

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

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

setSimpleFilePath

public void setSimpleFilePath(java.lang.String simpleFilePath)
Sets the simple file path value.

Parameters:
simpleFilePath - The simple file path (String) parameter.
See Also:
getSimpleFilePath()

setWriter

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

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.

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.

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

sort

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

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

sort

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

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

sort

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

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

template

public void template(java.lang.String name)
Template with the specified name 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.

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

2009-01-09 1.2.0

Copyright (c) 2009 IBM. See license in Legal section.