org.weblab_project.core.uri
Class WebLabRI

java.lang.Object
  extended by org.weblab_project.core.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:
EADS WebLab Team

Constructor Summary
WebLabRI(java.lang.String uriStr)
          Create a WebLabRI with tests.
 
Method Summary
 void addFragment(java.lang.String fragment)
          Add a fragment to a WebLabRI .
 java.lang.String getFragment()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebLabRI

public WebLabRI(java.lang.String uriStr)
Create a WebLabRI with tests.

Parameters:
uriStr - a String representation of the WebLabRI.
Method Detail

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-2010. All Rights Reserved.