|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.query.template.URLGenerator
Generates a string that can be used as a URL and serves as an XSLT extension function implementation.
Constructor Summary | |
URLGenerator()
|
Method Summary | |
private static String |
genAppDataHref(String objClassname,
double objectId)
Creates an ApplicationData url |
private static String |
genMailToHref(String objClassname,
double objectId)
Creates an email url |
private static String |
genObjectHref(NodeList sourceGateway,
NodeList resultNode,
String objClassname,
int objectId)
Creates an object url |
static String |
genURL(NodeList sourceGateway,
NodeList resultNode)
Generates url to the resultNode based on what type of object it is. |
static String |
genURL(URLGenerator ug,
NodeList sourceGateway,
NodeList resultNode)
At one time Xalan had a bug wherein calls to static extension functions would be made with an extra 1st argument via reflection is such a way that the first argument must be the extension function class, though a null is always passed. |
private static String |
genVersionHref(NodeList sourceGateway,
NodeList resultNode,
String objClassname,
int branchId)
Creates a version url |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public URLGenerator()
Method Detail |
public static String genURL(NodeList sourceGateway, NodeList resultNode)
public static String genURL(URLGenerator ug, NodeList sourceGateway, NodeList resultNode)
private static String genAppDataHref(String objClassname, double objectId) throws Exception
Throws
- an Exception is there were any problems creating the url
Exception
private static String genMailToHref(String objClassname, double objectId) throws Exception
Throws
- an Exception if there were any problems creating the url
Exception
private static String genVersionHref(NodeList sourceGateway, NodeList resultNode, String objClassname, int branchId) throws Exception
Throws
- an Exception if there were any problems creating the url
Exception
private static String genObjectHref(NodeList sourceGateway, NodeList resultNode, String objClassname, int objectId) throws Exception
Throws
- an Exception if there were any problems creating the url
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |