|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nbi.xmlsec.biocase.protocol.ProtocolType nbi.xmlsec.biocase.protocol.Diagnostics
This class wraps the BioCASE protocol element Diagnostic.
Field Summary | |
(package private) Vector |
diagnostics
Diagnostic vector |
(package private) static Logger |
logger
|
Fields inherited from class nbi.xmlsec.biocase.protocol.ProtocolType |
protocolURI |
Constructor Summary | |
Diagnostics(String protocolURI)
Inits this instance. |
Method Summary | |
void |
addDiagnostic(Diagnostic diagnostic)
Appends the specified diagnostic to the diagnostics vector. |
void |
addDiagnostics(Diagnostics diagnostics)
Appends the specified diagnostics to the diagnostics vector. |
Diagnostic |
getDiagnostic(int index)
Gets the diagnostic at the specified position |
Vector |
getDiagnostics()
Gets the diagnostics |
boolean |
removeDiagnostic(Diagnostic diagnostic)
Removes the specified supported schema from the schema vector. |
void |
setDiagnostics(Vector diagnostics)
Sets diagnostics |
String |
toString()
|
void |
write(ContentHandler out)
Writes the diagnostics 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 |
static Logger logger
Vector diagnostics
Constructor Detail |
public Diagnostics(String protocolURI)
protocolURI
- The protocol version of this instance.Method Detail |
public void write(ContentHandler out) throws SAXException
out
- ContentHandler
to write to.
SAXException
public String toString()
public void addDiagnostic(Diagnostic diagnostic)
diagnostic
- diagnostic to be appended.
public void addDiagnostics(Diagnostics diagnostics)
diagnostics
- diagnostics to be appended.
public boolean removeDiagnostic(Diagnostic diagnostic)
diagnostic
- diagnostic to be removed.
public Diagnostic getDiagnostic(int index)
index
- index of the diagnostic to return
public Vector getDiagnostics()
public void setDiagnostics(Vector diagnostics)
diagnostics
- The diagnostics to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |