|
||||||||||
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.Diagnostic
This class wraps the BioCASE protocol element Diagnostic.
Field Summary | |
private String |
code
Diagnostic code |
(package private) static Logger |
logger
|
private String |
severity
Diagnostic severity |
static String |
SEVERITY_DEBUG
Prefefined severity value debug |
static String |
SEVERITY_ERROR
Prefefined severity value error |
static String |
SEVERITY_FATAL
Prefefined severity value fatal |
static String |
SEVERITY_INFO
Prefefined severity value info |
static String |
SEVERITY_WARN
Prefefined severity value warn |
private String |
value
Diagnostic value |
Fields inherited from class nbi.xmlsec.biocase.protocol.ProtocolType |
protocolURI |
Constructor Summary | |
Diagnostic(String protocolURI)
Inits this instance. |
|
Diagnostic(String protocolURI,
String code,
String severity,
String value)
Inits this instance. |
Method Summary | |
String |
getCode()
Gets the code. |
String |
getSeverity()
Gets the severity. |
String |
getValue()
Gets the value. |
void |
setCode(String code)
Sets the code. |
void |
setSeverity(String severity)
Sets the severity. |
void |
setValue(String value)
Sets the value. |
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 |
static Logger logger
public static final String SEVERITY_DEBUG
debug
public static final String SEVERITY_INFO
info
public static final String SEVERITY_WARN
warn
public static final String SEVERITY_ERROR
error
public static final String SEVERITY_FATAL
fatal
private String value
private String code
private String severity
Constructor Detail |
public Diagnostic(String protocolURI)
protocolURI
- The protocol version of this instance.public Diagnostic(String protocolURI, String code, String severity, String value)
protocolURI
- The protocol version of this instance.code
- The code attribute of this diagnostic.severity
- The severityattribute of this diagnostic.value
- The value of this diagnostic.Method Detail |
public void write(ContentHandler out) throws SAXException
out
- ContentHandler
to write to.
SAXException
public String toString()
public String getCode()
public void setCode(String code)
code
- code to set.public String getSeverity()
public void setSeverity(String severity)
severity
- severity to set.public String getValue()
public void setValue(String value)
value
- value to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |