net.sourceforge.apphere
Interface AppHereSession

All Known Implementing Classes:
Session, WebSession

public interface AppHereSession

Author:
Dewi Roberts Chimera - Institute for Socio-Technical Innovation and Research University of Essex

Method Summary
 VirtualApplication createApp()
           
 byte[] getContent()
          Returns the content.
 java.lang.String getLocation()
          Returns the location.
 java.lang.String getMetadata()
          Returns the metadata.
 java.lang.String getName()
          Returns the name.
 int getSessID()
          Returns the id.
 java.lang.String getSessType()
          Returns the type.
 void mergeSessions(Session newVals)
           
 java.lang.String readMetadataAttribute(java.lang.String name)
           
 org.xml.sax.Attributes readMetadataAttributes()
           
 void setContent(byte[] content)
          Sets the content.
 void setLocation(java.lang.String location)
          Used for merging form vals submitted to webservice with the existing session which contains the web page html Other types session can do their own thing
 void setMetadata(java.lang.String metadata)
          Sets the metadata.
 void setName(java.lang.String name)
          Sets the name.
 void setSessID(int id)
          Sets the id.
 void setSessType(java.lang.String type)
          Sets the type.
 

Method Detail

mergeSessions

public void mergeSessions(Session newVals)

createApp

public VirtualApplication createApp()

getContent

public byte[] getContent()
Returns the content.

Returns:
Serializable

setLocation

public void setLocation(java.lang.String location)
                 throws AppHereException
Used for merging form vals submitted to webservice with the existing session which contains the web page html Other types session can do their own thing

Throws:
AppHereException

getLocation

public java.lang.String getLocation()
Returns the location.

Returns:
InetAddress

getName

public java.lang.String getName()
Returns the name.

Returns:
String

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - The name to set

setContent

public void setContent(byte[] content)
Sets the content.

Parameters:
content - The content to set

getSessType

public java.lang.String getSessType()
Returns the type.

Returns:
String

setSessType

public void setSessType(java.lang.String type)
Sets the type.

Parameters:
type - The type to set

getMetadata

public java.lang.String getMetadata()
Returns the metadata.

Returns:
Element

setMetadata

public void setMetadata(java.lang.String metadata)
Sets the metadata.

Parameters:
metadata - The metadata to set

getSessID

public int getSessID()
Returns the id.

Returns:
int

setSessID

public void setSessID(int id)
Sets the id.

Parameters:
id - The id to set

readMetadataAttribute

public java.lang.String readMetadataAttribute(java.lang.String name)

readMetadataAttributes

public org.xml.sax.Attributes readMetadataAttributes()
                                              throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException