1 16 package org.apache.cocoon.components.source; 17 18 import org.apache.avalon.framework.component.Component; 19 import org.apache.cocoon.components.source.helpers.SourceProperty; 20 import org.apache.excalibur.source.Source; 21 import org.apache.excalibur.source.SourceException; 22 import org.apache.excalibur.source.SourceValidity; 23 24 31 public interface SourceInspector extends Component { 32 33 public final static String ROLE = "org.apache.cocoon.components.source.SourceInspector"; 34 35 46 public SourceProperty getSourceProperty(Source source, String namespace, String name) 47 throws SourceException; 48 49 57 public SourceProperty[] getSourceProperties(Source source) throws SourceException; 58 59 67 public boolean handlesProperty(String namespace, String name); 68 69 77 public SourceValidity getValidity(Source source); 78 } 79 80 | Popular Tags |