|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.manipulator.metadata.FileMetadataProvider
public class FileMetadataProvider
A FileMetadataProvider
is responsible of loading all the .xml files in the given directory.
It also accepts a direct reference to a metadata.xml file.
Constructor Summary | |
---|---|
FileMetadataProvider(java.io.File source,
Reporter reporter)
Constructs a metadata provider using the given source File (directory or file) to load iPOJO metadata. |
Method Summary | |
---|---|
java.util.List<org.apache.felix.ipojo.metadata.Element> |
getMetadatas()
Gather all the metadata. |
void |
setValidateUsingLocalSchemas(boolean validateUsingLocalSchemas)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileMetadataProvider(java.io.File source, Reporter reporter)
source
- source of the metadatareporter
- feedback reporterMethod Detail |
---|
public void setValidateUsingLocalSchemas(boolean validateUsingLocalSchemas)
public java.util.List<org.apache.felix.ipojo.metadata.Element> getMetadatas() throws java.io.IOException
MetadataProvider
getMetadatas
in interface MetadataProvider
java.io.IOException
- if something wet wrong during gathering.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |