|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourcePropertiesSchemaValidation
ResourcePropertiesSchemaValidation is a set of methods for WSRP implementations that provide schema validation and a capability delegation model.
Method Summary | |
---|---|
void |
addCapability(WsResourceCapability capability)
Registers the capability with the schema so that users of the schema can determine which capability is responsible for which resource properties. |
WsResourceCapability |
getCapability(QName qname)
|
Collection |
getPropertyNames()
|
ResourcePropertiesSchema |
getSchema()
|
boolean |
hasPropertyDefinition(QName qname)
|
void |
setSchema(ResourcePropertiesSchema schema)
Applies the given XMLSchema definitions to this WS-RP document. |
void |
validateSchema()
Iterates through every property in the WS-RP document's XMLSchema and verifies current document is valid. |
Method Detail |
---|
void addCapability(WsResourceCapability capability)
capability
- WsResourceCapability getCapability(QName qname)
qname
- The name of the resource property whose capability is being queried.
Collection getPropertyNames()
ResourcePropertiesSchema getSchema()
boolean hasPropertyDefinition(QName qname)
qname
- The name of a resource property to search the schema for.
void setSchema(ResourcePropertiesSchema schema)
schema
- The XSD properties definition for this WS-RP document.validateSchema()
void validateSchema() throws BaseFault
BaseFault
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |