|
||||||||||
| 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.ContentObject
nbi.xmlsec.biocase.protocol.Capabilities
This class wraps the BioCASE protocol content object of type Capabilities.
| Field Summary | |
(package private) Vector |
supportedSchemas
Vector of supported schemas |
| Fields inherited from class nbi.xmlsec.biocase.protocol.ContentObject |
logger |
| Fields inherited from class nbi.xmlsec.biocase.protocol.ProtocolType |
protocolURI |
| Constructor Summary | |
Capabilities(String protocolURI)
Inits this instance. |
|
| Method Summary | |
boolean |
addSupportedSchema(SupportedSchema schema)
Appends the specified schema to the schema vector. |
SupportedSchema |
getSupportedSchema(int index)
Gets the supported schema at the specified position |
Vector |
getSupportedSchemas()
Gets the supportedSchemas |
boolean |
removeSupportedSchema(SupportedSchema schema)
Removes the specified supported schema from the schema vector. |
void |
setSupportedSchemas(Vector supportedSchemas)
Sets supportedSchemas |
String |
toString()
|
void |
write(ContentHandler out)
Writes the capabilities content object 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 |
Vector supportedSchemas
| Constructor Detail |
public Capabilities(String protocolURI)
protocolURI - The protocol version of this instance.| Method Detail |
public void write(ContentHandler out)
throws SAXException
write in class ContentObjectout - ContentHandlerto write to.
SAXExceptionpublic SupportedSchema getSupportedSchema(int index)
index - index of the schema to return
public boolean addSupportedSchema(SupportedSchema schema)
schema - schema to be appended.
public boolean removeSupportedSchema(SupportedSchema schema)
schema - supported schema to be removed.
public String toString()
public Vector getSupportedSchemas()
public void setSupportedSchemas(Vector supportedSchemas)
supportedSchemas - The supportedSchemas to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||