|
||||||||||
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.SupportedSchema
This class wraps the SupportedSchma subelement of the BioCASE protocol content object of type Capabilities.
Field Summary | |
private Vector |
concepts
Vector of concepts |
static String |
LN_ROOT
Local name of the root element SupportedSchemas |
static String |
LN_SUPPORTEDSCHEMA_NAMESPACE
Local name of the attribute namespace of the root element
SupportedSchemas |
static String |
LN_SUPPORTEDSCHEMA_REQUEST
Local name of the attribute request of the root element
SupportedSchemas |
static String |
LN_SUPPORTEDSCHEMA_RESPONSE
Local name of the attribute responses of the root element
SupportedSchemas |
(package private) static Logger |
logger
|
private String |
namespace
The attribute namespace of this element |
private Boolean |
request
The attribute request of this element |
private Boolean |
response
The attribute response of this element |
Fields inherited from class nbi.xmlsec.biocase.protocol.ProtocolType |
protocolURI |
Constructor Summary | |
SupportedSchema(String protocolURI)
Inits this instance. |
Method Summary | |
boolean |
addConcept(String concept)
Appends the specified concept to the concept vector. |
String |
getConcept(int index)
Gets the concept at the specified position |
Vector |
getConcepts()
Gets the concepts |
String |
getNamespace()
Gets the namespace |
Boolean |
getRequest()
Gets the request |
Boolean |
getResponse()
Gets the response |
boolean |
removeConcept(String concept)
Removes the specified concept from the concept vector. |
void |
setConcepts(Vector concepts)
Sets concepts |
void |
setNamespace(String namespace)
Sets namespace |
void |
setRequest(Boolean request)
Sets request |
void |
setResponse(Boolean response)
Sets response |
String |
toString()
|
void |
write(ContentHandler out)
Writes the supported schema 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 LN_ROOT
SupportedSchemas
public static final String LN_SUPPORTEDSCHEMA_NAMESPACE
namespace
of the root element
SupportedSchemas
public static final String LN_SUPPORTEDSCHEMA_REQUEST
request
of the root element
SupportedSchemas
public static final String LN_SUPPORTEDSCHEMA_RESPONSE
responses
of the root element
SupportedSchemas
private Vector concepts
private String namespace
namespace
of this element
private Boolean request
request
of this element
private Boolean response
response
of this element
Constructor Detail |
public SupportedSchema(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 String getConcept(int index)
index
- index of the concept to return
public boolean addConcept(String concept)
concept
- concept to be appended.
public boolean removeConcept(String concept)
concept
- concept to be removed.
public Vector getConcepts()
public void setConcepts(Vector concepts)
concepts
- The concepts to set.public String getNamespace()
public void setNamespace(String namespace)
namespace
- The namespace to set.public Boolean getRequest()
public void setRequest(Boolean request)
request
- The request to set.public Boolean getResponse()
public void setResponse(Boolean response)
response
- The response to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |