|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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)
|
java.util.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 |
public void addCapability(WsResourceCapability capability)
capability
- public WsResourceCapability getCapability(QName qname)
qname
- The name of the resource property whose capability is being queried.
public java.util.Collection getPropertyNames()
public ResourcePropertiesSchema getSchema()
public boolean hasPropertyDefinition(QName qname)
qname
- The name of a resource property to search the schema for.
public void setSchema(ResourcePropertiesSchema schema)
schema
- The XSD properties definition for this WS-RP document.validateSchema()
public void validateSchema() throws BaseFault
BaseFault
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |