Class ConfigXMLReader


  • public final class ConfigXMLReader
    extends java.lang.Object
    ConfigXMLReader.java - Reads and parses the XML site config files.
    • Constructor Detail

      • ConfigXMLReader

        protected ConfigXMLReader()
        Instantiates a new Config xml reader.
    • Method Detail

      • getEmptyNoneRequestResponse

        public static ConfigXMLReader.RequestResponse getEmptyNoneRequestResponse()
        Gets empty none request response.
        Returns:
        the empty none request response
      • findControllerFilesWithRequest

        public static java.util.Set<java.lang.String> findControllerFilesWithRequest​(java.lang.String requestUri,
                                                                                     java.lang.String controllerPartialPath)
                                                                              throws GeneralException
        Find controller files with request set.
        Parameters:
        requestUri - the request uri
        controllerPartialPath - the controller partial path
        Returns:
        the set
        Throws:
        GeneralException - the general exception
      • findControllerRequestUniqueForTargetType

        public static java.util.Set<java.lang.String> findControllerRequestUniqueForTargetType​(java.lang.String target,
                                                                                               java.lang.String urlMode)
                                                                                        throws GeneralException
        Find controller request unique for target type set.
        Parameters:
        target - the target
        urlMode - the url mode
        Returns:
        the set
        Throws:
        GeneralException - the general exception
      • getControllerConfigURL

        public static java.net.URL getControllerConfigURL​(ServletContext context)
        Gets controller config url.
        Parameters:
        context - the context
        Returns:
        the controller config url