org.apache.cocoon.components.source
Interface InspectableSource

All Superinterfaces:
Source
All Known Implementing Classes:
InspectableTraversableCachingSource, RepositorySource, SlideSource, SourceDTO, WebDAVSource

public interface InspectableSource
extends Source

A source, which owns meta informations in form of properties

Version:
CVS $Id: InspectableSource.java 30941 2004-07-29 19:56:58Z vgritsenko $
Author:
Stephan Michels

Method Summary
 SourceProperty[] getSourceProperties()
          Get alll informations
 SourceProperty getSourceProperty(String namespace, String name)
          To get a meta information from a source
 void removeSourceProperty(String namespace, String name)
          Remove property
 void setSourceProperty(SourceProperty property)
          To set a meta information
 
Methods inherited from interface org.apache.excalibur.source.Source
exists, getContentLength, getInputStream, getLastModified, getMimeType, getScheme, getURI, getValidity, refresh
 

Method Detail

getSourceProperty

public SourceProperty getSourceProperty(String namespace,
                                        String name)
                                 throws SourceException
To get a meta information from a source

Throws:
SourceException

setSourceProperty

public void setSourceProperty(SourceProperty property)
                       throws SourceException
To set a meta information

Throws:
SourceException

getSourceProperties

public SourceProperty[] getSourceProperties()
                                     throws SourceException
Get alll informations

Throws:
SourceException

removeSourceProperty

public void removeSourceProperty(String namespace,
                                 String name)
                          throws SourceException
Remove property

Throws:
SourceException


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.