Package com.jk.web.faces.config
Class JKFacesConfigurations
java.lang.Object
com.jk.web.faces.config.JKFacesConfigurations
The Class JKFacesConfigurations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindTagMapping
(JKTagWrapper wrapper) Find tag mapping.findTagMapping
(String tagName) Find tag mapping.static JKFacesConfigurations
Gets the single instance of JKFacesConfigurations.getNamespaceByLetter
(String namespaceLetter) Gets the namespace by letter.getNameSpaceByUrl
(String url, boolean create) Gets the name space by url.Gets the namespaces.Gets the tag mapping.static boolean
Checks if is decorate.boolean
Checks if is decorate fix links.boolean
Checks if is decorate mapping.protected void
Load all names spaces from jsf container.static void
The main method.void
setNamespaces
(List<JKNamespace> namespaces) Sets the namespaces.void
setTagMapping
(List<JKTagMapping> tagMapping) Sets the tag mapping.
-
Constructor Details
-
JKFacesConfigurations
public JKFacesConfigurations()
-
-
Method Details
-
getInstance
Gets the single instance of JKFacesConfigurations.- Returns:
- single instance of JKFacesConfigurations
-
main
The main method.- Parameters:
args
- the arguments
-
findTagMapping
Find tag mapping.- Parameters:
wrapper
- the wrapper- Returns:
- the JK tag mapping
-
findTagMapping
Find tag mapping.- Parameters:
tagName
- the tag name- Returns:
- the JK tag mapping
-
getNamespaceByLetter
Gets the namespace by letter.- Parameters:
namespaceLetter
- the namespace letter- Returns:
- the namespace by letter
-
getNameSpaceByUrl
Gets the name space by url.- Parameters:
url
- the urlcreate
- the create- Returns:
- the name space by url
-
getNamespaces
Gets the namespaces.- Returns:
- the namespaces
-
getTagMapping
Gets the tag mapping.- Returns:
- the tag mapping
-
loadAllNamesSpacesFromJsfContainer
protected void loadAllNamesSpacesFromJsfContainer()Load all names spaces from jsf container. -
setNamespaces
Sets the namespaces.- Parameters:
namespaces
- the new namespaces
-
setTagMapping
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
-