nbi.xmlsec.biocase.protocol
Class Operator

java.lang.Object
  extended bynbi.xmlsec.biocase.protocol.ProtocolType
      extended bynbi.xmlsec.biocase.protocol.Operator
Direct Known Subclasses:
COP, LOP

public abstract class Operator
extends ProtocolType

Abstract base class for the BioCASE protocol treeElements operator(filter) type.

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

Field Summary
(package private)  String type
          operator type
 
Fields inherited from class nbi.xmlsec.biocase.protocol.ProtocolType
protocolURI
 
Constructor Summary
Operator(String protocolURI, String type)
          Inits this instance.
 
Method Summary
 String getType()
          Gets the type
 void setType(String type)
          Sets type
 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

type

String type
operator type

Constructor Detail

Operator

public Operator(String protocolURI,
                String type)
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()

getType

public String getType()
Gets the type

Returns:
Returns the type.

setType

public void setType(String type)
Sets type

Parameters:
type - The type to set.


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