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.html 1304258 2012-03-23 10:09:27Z ilgrosso $
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-2010 The Apache Software Foundation. All Rights Reserved.