org.apache.ws.jaxme.js.pattern

Class SourceReflector

Implemented Interfaces:
Reflector

public class SourceReflector
extends java.lang.Object
implements Reflector

Reflector for gathering information about a Java source file.

Constructor Summary

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

Method Summary

JavaSource
getJavaSource(JavaSourceFactory pFactory)

Constructor Details

SourceReflector

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

SourceReflector

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

Method Details

getJavaSource

public JavaSource getJavaSource(JavaSourceFactory pFactory)
            throws RecognitionException,
                   TokenStreamException,
                   IOException
Specified by:
getJavaSource in interface Reflector