org.objectweb.jac.core
Class ParserImpl
java.lang.Object
|
+--org.objectweb.jac.core.ParserImpl
- All Implemented Interfaces:
- Parser
- public class ParserImpl
- extends Object
- implements Parser
This is the default implementation for the aspect-configuration files.
For the moment, it supports XML and ACC formats.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParserImpl
public ParserImpl()
parse
public List parse(String filePath,
String targetClass,
Set blockKeywords)
throws IOException
- Description copied from interface:
Parser
- Parse config file specified by its file path.
- Specified by:
parse
in interface Parser
- Parameters:
filePath
- path of file to parsetargetClass
- the class name of the aspect componentblockKeywords
- additional block keywords to factorize
configuration methods
IOException
parse
public List parse(InputStream inputStream,
String filePath,
String targetClass,
Set blockKeywords)
- Description copied from interface:
Parser
- Parse a stream.
- Specified by:
parse
in interface Parser
- Parameters:
inputStream
- the stream to parsefilePath
- path of file corresponding to the input streamtargetClass
- the class name of the aspect componentblockKeywords
- additional block keywords to factorize
configuration methods