Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » components » treeprocessor » sitemap » [javadoc | source]
org.apache.cocoon.components.treeprocessor.sitemap
public class: ComponentsSelector [javadoc | source]
java.lang.Object
   org.apache.avalon.excalibur.component.ExcaliburComponentSelector
      org.apache.cocoon.components.ExtendedComponentSelector
         org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector

All Implemented Interfaces:
    OutputComponentSelector, SitemapComponentSelector, ParentAware

Component selector for sitemap components.
Field Summary
public static final  int UNKNOWN     
public static final  int GENERATOR     
public static final  int TRANSFORMER     
public static final  int SERIALIZER     
public static final  int READER     
public static final  int MATCHER     
public static final  int SELECTOR     
public static final  int ACTION     
public static final  int PIPELINE     
public static final  String[] SELECTOR_ROLES     
public static final  String[] COMPONENT_NAMES     
Fields inherited from org.apache.cocoon.components.ExtendedComponentSelector:
roles,  parentSelector,  parentLocator,  classLoader,  roleName,  defaultHint
Method from org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector Summary:
addComponent,   configure,   dispose,   getClassAttributeName,   getComponentInstanceName,   getLabels,   getMimeTypeForHint,   getPipelineHint,   hasLabel,   initialize,   setParentLocator
Methods from org.apache.cocoon.components.ExtendedComponentSelector:
canRelease,   configure,   dispose,   getClassAttributeName,   getComponentInstanceName,   getDefaultHint,   getDefaultHintAttributeName,   getRoleName,   hasComponent,   hasDeclaredComponent,   release,   select,   setParentLocator,   setRoleManager
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector Detail:
 public  void addComponent(Object hint,
    Class clazz,
    Configuration config) throws ComponentException 
    Add a component in this selector. If needed, also register it's MIME type.
 public  void configure(Configuration config) throws ConfigurationException 
 public  void dispose() 
 protected String getClassAttributeName() 
    Get the attribute for class names. This is "src" for known roles, and "class" (the default) for other roles.
 protected String getComponentInstanceName() 
    Return the component instance name according to the selector role (e.g. "action" for "org.apache.cocoon.acting.Action").
 public String[] getLabels(Object hint) 
 public String getMimeTypeForHint(Object hint) 
    Get the MIME type for a given hint.
 public String getPipelineHint(Object hint) 
 public boolean hasLabel(Object hint,
    String label) 
 public  void initialize() 
    Ensure system-defined components exist (e.g. <aggregator>) and initialize the selector.
 public  void setParentLocator(ComponentLocator locator) throws ComponentException