Java Doc for TreeProcessor.java in  » Content-Management-System » apache-lenya-2.0 » org » apache » cocoon » components » treeprocessor » 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.components.treeprocessor 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.cocoon.components.treeprocessor.TreeProcessor

TreeProcessor
public class TreeProcessor extends AbstractLogEnabled implements ThreadSafe,Processor,Composable,Configurable,RoleManageable,Contextualizable,Disposable(Code)
Interpreted tree-traversal implementation of a pipeline assembly language.
author:
   Sylvain Wallez
version:
   CVS $Id: TreeProcessor.java 540711 2007-05-22 19:36:07Z cziegeler $


Field Summary
final public static  StringCOCOON_REDIRECT_ATTR
    
protected  ExtendedComponentSelectorbuilderSelector
    
protected  booleancheckReload
    
 ConcreteTreeProcessorconcreteProcessor
    
protected  Contextcontext
    
protected  ConfigurationcurrentLanguage
    
protected  longlastModified
    
protected  longlastModifiedDelay
     Delay for sourceLastModified.
protected  ComponentManagermanager
    
protected  TreeProcessorparent
    
protected  SourceResolverresolver
    
protected  RoleManagerroleManager
    
protected  DelayedRefreshSourceWrappersource
    

Constructor Summary
public  TreeProcessor()
     Create a TreeProcessor.
protected  TreeProcessor(TreeProcessor parent, ComponentManager manager)
    

Method Summary
public  ProcessingPipelinebuildPipeline(Environment environment)
     Process the given Environment to assemble a ProcessingPipeline.
public  voidcompose(ComponentManager manager)
    
public  voidconfigure(Configuration config)
    
public  voidcontextualize(Context context)
    
public  TreeProcessorcreateChildProcessor(ComponentManager manager, String actualSource, boolean checkReload)
     Create a new child of this processor (used for mounting submaps).
Parameters:
  manager - the component manager to be used by the child processor.
public  voiddispose()
    
public  MapgetComponentConfigurations()
    
public  ProcessorgetRootProcessor()
    
public  booleanprocess(Environment environment)
     Process the given Environment producing the output. If the processing is successfull true is returned.If not match is found in the sitemap falseis returned.
throws:
  org.apache.cocoon.ResourceNotFoundException - If a sitemap component triesto access a resource which can notbe found, e.g.
public  voidsetComponentConfigurations(Configuration componentConfigurations)
    
public  voidsetRoleManager(RoleManager rm)
    
public  StringtoString()
    

Field Detail
COCOON_REDIRECT_ATTR
final public static String COCOON_REDIRECT_ATTR(Code)



builderSelector
protected ExtendedComponentSelector builderSelector(Code)
Selector of TreeBuilders, the hint is the language name



checkReload
protected boolean checkReload(Code)
Check for reload?



concreteProcessor
ConcreteTreeProcessor concreteProcessor(Code)
The actual processor (package-private as needs to be accessed by ConcreteTreeProcessor)



context
protected Context context(Code)
The context



currentLanguage
protected Configuration currentLanguage(Code)
The current language configuration



lastModified
protected long lastModified(Code)
Last modification time



lastModifiedDelay
protected long lastModifiedDelay(Code)
Delay for sourceLastModified.



manager
protected ComponentManager manager(Code)
The component manager



parent
protected TreeProcessor parent(Code)
The parent TreeProcessor, if any



resolver
protected SourceResolver resolver(Code)
The source resolver



roleManager
protected RoleManager roleManager(Code)
The role manager



source
protected DelayedRefreshSourceWrapper source(Code)
The source of the tree definition




Constructor Detail
TreeProcessor
public TreeProcessor()(Code)
Create a TreeProcessor.



TreeProcessor
protected TreeProcessor(TreeProcessor parent, ComponentManager manager)(Code)
Create a child processor for a given language




Method Detail
buildPipeline
public ProcessingPipeline buildPipeline(Environment environment) throws Exception(Code)
Process the given Environment to assemble a ProcessingPipeline.
since:
   2.1



compose
public void compose(ComponentManager manager) throws ComponentException(Code)



configure
public void configure(Configuration config) throws ConfigurationException(Code)



contextualize
public void contextualize(Context context) throws ContextException(Code)



createChildProcessor
public TreeProcessor createChildProcessor(ComponentManager manager, String actualSource, boolean checkReload) throws Exception(Code)
Create a new child of this processor (used for mounting submaps).
Parameters:
  manager - the component manager to be used by the child processor. a new child processor.



dispose
public void dispose()(Code)



getComponentConfigurations
public Map getComponentConfigurations()(Code)



getRootProcessor
public Processor getRootProcessor()(Code)



process
public boolean process(Environment environment) throws Exception(Code)
Process the given Environment producing the output. If the processing is successfull true is returned.If not match is found in the sitemap falseis returned.
throws:
  org.apache.cocoon.ResourceNotFoundException - If a sitemap component triesto access a resource which can notbe found, e.g. the generatorConnectionResetException If the connection was reset



setComponentConfigurations
public void setComponentConfigurations(Configuration componentConfigurations)(Code)
Set the sitemap component configurations



setRoleManager
public void setRoleManager(RoleManager rm)(Code)



toString
public String toString()(Code)



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