|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SourceInspector
A source inspector exposes source properties.
Field Summary | |
---|---|
static String |
ROLE
|
Method Summary | |
---|---|
SourceProperty[] |
getSourceProperties(Source source)
Gets all the SourceProperties associated with the given Source. |
SourceProperty |
getSourceProperty(Source source,
String namespace,
String name)
Gets the SourceProperty associated with the given Source identified by the requested namespace and name. |
SourceValidity |
getValidity(Source source)
Get the validity object that describes the validity state of the properties belonging to the given source. |
boolean |
handlesProperty(String namespace,
String name)
Check if this inspector handles the property of the given type. |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
SourceProperty getSourceProperty(Source source, String namespace, String name) throws SourceException
source
- the source for which to compute the propertynamespace
- the namespace of the propertyname
- the name of the property
null
if the inspector does not provide this property.
SourceException
SourceProperty[] getSourceProperties(Source source) throws SourceException
source
- the Source for wich to compute the property.
SourceException
boolean handlesProperty(String namespace, String name)
namespace
- the namespace of the propertyname
- the name of the property
true
if this inspector handles properties of the given type
else false
.SourceValidity getValidity(Source source)
source
- the Source for which to calculate the validity
its properties, null
if the source properties
are not cacheable.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |