Java Doc for CocoonBean.java in  » Content-Management-System » apache-lenya-2.0 » org » apache » cocoon » bean » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Content Management System » apache lenya 2.0 » org.apache.cocoon.bean 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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 $


Field Summary
 SourceResolversourceResolver
    

Constructor Summary
public  CocoonBean()
    

Method Summary
public  voidaddExcludePattern(String pattern)
    
public  voidaddIncludeLinkExtension(String extension)
    
public  voidaddIncludePattern(String pattern)
    
public  voidaddListener(BeanListener listener)
    
public  voidaddTarget(String type, String root, String sourceURI, String destURI)
    
public  voidaddTarget(String type, String sourceURI, String destURI)
    
public  voidaddTarget(String sourceURI, String destURI)
    
public  voidaddTarget(String type, String root, String sourceURI, String destURI, boolean followLinks, boolean confirmExtension, String logger)
    
public  voidaddTargets(List uris, String destURI)
    
public  booleanconfirmExtensions()
    
public  voiddispose()
    
protected  voidfinalize()
    
public  booleanfollowLinks()
    
public  longgetLastModified(Target target)
    
public static  StringgetProlog()
    
public  ModifiableSourcegetSource(Target target)
    
public  intgetTargetCount()
    
public  voidinitialize()
    
public  booleanisPrecompileOnly()
    
public  voidpageGenerated(String sourceURI, String destURI, int pageSize, int linksInPage, int newLinksInPage, int pagesRemaining, int pagesComplete, long timeTaken)
    
public  voidpageSkipped(String uri, String message)
    
public  voidprocess()
     Process the URI list and process them all independently.
public  voidreleaseSource(Source source)
    
public  voidsendBrokenLinkWarning(String uri, String warning)
    
public  voidsendMessage(String msg)
    
public  voidsendWarning(String uri, String warning)
    
public  voidsetBrokenLinkExtension(String brokenLinkExtension)
    
public  voidsetBrokenLinkGenerate(boolean brokenLinkGenerate)
    
public  voidsetChecksumURI(String uri)
    
public  voidsetConfirmExtensions(boolean confirmExtension)
    
public  voidsetDefaultFilename(String filename)
    
public  voidsetFollowLinks(boolean follow)
    
public  voidsetPrecompileOnly(boolean precompileOnly)
    
public  voidsetVerbose(boolean verbose)
    

Field Detail
sourceResolver
SourceResolver sourceResolver(Code)




Constructor Detail
CocoonBean
public CocoonBean()(Code)




Method Detail
addExcludePattern
public void addExcludePattern(String pattern)(Code)



addIncludeLinkExtension
public void addIncludeLinkExtension(String extension)(Code)



addIncludePattern
public void addIncludePattern(String pattern)(Code)



addListener
public void addListener(BeanListener listener)(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



addTarget
public void addTarget(String type, String sourceURI, String destURI) throws IllegalArgumentException(Code)



addTarget
public void addTarget(String sourceURI, String destURI) throws IllegalArgumentException(Code)



addTarget
public void addTarget(String type, String root, String sourceURI, String destURI, boolean followLinks, boolean confirmExtension, String logger) throws IllegalArgumentException(Code)



addTargets
public void addTargets(List uris, String destURI) throws IllegalArgumentException(Code)



confirmExtensions
public boolean confirmExtensions()(Code)



dispose
public void dispose()(Code)



finalize
protected void finalize() throws Throwable(Code)



followLinks
public boolean followLinks()(Code)



getLastModified
public long getLastModified(Target target) throws IOException, ProcessingException(Code)



getProlog
public static String getProlog()(Code)
Print a description of the software before running



getSource
public ModifiableSource getSource(Target target) throws IOException, ProcessingException(Code)



getTargetCount
public int getTargetCount()(Code)



initialize
public void initialize() throws Exception(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)



pageSkipped
public void pageSkipped(String uri, String message)(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)



sendBrokenLinkWarning
public void sendBrokenLinkWarning(String uri, String warning)(Code)



sendMessage
public void sendMessage(String msg)(Code)



sendWarning
public void sendWarning(String uri, String warning)(Code)



setBrokenLinkExtension
public void setBrokenLinkExtension(String brokenLinkExtension)(Code)



setBrokenLinkGenerate
public void setBrokenLinkGenerate(boolean brokenLinkGenerate)(Code)



setChecksumURI
public void setChecksumURI(String uri)(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)



Fields inherited from org.apache.cocoon.bean.CocoonWrapper
final protected static String DEFAULT_ACCEPT(Code)(Java Doc)
final protected static String DEFAULT_USER_AGENT(Code)(Java Doc)
protected String accept(Code)(Java Doc)
protected CommandLineContext cliContext(Code)(Java Doc)
protected Cocoon cocoon(Code)(Java Doc)
protected File context(Code)(Java Doc)
protected Logger log(Code)(Java Doc)
protected String logLevel(Code)(Java Doc)
protected String logger(Code)(Java Doc)
protected String userAgent(Code)(Java Doc)

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)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.