public class NodeUtil extends Object
| Constructor and Description |
|---|
NodeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isOriginalURI(Node node,
String uri)
This method determines whether the supplied URI matches the
original URI on the node.
|
static boolean |
isURIRewritten(Node node)
This method tests whether the URI has been rewritten.
|
static void |
rewriteURI(Node node,
String uri)
This method rewrites the URI associated with the supplied
node and stores the original in the node's details.
|
public static boolean isURIRewritten(Node node)
node - The nodepublic static void rewriteURI(Node node, String uri)
node - The nodeuri - The new URICopyright © 2015–2016 Red Hat, Inc.. All rights reserved.