Class WcsExtendlet

  • All Implemented Interfaces:
    org.zkoss.web.util.resource.Extendlet

    public class WcsExtendlet
    extends java.lang.Object
    The extendlet to handle WCS (widget CSS). Each language (such as zul) must have exactly one of WCS file to generate all CSS for all widgets of a language.
    Since:
    5.0.0
    Author:
    tomyeh
    • Field Summary

      • Fields inherited from interface org.zkoss.web.util.resource.Extendlet

        ALLOW_DIRECT_INCLUDE
    • Constructor Summary

      Constructors 
      Constructor Description
      WcsExtendlet()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getFeature​(int feature)  
      void init​(org.zkoss.web.util.resource.ExtendletConfig config)  
      boolean isDebugJS()
      Returns whether to generate JS files that is easy to debug.
      void service​(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, java.lang.String path)  
      void setDebugJS​(boolean debugJS)
      Sets whether to generate JS files that is easy to debug.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WcsExtendlet

        public WcsExtendlet()
    • Method Detail

      • init

        public void init​(org.zkoss.web.util.resource.ExtendletConfig config)
      • service

        public void service​(jakarta.servlet.http.HttpServletRequest request,
                            jakarta.servlet.http.HttpServletResponse response,
                            java.lang.String path)
                     throws jakarta.servlet.ServletException,
                            java.io.IOException
        Throws:
        jakarta.servlet.ServletException
        java.io.IOException
      • setDebugJS

        public void setDebugJS​(boolean debugJS)
        Sets whether to generate JS files that is easy to debug.
      • isDebugJS

        public boolean isDebugJS()
        Returns whether to generate JS files that is easy to debug.
      • getFeature

        public boolean getFeature​(int feature)
        Specified by:
        getFeature in interface org.zkoss.web.util.resource.Extendlet