|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for metadata parsers.
| Method Summary | |
void |
clear()
Clears the cache of parsed resource names. |
java.net.URL |
findMetaData(java.lang.Class type)
Find the metadata resource for the given class. |
org.apache.commons.logging.Log |
getLog()
Return the log to write to. |
java.util.Collection |
getResults()
Return the results from the last parse. |
boolean |
isValidating()
Return true if this is a validating parser, false otherwise. |
void |
parse(java.lang.Class type)
Parse the metadata for the given type. |
void |
parse(java.io.File file)
Parse the metadata for the given file. |
void |
parse(java.io.Reader content,
java.lang.String sourceName)
Parse the metadata in the given reader. |
void |
parse(java.net.URL url)
Parse the metadata for the given URL. |
void |
setLog(org.apache.commons.logging.Log log)
Set the log to write to. |
void |
setValidating(boolean validating)
Set whether or not the parser should validate. |
| Method Detail |
public boolean isValidating()
public void setValidating(boolean validating)
public org.apache.commons.logging.Log getLog()
public void setLog(org.apache.commons.logging.Log log)
public java.util.Collection getResults()
public java.net.URL findMetaData(java.lang.Class type)
public void parse(java.lang.Class type)
throws java.io.IOException
java.io.IOExceptionfindMetaData(java.lang.Class)
public void parse(java.net.URL url)
throws java.io.IOException
java.io.IOExceptionparse(Class)
public void parse(java.io.File file)
throws java.io.IOException
java.io.IOExceptionparse(Class)
public void parse(java.io.Reader content,
java.lang.String sourceName)
throws java.io.IOException
content - reader containing the metadata to parsesourceName - the name of the source being parsed, for use
in error messages
java.io.IOExceptionparse(Class)public void clear()
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||