|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnbi.xmlsec.biocase.protocol.ProtocolType
nbi.xmlsec.biocase.protocol.Operator
nbi.xmlsec.biocase.protocol.COP
This class wraps the BioCASE protocol operators COP.
| Field Summary | |
(package private) static Logger |
logger
|
protected String |
path
Path attribute of COPs |
protected List |
values
COP values |
| Fields inherited from class nbi.xmlsec.biocase.protocol.Operator |
type |
| Fields inherited from class nbi.xmlsec.biocase.protocol.ProtocolType |
protocolURI |
| Constructor Summary | |
COP(String protocolURI,
String type)
Inits this instance. |
|
| Method Summary | |
void |
addValue(String value)
Appends the specified value to the values list. |
String |
getPath()
Gets the path |
String |
getValue()
Gets the value at the first position. |
String |
getValue(int index)
Gets the value at the specified position |
List |
getValues()
Gets the values |
void |
removeValue(String value)
Removes the specified value from the values list. |
void |
setPath(String path)
Sets path |
void |
setValue(String value)
Sets the value at the first position. |
void |
setValues(List values)
Sets values |
String |
toString()
|
void |
write(ContentHandler out)
Writes the COP to a SAX Stream. |
| Methods inherited from class nbi.xmlsec.biocase.protocol.Operator |
getType, setType |
| 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 |
static Logger logger
protected String path
protected List values
| Constructor Detail |
public COP(String protocolURI,
String type)
protocolURI - The protocol version of this instance.| Method Detail |
public void write(ContentHandler out)
throws SAXException
write in class Operatorout - ContentHandlerto write to.
SAXExceptionpublic void setPath(String path)
path - The path to set.public String getPath()
public String toString()
toString in class Operatorpublic List getValues()
public String getValue(int index)
index - index of the value to return
public String getValue()
public void setValues(List values)
values - The values to set.public void setValue(String value)
value - value at the index 0, or null.public void addValue(String value)
value - value to be appended.
public void removeValue(String value)
value - value to be removed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||