org.jsmiparser.parser
Class SmiDefaultParser

java.lang.Object
  extended by org.jsmiparser.parser.SmiDefaultParser
All Implemented Interfaces:
SmiParser

public class SmiDefaultParser
extends java.lang.Object
implements SmiParser


Field Summary
protected  ErrorCheckPhase m_errorCheckPhase
           
protected  boolean m_failOnError
           
protected  FileParserPhase m_fileParserPhase
           
protected  ProblemReporterFactory m_problemReporterFactory
           
protected  XRefPhase m_xRefPhase
           
 
Constructor Summary
SmiDefaultParser()
           
SmiDefaultParser(ProblemEventHandler problemEventHandler)
           
SmiDefaultParser(ProblemReporterFactory problemReporterFactory)
           
 
Method Summary
protected  FileParserPhase createFileParserPhase()
           
protected  XRefPhase createXRefPhase()
           
 ErrorCheckPhase getErrorCheckPhase()
           
 FileParserPhase getFileParserPhase()
           
 ProblemEventHandler getProblemEventHandler()
           
 ProblemReporterFactory getProblemReporterFactory()
           
 XRefPhase getXRefPhase()
           
 boolean isFailOnError()
           
 SmiMib parse()
           
 void setErrorCheckPhase(ErrorCheckPhase errorCheckPhase)
           
 void setFailOnError(boolean failOnError)
           
 void setFileParserPhase(FileParserPhase fileParserPhase)
           
 void setProblemReporterFactory(ProblemReporterFactory problemReporterFactory)
           
 void setXRefPhase(XRefPhase xrefPhase)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_failOnError

protected boolean m_failOnError

m_problemReporterFactory

protected ProblemReporterFactory m_problemReporterFactory

m_fileParserPhase

protected FileParserPhase m_fileParserPhase

m_xRefPhase

protected XRefPhase m_xRefPhase

m_errorCheckPhase

protected ErrorCheckPhase m_errorCheckPhase
Constructor Detail

SmiDefaultParser

public SmiDefaultParser()

SmiDefaultParser

public SmiDefaultParser(ProblemEventHandler problemEventHandler)

SmiDefaultParser

public SmiDefaultParser(ProblemReporterFactory problemReporterFactory)
Method Detail

parse

public SmiMib parse()
             throws SmiException
Specified by:
parse in interface SmiParser
Throws:
SmiException

createFileParserPhase

protected FileParserPhase createFileParserPhase()

createXRefPhase

protected XRefPhase createXRefPhase()

getProblemEventHandler

public ProblemEventHandler getProblemEventHandler()

getProblemReporterFactory

public ProblemReporterFactory getProblemReporterFactory()

setProblemReporterFactory

public void setProblemReporterFactory(ProblemReporterFactory problemReporterFactory)

getFileParserPhase

public FileParserPhase getFileParserPhase()

setFileParserPhase

public void setFileParserPhase(FileParserPhase fileParserPhase)

getXRefPhase

public XRefPhase getXRefPhase()

setXRefPhase

public void setXRefPhase(XRefPhase xrefPhase)

getErrorCheckPhase

public ErrorCheckPhase getErrorCheckPhase()

setErrorCheckPhase

public void setErrorCheckPhase(ErrorCheckPhase errorCheckPhase)

isFailOnError

public boolean isFailOnError()

setFailOnError

public void setFailOnError(boolean failOnError)


Copyright © 2005-2007 null. All Rights Reserved.