|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SourceDescriptor
A source descriptor handles modifiable source properties.
Field Summary | |
---|---|
static String |
ROLE
|
Method Summary | |
---|---|
void |
removeSourceProperty(Source source,
String namespace,
String name)
Remove a property from a Source. |
void |
setSourceProperty(Source source,
SourceProperty property)
Set a property on a Source. |
Methods inherited from interface org.apache.cocoon.components.source.SourceInspector |
---|
getSourceProperties, getSourceProperty, getValidity, handlesProperty |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
void setSourceProperty(Source source, SourceProperty property) throws SourceException
source
- the Source to set the SourceProperty onproperty
- the SourceProperty to set
SourceException
void removeSourceProperty(Source source, String namespace, String name) throws SourceException
source
- the Source to remove the property fromnamespace
- namespace identifier of the property to removename
- name of the property to remove
SourceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |