Class JKFacesConfigurations

java.lang.Object
com.jk.web.faces.config.JKFacesConfigurations

public class JKFacesConfigurations extends Object
The Class JKFacesConfigurations.
  • Constructor Details

    • JKFacesConfigurations

      public JKFacesConfigurations()
  • Method Details

    • getInstance

      public static JKFacesConfigurations getInstance()
      Gets the single instance of JKFacesConfigurations.
      Returns:
      single instance of JKFacesConfigurations
    • main

      public static void main(String[] args)
      The main method.
      Parameters:
      args - the arguments
    • findTagMapping

      public JKTagMapping findTagMapping(JKTagWrapper wrapper)
      Find tag mapping.
      Parameters:
      wrapper - the wrapper
      Returns:
      the JK tag mapping
    • findTagMapping

      public JKTagMapping findTagMapping(String tagName)
      Find tag mapping.
      Parameters:
      tagName - the tag name
      Returns:
      the JK tag mapping
    • getNamespaceByLetter

      public JKNamespace getNamespaceByLetter(String namespaceLetter)
      Gets the namespace by letter.
      Parameters:
      namespaceLetter - the namespace letter
      Returns:
      the namespace by letter
    • getNameSpaceByUrl

      public JKNamespace getNameSpaceByUrl(String url, boolean create)
      Gets the name space by url.
      Parameters:
      url - the url
      create - the create
      Returns:
      the name space by url
    • getNamespaces

      public List<JKNamespace> getNamespaces()
      Gets the namespaces.
      Returns:
      the namespaces
    • getTagMapping

      public List<JKTagMapping> getTagMapping()
      Gets the tag mapping.
      Returns:
      the tag mapping
    • loadAllNamesSpacesFromJsfContainer

      protected void loadAllNamesSpacesFromJsfContainer()
      Load all names spaces from jsf container.
    • setNamespaces

      public void setNamespaces(List<JKNamespace> namespaces)
      Sets the namespaces.
      Parameters:
      namespaces - the new namespaces
    • setTagMapping

      public void setTagMapping(List<JKTagMapping> tagMapping)
      Sets the tag mapping.
      Parameters:
      tagMapping - the new tag mapping
    • isDecorate

      public static boolean isDecorate()
      Checks if is decorate.
      Returns:
      true, if is decorate
    • isDecorateMapping

      public boolean isDecorateMapping()
      Checks if is decorate mapping.
      Returns:
      true, if is decorate mapping
    • isDecorateFixLinks

      public boolean isDecorateFixLinks()
      Checks if is decorate fix links.
      Returns:
      true, if is decorate fix links