org.ten60.netkernel.layer1.util
Class URIFactory
java.lang.Object
org.ten60.netkernel.layer1.util.URIFactory
- public class URIFactory
- extends Object
A simple factory to wrap construction of URIs so that the exception
can be logged at source and avoided in app code. This should only
be used for literal URIs - eventually there should be none in the code.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URIFactory
public URIFactory()
getXPointerPath
public static String getXPointerPath(String aFragment)
- Extracts an xpointer from the given uri fragment
- Parameters:
aFragment
-
- Returns:
- The XPath expression or null if the given URI doesn't contain
an xpointer fragment.
Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.