| java.lang.Object org.apache.cocoon.bean.CocoonWrapper org.apache.cocoon.bean.CocoonBean
CocoonBean | public class CocoonBean extends CocoonWrapper (Code) | | The Cocoon Bean simplifies usage of the Cocoon object. Allows to create,
configure Cocoon instance and process requests, one by one or multiple
with link traversal.
WARNING: This interface is not stable and could be changed in
backward incompatible way without prior notice.
author: Stefano Mazzocchi author: Nicola Ken Barozzi author: Vadim Gritsenko author: Upayavira version: CVS $Id: CocoonBean.java 540711 2007-05-22 19:36:07Z cziegeler $ |
Method Summary | |
public void | addExcludePattern(String pattern) | public void | addIncludeLinkExtension(String extension) | public void | addIncludePattern(String pattern) | public void | addListener(BeanListener listener) | public void | addTarget(String type, String root, String sourceURI, String destURI) | public void | addTarget(String type, String sourceURI, String destURI) | public void | addTarget(String sourceURI, String destURI) | public void | addTarget(String type, String root, String sourceURI, String destURI, boolean followLinks, boolean confirmExtension, String logger) | public void | addTargets(List uris, String destURI) | public boolean | confirmExtensions() | public void | dispose() | protected void | finalize() | public boolean | followLinks() | public long | getLastModified(Target target) | public static String | getProlog() | public ModifiableSource | getSource(Target target) | public int | getTargetCount() | public void | initialize() | public boolean | isPrecompileOnly() | public void | pageGenerated(String sourceURI, String destURI, int pageSize, int linksInPage, int newLinksInPage, int pagesRemaining, int pagesComplete, long timeTaken) | public void | pageSkipped(String uri, String message) | public void | process() Process the URI list and process them all independently. | public void | releaseSource(Source source) | public void | sendBrokenLinkWarning(String uri, String warning) | public void | sendMessage(String msg) | public void | sendWarning(String uri, String warning) | public void | setBrokenLinkExtension(String brokenLinkExtension) | public void | setBrokenLinkGenerate(boolean brokenLinkGenerate) | public void | setChecksumURI(String uri) | public void | setConfirmExtensions(boolean confirmExtension) | public void | setDefaultFilename(String filename) | public void | setFollowLinks(boolean follow) | public void | setPrecompileOnly(boolean precompileOnly) | public void | setVerbose(boolean verbose) |
sourceResolver | SourceResolver sourceResolver(Code) | | |
CocoonBean | public CocoonBean()(Code) | | |
addExcludePattern | public void addExcludePattern(String pattern)(Code) | | |
addIncludeLinkExtension | public void addIncludeLinkExtension(String extension)(Code) | | |
addIncludePattern | public void addIncludePattern(String pattern)(Code) | | |
addTarget | public void addTarget(String type, String root, String sourceURI, String destURI) throws IllegalArgumentException(Code) | | Adds a target for processing
Parameters: type - Type of target - append, replace, insert. Parameters: root - Parameters: sourceURI - URI of the starting page Parameters: destURI - URI specifying destination for the generated pages. throws: IllegalArgumentException - if destURI is missing |
confirmExtensions | public boolean confirmExtensions()(Code) | | |
dispose | public void dispose()(Code) | | |
followLinks | public boolean followLinks()(Code) | | |
getProlog | public static String getProlog()(Code) | | Print a description of the software before running
|
getTargetCount | public int getTargetCount()(Code) | | |
isPrecompileOnly | public boolean isPrecompileOnly()(Code) | | |
pageGenerated | public void pageGenerated(String sourceURI, String destURI, int pageSize, int linksInPage, int newLinksInPage, int pagesRemaining, int pagesComplete, long timeTaken)(Code) | | |
process | public void process() throws Exception(Code) | | Process the URI list and process them all independently.
exception: Exception - if an error occurs |
releaseSource | public void releaseSource(Source source)(Code) | | |
setBrokenLinkExtension | public void setBrokenLinkExtension(String brokenLinkExtension)(Code) | | |
setBrokenLinkGenerate | public void setBrokenLinkGenerate(boolean brokenLinkGenerate)(Code) | | |
setConfirmExtensions | public void setConfirmExtensions(boolean confirmExtension)(Code) | | |
setDefaultFilename | public void setDefaultFilename(String filename)(Code) | | |
setFollowLinks | public void setFollowLinks(boolean follow)(Code) | | |
setPrecompileOnly | public void setPrecompileOnly(boolean precompileOnly)(Code) | | |
setVerbose | public void setVerbose(boolean verbose)(Code) | | |
Methods inherited from org.apache.cocoon.bean.CocoonWrapper | public void addLoadedClass(String className)(Code)(Java Doc) public void addLoadedClasses(List classList)(Code)(Java Doc) public void dispose()(Code)(Java Doc) protected void finalize() throws Throwable(Code)(Java Doc) protected String getClassPath(String context)(Code)(Java Doc) protected ExcaliburComponentManager getComponentManager()(Code)(Java Doc) protected Collection getLinks(String deparameterizedURI, Map parameters) throws Exception(Code)(Java Doc) public String getLoggerName()(Code)(Java Doc) protected int getPage(String deparameterizedURI, long lastModified, Map parameters, Map headers, Map links, List gatheredLinks, OutputStream stream) throws Exception(Code)(Java Doc) protected int getPage(String deparameterizedURI, long lastModified, Map parameters, Map headers, Map links, List gatheredLinks, ContentHandler handler) throws Exception(Code)(Java Doc) protected String getType(String deparameterizedURI, Map parameters) throws Exception(Code)(Java Doc) public void initialize() throws Exception(Code)(Java Doc) protected void loadClasses(List classList)(Code)(Java Doc) public void processURI(String uri, OutputStream outputStream) throws Exception(Code)(Java Doc) public void processURI(String uri, ContentHandler handler) throws Exception(Code)(Java Doc) public void setAcceptOptions(String accept)(Code)(Java Doc) public void setAgentOptions(String userAgent)(Code)(Java Doc) public void setConfigFile(String configFile)(Code)(Java Doc) public void setContextDir(String contextDir)(Code)(Java Doc) public void setLogKit(String logKit)(Code)(Java Doc) public void setLogLevel(String logLevel)(Code)(Java Doc) public void setLogger(String logger)(Code)(Java Doc) public void setUseExistingCocoon(boolean useExistingCocoon)(Code)(Java Doc) public void setWorkDir(String workDir)(Code)(Java Doc)
|
|
|