public interface PropertySource
| Modifier and Type | Interface and Description |
|---|---|
static class |
PropertySource.PropertyAccessibility |
static class |
PropertySource.PropertyMetaData |
static class |
PropertySource.PropertySetException
Exception from setting a field
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearProperty(QName name,
Resource r)
Remove the given property.
|
List<QName> |
getAllPropertyNames(Resource r) |
Object |
getProperty(QName name,
Resource r)
Return the typed value of the given property.
|
PropertySource.PropertyMetaData |
getPropertyMetaData(QName name,
Resource r)
Check to see if the property is known, and if it is writable.
|
void |
setProperty(QName name,
Object value,
Resource r)
Update the given property to the value given.
|
Object getProperty(QName name, Resource r) throws io.milton.http.exceptions.NotAuthorizedException
name - r - io.milton.http.exceptions.NotAuthorizedExceptionvoid setProperty(QName name, Object value, Resource r) throws PropertySource.PropertySetException, io.milton.http.exceptions.NotAuthorizedException
name - value - r - com.bradmcevoy.property.PropertySource.PropertySetExceptionio.milton.http.exceptions.NotAuthorizedExceptionPropertySource.PropertySetExceptionPropertySource.PropertyMetaData getPropertyMetaData(QName name, Resource r) throws io.milton.http.exceptions.NotAuthorizedException, io.milton.http.exceptions.BadRequestException
name - - the qualified name of the propertyr - - the resource which might contain the propertyio.milton.http.exceptions.NotAuthorizedExceptionio.milton.http.exceptions.BadRequestExceptionvoid clearProperty(QName name, Resource r) throws PropertySource.PropertySetException, io.milton.http.exceptions.NotAuthorizedException
name - r - PropertySource.PropertySetExceptionio.milton.http.exceptions.NotAuthorizedExceptionList<QName> getAllPropertyNames(Resource r) throws io.milton.http.exceptions.NotAuthorizedException, io.milton.http.exceptions.BadRequestException
r - - the resource which may contain propertiesio.milton.http.exceptions.NotAuthorizedExceptionio.milton.http.exceptions.BadRequestException