|
TopoWeb Commons API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.topoweb.net.OriTranslator.SchemeHandler
ORI / URI translator that handles a specific URI scheme.
| Constructor Summary | |
protected |
OriTranslator.SchemeHandler(java.lang.String scheme)
Constructs a new instance with the specified scheme. |
| Method Summary | |
java.lang.String |
getScheme()
Returns the scheme passed in at construction time. |
abstract Ori |
toOri(java.net.URI uri,
java.lang.StringBuffer work)
Translates and returns the given URI to an Ori instance. |
abstract java.net.URI |
toUri(Ori ori,
java.lang.StringBuffer work)
Translates and returns the given Ori as a URI
instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected OriTranslator.SchemeHandler(java.lang.String scheme)
scheme.
scheme - the schemegetScheme()| Method Detail |
public java.lang.String getScheme()
public abstract Ori toOri(java.net.URI uri,
java.lang.StringBuffer work)
Ori instance.
The URI is assumed to be in normal form, and the work
buffer is assumed to be non-null and with zero length.
uri - the URI to be translatedwork - the work buffer
Ori instance
public abstract java.net.URI toUri(Ori ori,
java.lang.StringBuffer work)
Ori as a URI
instance. The work
buffer is assumed to be non-null and with zero length.
ori - the Ori to be translatedwork - the work buffer
URI instance
|
TopoWeb Commons API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||