nbi.xmlsec.biocase.protocol
Class Response

java.lang.Object
  extended bynbi.xmlsec.biocase.protocol.ProtocolType
      extended bynbi.xmlsec.biocase.protocol.Response

public class Response
extends ProtocolType

This class wraps the BioCASE protocol element Response.

Since:
Version:
$Revision: 1.5 $
Author:
Lutz Suhrbier

Field Summary
(package private)  Content content
          Response Content
(package private)  Diagnostics diagnostics
          Response Diagnostics
(package private)  Header header
          Response Header
(package private) static Logger logger
           
 
Fields inherited from class nbi.xmlsec.biocase.protocol.ProtocolType
protocolURI
 
Constructor Summary
Response(String protocolURI)
          Inits this instance.
 
Method Summary
 Content getContent()
          Gets the content
 Diagnostics getDiagnostics()
          Gets the diagnostics
 Header getHeader()
          Gets the header
 void setContent(Content content)
          Sets content
 void setDiagnostics(Diagnostics diagnostics)
          Sets diagnostics
 void setHeader(Header header)
          Sets header
 String toString()
           
 void write(ContentHandler out)
          Writes the response to a SAX Stream.
 
Methods inherited from class nbi.xmlsec.biocase.protocol.ProtocolType
getProtocolURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

static Logger logger

header

Header header
Response Header


content

Content content
Response Content


diagnostics

Diagnostics diagnostics
Response Diagnostics

Constructor Detail

Response

public Response(String protocolURI)
Inits this instance.

Parameters:
protocolURI - The protocol version of this instance.
Method Detail

write

public void write(ContentHandler out)
           throws SAXException
Writes the response to a SAX Stream.

Parameters:
out - ContentHandlerto write to.
Throws:
SAXException

toString

public String toString()

getContent

public Content getContent()
Gets the content

Returns:
Returns the content.

setContent

public void setContent(Content content)
Sets content

Parameters:
content - The content to set.

getDiagnostics

public Diagnostics getDiagnostics()
Gets the diagnostics

Returns:
Returns the diagnostics.

setDiagnostics

public void setDiagnostics(Diagnostics diagnostics)
Sets diagnostics

Parameters:
diagnostics - The diagnostics to set.

getHeader

public Header getHeader()
Gets the header

Returns:
Returns the header.

setHeader

public void setHeader(Header header)
Sets header

Parameters:
header - The header to set.


Copyright © 2006 Lutz Suhrbier, Freie Universitšt Berlin. All Rights Reserved.