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


org.apache.cocoon.components.ExtendedComponentSelector

All known Subclasses:   org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector,  org.apache.lenya.cms.usecase.impl.UsecaseSelector,  org.apache.lenya.cms.publication.ResourceTypeSelector,
ExtendedComponentSelector
public class ExtendedComponentSelector extends ExcaliburComponentSelector implements ParentAware(Code)
An extension of ExcaliburComponentSelector that can have a parent and accepts a wider variety of configurations.
author:
   Sylvain Wallez
version:
   CVS $Id: ExtendedComponentSelector.java 433543 2006-08-22 06:22:54Z crossley $


Field Summary
protected  ClassLoaderclassLoader
    
protected  StringdefaultHint
    
protected  ComponentLocatorparentLocator
    
protected  ExtendedComponentSelectorparentSelector
    
protected  StringroleName
     The role of this selector.
protected  RoleManagerroles
    

Constructor Summary
public  ExtendedComponentSelector()
    
public  ExtendedComponentSelector(ClassLoader loader)
    

Method Summary
protected  booleancanRelease(Component component)
    
public  voidconfigure(Configuration config)
     Configure this selector.
public  voiddispose()
    
protected  StringgetClassAttributeName()
     Get the name of the attribute giving the class name of a component.
protected  StringgetComponentInstanceName()
     Get the name for component-instance elements (i.e.
public  StringgetDefaultHint()
     Get the default hint, if any for this selector.
protected  StringgetDefaultHintAttributeName()
     Get the name of the attribute giving the default hint to use if none is given.
protected  StringgetRoleName(Configuration config)
     Get the role name for this selector.
public  booleanhasComponent(Object hint)
    
protected  booleanhasDeclaredComponent(Object hint)
     Does this selector declare a given hint? Check is performed on the components declared for this selector only, and not those potentially inherited from the parent selector.
public  voidrelease(Component component)
    
public  Componentselect(Object hint)
    
public  voidsetParentLocator(ComponentLocator locator)
    
public  voidsetRoleManager(RoleManager roles)
     Configure the RoleManager.

Field Detail
classLoader
protected ClassLoader classLoader(Code)
The class loader to use



defaultHint
protected String defaultHint(Code)
The default hint



parentLocator
protected ComponentLocator parentLocator(Code)
The parent locator, if any



parentSelector
protected ExtendedComponentSelector parentSelector(Code)
The parent selector, if any



roleName
protected String roleName(Code)
The role of this selector. Set in configure().



roles
protected RoleManager roles(Code)
The role manager




Constructor Detail
ExtendedComponentSelector
public ExtendedComponentSelector()(Code)
Create the ComponentSelector with the Thread context ClassLoader



ExtendedComponentSelector
public ExtendedComponentSelector(ClassLoader loader)(Code)
Create the ComponentSelector with a ClassLoader




Method Detail
canRelease
protected boolean canRelease(Component component)(Code)



configure
public void configure(Configuration config) throws ConfigurationException(Code)
Configure this selector. This is the main difference with the parent class :



dispose
public void dispose()(Code)



getClassAttributeName
protected String getClassAttributeName()(Code)
Get the name of the attribute giving the class name of a component. The default here is "class", but this can be overriden in subclasses. "class", but can be changed by subclasses



getComponentInstanceName
protected String getComponentInstanceName()(Code)
Get the name for component-instance elements (i.e. components not defined by their role shortcut. If null, any element having a 'class' attribute will be considered as a component instance.

The default here is to return null, and subclasses can redefine this method to return particular values. null, but can be changed by subclasses




getDefaultHint
public String getDefaultHint()(Code)
Get the default hint, if any for this selector.



getDefaultHintAttributeName
protected String getDefaultHintAttributeName()(Code)
Get the name of the attribute giving the default hint to use if none is given. The default here is "default", but this can be overriden in subclasses. If this method returns null, no default hint can be specified. "default", but can be changed by subclasses



getRoleName
protected String getRoleName(Configuration config)(Code)
Get the role name for this selector. This is called by configure() to set the value of this.roleName. the role name, or null if it couldn't be determined.



hasComponent
public boolean hasComponent(Object hint)(Code)
Does this selector or its parent have the given hint ?



hasDeclaredComponent
protected boolean hasDeclaredComponent(Object hint)(Code)
Does this selector declare a given hint? Check is performed on the components declared for this selector only, and not those potentially inherited from the parent selector.
Parameters:
  hint - the hint to check for true if this selector has the specified hint



release
public void release(Component component)(Code)



select
public Component select(Object hint) throws ComponentException(Code)



setParentLocator
public void setParentLocator(ComponentLocator locator) throws ComponentException(Code)



setRoleManager
public void setRoleManager(RoleManager roles)(Code)
Configure the RoleManager. Redeclared only because parent member is private.



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