nbi.xmlsec.biocase.protocol
Class OperationType

java.lang.Object
  extended bynbi.xmlsec.biocase.protocol.ProtocolType
      extended bynbi.xmlsec.biocase.protocol.OperationType
Direct Known Subclasses:
ScanOperationType, SearchOperationType

public abstract class OperationType
extends ProtocolType

Abstract base class of the BioCASE protocol treeElements scan and search operation type.

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

Field Summary
(package private) static Logger logger
           
protected  String requestFormat
          Attribute requestFormat used for all operation types
 
Fields inherited from class nbi.xmlsec.biocase.protocol.ProtocolType
protocolURI
 
Constructor Summary
OperationType(String protocolURI)
          Inits this instance.
 
Method Summary
 String getRequestFormat()
          Gets the request format.
 void setRequestFormat(String requestFormat)
          Sets the request format.
 String toString()
           
abstract  void write(ContentHandler out)
          Writes the Operation type 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

requestFormat

protected String requestFormat
Attribute requestFormat used for all operation types

Constructor Detail

OperationType

public OperationType(String protocolURI)
Inits this instance.

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

write

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

Parameters:
out - ContentHandlerto write to.
Throws:
SAXException

toString

public String toString()

getRequestFormat

public String getRequestFormat()
Gets the request format.

Returns:
The requestFormat.

setRequestFormat

public void setRequestFormat(String requestFormat)
Sets the request format.

Parameters:
requestFormat - The requestFormat to set.


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