org.ow2.weblab.core.extended.uri
Class WebLabRI
java.lang.Object
org.ow2.weblab.core.extended.uri.WebLabRI
public class WebLabRI
- extends java.lang.Object
Just a Wrapper for URI. It enable to ensure the uri field of the Resource are compliant with URI (since in the generated classes
it's a String).
- Author:
- Cassidian WebLab Team
|
Constructor Summary |
WebLabRI(java.lang.String uriStr)
Create a WebLabRI with tests. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WebLabRI
public WebLabRI(java.lang.String uriStr)
- Create a
WebLabRI with tests.
- Parameters:
uriStr - a String representation of the WebLabRI.
addFragment
public void addFragment(java.lang.String fragment)
- Add a fragment to a
WebLabRI .
- Parameters:
fragment - Added to the WebLabRI fragment
getFragment
public java.lang.String getFragment()
- Returns:
- the fragment part of the URI.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2004-2011. All Rights Reserved.