org.apache.ws.jaxme.js.pattern
Class SourceReflector

java.lang.Object
  extended by org.apache.ws.jaxme.js.pattern.SourceReflector
All Implemented Interfaces:
Reflector

public class SourceReflector
extends java.lang.Object
implements Reflector

Reflector for gathering information about a Java source file.


Constructor Summary
SourceReflector(java.io.File pFile)
          Creates a new SourceReflector, which is going to read the Java source file pFile.
SourceReflector(java.net.URL pURL)
          Creates a new SourceReflector, which is going to read the Java source file from pURL.
 
Method Summary
 JavaSource getJavaSource(JavaSourceFactory pFactory)
          Returns the converted information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceReflector

public SourceReflector(java.io.File pFile)
Creates a new SourceReflector, which is going to read the Java source file pFile.


SourceReflector

public SourceReflector(java.net.URL pURL)
Creates a new SourceReflector, which is going to read the Java source file from pURL.

Method Detail

getJavaSource

public JavaSource getJavaSource(JavaSourceFactory pFactory)
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException,
                                java.io.IOException
Description copied from interface: Reflector
Returns the converted information.

Specified by:
getJavaSource in interface Reflector
Throws:
antlr.RecognitionException
antlr.TokenStreamException
java.io.IOException