Class WadlRepresentation

  • All Implemented Interfaces:
    javax.xml.namespace.NamespaceContext

    @Deprecated
    public class WadlRepresentation
    extends SaxRepresentation
    Deprecated.
    Will be removed in next major release.
    Root of a WADL description document. For the getHtmlRepresentation() method to work properly, you will certainly have to update your classpath with a recent version of Apache Xalan XSLT engine (version 2.7.1 has been successfully tested). This is due to the XSLT stylesheet bundled which relies on EXSLT features.
    • Field Detail

      • APP_NAMESPACE

        public static final java.lang.String APP_NAMESPACE
        Deprecated.
        Web Application Description Language namespace.
        See Also:
        Constant Field Values
      • application

        private ApplicationInfo application
        Deprecated.
        The root element of the WADL document.
    • Constructor Detail

      • WadlRepresentation

        public WadlRepresentation()
        Deprecated.
        Constructor.
      • WadlRepresentation

        public WadlRepresentation​(ApplicationInfo application)
        Deprecated.
        Constructor.
        Parameters:
        application - The root element of the WADL document.
      • WadlRepresentation

        public WadlRepresentation​(Representation xmlRepresentation)
                           throws java.io.IOException
        Deprecated.
        Constructor.
        Parameters:
        xmlRepresentation - The XML WADL document.
        Throws:
        java.io.IOException
      • WadlRepresentation

        public WadlRepresentation​(ResourceInfo resource)
        Deprecated.
        Constructor. The title of the resource, that is to say the title of its first documentation tag is transfered to the title of the first documentation tag of the main application tag.
        Parameters:
        resource - The root element of the WADL document.
    • Method Detail

      • getApplication

        public ApplicationInfo getApplication()
        Deprecated.
        Returns the root element of the WADL document.
        Returns:
        The root element of the WADL document.
      • getHtmlRepresentation

        public Representation getHtmlRepresentation()
        Deprecated.
        Returns an HTML representation. Note that the internal XSLT stylesheet used comes from Mark Nottingham. This stylesheet requires advanced XSLT features, including EXSLT extensions. Usage of a recent version of Xalan-J is suggested. It has been tested successfully with Xalan-J 2.7.1.
        Returns:
        An HTML representation.
      • setApplication

        public void setApplication​(ApplicationInfo application)
        Deprecated.
        Sets the root element of the WADL document.
        Parameters:
        application - The root element of the WADL document.