Class NavigationTreeImpl
- java.lang.Object
-
- com.semanticcms.core.servlet.impl.NavigationTreeImpl
-
public final class NavigationTreeImpl extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
encodeHexData(String data)
static <T extends Node>
List<T>filterNodes(Collection<T> children, Set<T> nodesToInclude)
static <T extends PageReferrer>
List<T>filterPages(Collection<T> children, Set<PageRef> pagesToInclude)
static List<Node>
getChildNodes(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, boolean includeElements, boolean metaCapture, Node node)
static void
writeNavigationTreeImpl(ServletContext servletContext, ELContext elContext, HttpServletRequest request, HttpServletResponse response, Html html, ValueExpression root, boolean skipRoot, boolean yuiConfig, boolean includeElements, String target, ValueExpression thisBook, ValueExpression thisPage, ValueExpression linksToBook, ValueExpression linksToPage, int maxDepth)
static void
writeNavigationTreeImpl(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, Html html, Page root, boolean skipRoot, boolean yuiConfig, boolean includeElements, String target, String thisBook, String thisPage, String linksToBook, String linksToPage, int maxDepth)
-
-
-
Method Detail
-
filterNodes
public static <T extends Node> List<T> filterNodes(Collection<T> children, Set<T> nodesToInclude)
-
filterPages
public static <T extends PageReferrer> List<T> filterPages(Collection<T> children, Set<PageRef> pagesToInclude)
-
getChildNodes
public static List<Node> getChildNodes(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, boolean includeElements, boolean metaCapture, Node node) throws ServletException, IOException
- Throws:
ServletException
IOException
-
writeNavigationTreeImpl
public static void writeNavigationTreeImpl(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, Html html, Page root, boolean skipRoot, boolean yuiConfig, boolean includeElements, String target, String thisBook, String thisPage, String linksToBook, String linksToPage, int maxDepth) throws ServletException, IOException
- Throws:
ServletException
IOException
-
writeNavigationTreeImpl
public static void writeNavigationTreeImpl(ServletContext servletContext, ELContext elContext, HttpServletRequest request, HttpServletResponse response, Html html, ValueExpression root, boolean skipRoot, boolean yuiConfig, boolean includeElements, String target, ValueExpression thisBook, ValueExpression thisPage, ValueExpression linksToBook, ValueExpression linksToPage, int maxDepth) throws ServletException, IOException
- Parameters:
root
- ValueExpression that returns PagethisBook
- ValueExpression that returns StringthisPage
- ValueExpression that returns StringlinksToBook
- ValueExpression that returns StringlinksToPage
- ValueExpression that returns String- Throws:
ServletException
IOException
-
-