org.apache.cocoon.components.source
Interface InspectableSource

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

public interface InspectableSource
extends Source

A source, which owns meta informations in form of properties

Version:
CVS $Id: InspectableSource.java 433543 2006-08-22 06:22:54Z crossley $
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

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

Throws:
SourceException

setSourceProperty

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

Throws:
SourceException

getSourceProperties

SourceProperty[] getSourceProperties()
                                     throws SourceException
Get alll informations

Throws:
SourceException

removeSourceProperty

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

Throws:
SourceException


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