org.apache.cocoon.components.source
Interface SourceDescriptor
- All Superinterfaces:
- Component, SourceInspector
- All Known Implementing Classes:
- AbstractConfigurableSourceDescriptor, SimpleJdbcSourceDescriptor, SourceDescriptorManager
public interface SourceDescriptor
- extends SourceInspector
A source descriptor handles modifiable source properties.
- Author:
- Unico Hommes
ROLE
static final String ROLE
setSourceProperty
void setSourceProperty(Source source,
SourceProperty property)
throws SourceException
- Set a property on a Source.
- Parameters:
source
- the Source to set the SourceProperty onproperty
- the SourceProperty to set
- Throws:
SourceException
removeSourceProperty
void removeSourceProperty(Source source,
String namespace,
String name)
throws SourceException
- Remove a property from a Source.
- Parameters:
source
- the Source to remove the property fromnamespace
- namespace identifier of the property to removename
- name of the property to remove
- Throws:
SourceException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.