| org.apache.cocoon.components.source.impl.AbstractConfigurableSourceInspector org.apache.cocoon.components.source.impl.AbstractConfigurableSourceDescriptor
All known Subclasses: org.apache.cocoon.components.source.impl.SimpleJdbcSourceDescriptor,
AbstractConfigurableSourceDescriptor | abstract public class AbstractConfigurableSourceDescriptor extends AbstractConfigurableSourceInspector implements SourceDescriptor(Code) | | Abstract base class SourceDescriptors that want to
configure the set of properties they handle beforehand.
Knowing which properties an inspector handles beforehand
greatly improves property management performance.
author: Unico Hommes |
Method Summary | |
abstract protected void | doRemoveSourceProperty(Source source, String namespace, String name) Do the actual work of removing the given property from the provided Source. | abstract protected void | doSetSourceProperty(Source source, SourceProperty property) Do the actual work of setting the provided SourceProperty on the given Source. | final public void | removeSourceProperty(Source source, String namespace, String name) Checks if this SourceDescriptor is configured to handle the
given property and if so forwards the call to
doRemoveSourceProperty() . | final public void | setSourceProperty(Source source, SourceProperty property) Checks if this SourceDescriptor is configured to handle the
given property and if so forwards the call to
doSetSourceProperty() . |
doRemoveSourceProperty | abstract protected void doRemoveSourceProperty(Source source, String namespace, String name) throws SourceException(Code) | | Do the actual work of removing the given property from the provided Source.
|
doSetSourceProperty | abstract protected void doSetSourceProperty(Source source, SourceProperty property) throws SourceException(Code) | | Do the actual work of setting the provided SourceProperty on the given Source.
|
removeSourceProperty | final public void removeSourceProperty(Source source, String namespace, String name) throws SourceException(Code) | | Checks if this SourceDescriptor is configured to handle the
given property and if so forwards the call to
doRemoveSourceProperty() .
|
setSourceProperty | final public void setSourceProperty(Source source, SourceProperty property) throws SourceException(Code) | | Checks if this SourceDescriptor is configured to handle the
given property and if so forwards the call to
doSetSourceProperty() .
|
|
|