org.jvnet.ws.wadl.xslt
Class WadlXsltUtils
java.lang.Object
org.jvnet.ws.wadl.xslt.WadlXsltUtils
public class WadlXsltUtils
- extends Object
A collection of helper utilities for accessing common XSL scripts and
functions for use in them.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WadlXsltUtils
public WadlXsltUtils()
getUpgradeTransformAsStream
public static InputStream getUpgradeTransformAsStream()
- Returns:
- A transform that upgrades the current WADL to the '2009
standard
getWadlSummaryTransform
public static InputStream getWadlSummaryTransform()
- A the moment this template requires the Oracle XDK; but in future the ideal
is to move towards a vanilla XSLT document without any specific parser or
java dependencies
- Returns:
- A template that will transform a WADL into a user readable
HTML document.
hypernizeURI
public static String hypernizeURI(String uri)
- Parameters:
uri - The input URI
- Returns:
- A String where each / has been replaced with a / and a soft
hyphen
Copyright © 2014. All Rights Reserved.