|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.odftoolkit.odfdom.pkg.rdfa.Util
public class Util
Constructor Summary | |
---|---|
Util()
|
Method Summary | |
---|---|
static String |
getRDFBaseUri(String pkgBaseUri,
String internalPath)
Get the RDF base uri of the given internalPath. |
static boolean |
isSubPathOf(String subPath,
String superPath)
To test whether the subPath is a sut path of superPath |
static boolean |
qNameEquals(QName at,
QName name)
Test whether two QNames are equal to each other. |
static String |
toExternalForm(URI u)
To fix the 3 slashes bug for File URI: For example: file:/C:/work/test.txt -> file:///C:/work/test.txt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Util()
Method Detail |
---|
public static boolean qNameEquals(QName at, QName name)
at
- , the QName of an Attributename
- , the QName to be compared
public static String getRDFBaseUri(String pkgBaseUri, String internalPath)
pkgBaseUri
- , the base uri of the packageinternalPath
- , the internalPath relative to the root document
public static boolean isSubPathOf(String subPath, String superPath)
subPath
- , an internal path in the ODF packagesuperPath
- , an internal path in the ODF package
public static String toExternalForm(URI u)
u
- - the File URI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |