|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wvcm.store.webdav.response.ResourceProxyFactory
public class ResourceProxyFactory
Creates resource proxies out of XML DAV:multistatus response elements.
Constructor Summary | |
---|---|
ResourceProxyFactory(Resource requestResource,
Provider provider,
PropertyNameList wantedPropertyList,
PropertyNameList actualPropertyList)
Constructor |
Method Summary | |
---|---|
Resource |
create(org.jdom.Element responseElm,
java.lang.Class resourceType)
Recursive method. |
Resource |
create(Location location,
java.lang.Class resourceType,
java.util.Map propertiesContainer)
Method create |
Resource |
createAllAttributes(org.jdom.Element responseElm)
|
LocationImpl |
getLocation(org.jdom.Element re)
Get the Location associated to the specified response element (retrieves href element). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceProxyFactory(Resource requestResource, Provider provider, PropertyNameList wantedPropertyList, PropertyNameList actualPropertyList)
requestResource
- resource making requestprovider
- resource providerwantedPropertyList
- properties to obtain (maybe null)actualPropertyList
- underlying properties responsible for wantedPropertyList (maybe null)Method Detail |
---|
public Resource create(org.jdom.Element responseElm, java.lang.Class resourceType) throws WvcmException
responseElm
- an ElementresourceType
- a Class
WvcmException
public Resource create(Location location, java.lang.Class resourceType, java.util.Map propertiesContainer) throws WvcmException
propertiesContainer
- a MapresourceType
- a Class
WvcmException
public Resource createAllAttributes(org.jdom.Element responseElm) throws WvcmException
WvcmException
public LocationImpl getLocation(org.jdom.Element re) throws WvcmException
re
- the response element
WvcmException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |