1 16 package org.outerj.daisy.navigation; 17 18 import org.xml.sax.ContentHandler ; 19 import org.xml.sax.SAXException ; 20 import org.outerj.daisy.repository.RepositoryException; 21 import org.outerj.daisy.repository.VariantKey; 22 23 public interface NavigationManager { 24 42 public void generateNavigationTree(ContentHandler contentHandler, NavigationParams navigationParams, 43 VariantKey activeDocument, boolean handleErrors) 44 throws RepositoryException, SAXException ; 45 46 55 public void generatePreviewNavigationTree(ContentHandler contentHandler, String navigationTreeXml, 56 long branchId, long languageId) throws RepositoryException, SAXException ; 57 58 119 public NavigationLookupResult lookup(String navigationPath, long requestedBranchId, long requestedLanguageId, 120 LookupAlternative[] lookupAlternatives) throws RepositoryException; 121 122 126 public String reverseLookup(VariantKey document, VariantKey navigationDoc, NavigationVersionMode versionMode) throws RepositoryException; 127 128 131 public String reverseLookup(VariantKey document, VariantKey navigationDoc) throws RepositoryException; 132 } 133 | Popular Tags |