org.ablaf.lexer
Class LexerFactory

java.lang.Object
  extended byorg.ablaf.lexer.LexerFactory

public final class LexerFactory
extends java.lang.Object

Provides factory methods for creating default implementations of the interfaces in the org.ablaf.lexer package. This implements the singleton pattern.

Version:
$Revision: 1.2 $
Author:
jpetersen

Constructor Summary
LexerFactory()
           
 
Method Summary
static LexerFactory getInstance()
           
 ILexerSource getSource(java.lang.String name, java.io.Reader content)
           
 ILexerSource getSource(java.lang.String name, java.lang.String content)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LexerFactory

public LexerFactory()
Method Detail

getInstance

public static LexerFactory getInstance()

getSource

public ILexerSource getSource(java.lang.String name,
                              java.lang.String content)

getSource

public ILexerSource getSource(java.lang.String name,
                              java.io.Reader content)


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.