org.apache.pluto.internal.impl
Class MockResourceUrlProviderImpl

java.lang.Object
  extended by org.apache.pluto.internal.impl.MockResourceUrlProviderImpl
All Implemented Interfaces:
org.apache.pluto.spi.ResourceURLProvider

public class MockResourceUrlProviderImpl
extends java.lang.Object
implements org.apache.pluto.spi.ResourceURLProvider

A ResourceURLProvider which returns the URL path in its toString() method.


Constructor Summary
MockResourceUrlProviderImpl()
           
 
Method Summary
 void setAbsoluteURL(java.lang.String path)
           
 void setFullPath(java.lang.String path)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockResourceUrlProviderImpl

public MockResourceUrlProviderImpl()
Method Detail

setAbsoluteURL

public void setAbsoluteURL(java.lang.String path)
Specified by:
setAbsoluteURL in interface org.apache.pluto.spi.ResourceURLProvider

setFullPath

public void setFullPath(java.lang.String path)
Specified by:
setFullPath in interface org.apache.pluto.spi.ResourceURLProvider

toString

public java.lang.String toString()
Specified by:
toString in interface org.apache.pluto.spi.ResourceURLProvider
Overrides:
toString in class java.lang.Object


Copyright © 2003-2008 Apache Software Foundation. All Rights Reserved.