com.bradmcevoy.http
Interface CustomPropertyResource

All Superinterfaces:
PropFindableResource, Resource

public interface CustomPropertyResource
extends PropFindableResource

Extension to PropFindableResource which allows custom properties to be returned. See MultiNamespaceCustomPropertySource to support multiple namespaces

Author:
brad

Method Summary
 java.util.Set<java.lang.String> getAllPropertyNames()
           
 java.lang.String getNameSpaceURI()
          Returns a URI used as a namespace for these properties.
 CustomProperty getProperty(java.lang.String name)
          Return an accessor for the given property if it is supported or known.
 
Methods inherited from interface com.bradmcevoy.http.PropFindableResource
getCreateDate
 
Methods inherited from interface com.bradmcevoy.http.Resource
authenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueId
 

Method Detail

getAllPropertyNames

java.util.Set<java.lang.String> getAllPropertyNames()
Returns:
- a list of all the properties of this namespace which exist on this resource

getProperty

CustomProperty getProperty(java.lang.String name)
Return an accessor for the given property if it is supported or known. Note that this includes cases where the value of the property is null

Parameters:
name -
Returns:
- null if the property is unknown or not supported. Otherwise an accessor to the property

getNameSpaceURI

java.lang.String getNameSpaceURI()
Returns a URI used as a namespace for these properties.

Returns:


Copyright © 2011. All Rights Reserved.