org.filteredpush.annotationprocessor
Class AnnotationParserSparqlImpl
java.lang.Object
org.filteredpush.annotationprocessor.AnnotationParserSparqlImpl
- All Implemented Interfaces:
- AnnotationParser
public class AnnotationParserSparqlImpl
- extends java.lang.Object
- implements AnnotationParser
An annotation parser implemented by employing the Sparql rules for annotation validation and parse.
- Author:
- Lei Dou
$Id: AnnotationParserSparqlImpl.java 1976 2013-02-05 21:28:49Z dlowery $
|
Method Summary |
Annotation |
parse(java.io.InputStream annotationFileStream)
Parse the annotation in specified input stream. |
Annotation |
parse(java.lang.String annotationFile)
Parse the annotation in specified file. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationParserSparqlImpl
public AnnotationParserSparqlImpl()
parse
public Annotation parse(java.io.InputStream annotationFileStream)
- Description copied from interface:
AnnotationParser
- Parse the annotation in specified input stream.
- Specified by:
parse in interface AnnotationParser
- Parameters:
annotationFileStream - The input stream of the annotation.
- Returns:
- The annotation object constructed with the information from the specified input stream.
parse
public Annotation parse(java.lang.String annotationFile)
- Description copied from interface:
AnnotationParser
- Parse the annotation in specified file.
- Specified by:
parse in interface AnnotationParser
- Parameters:
annotationFile - The full path to the annotation file needs to be parsed.
- Returns:
- The annotation object constructed with the information from the specified file.