org.objectweb.speedo.generation.mivisitor
Class MetaInfoVisitorImpl

java.lang.Object
  extended by org.objectweb.speedo.generation.lib.AbstractGeneratorComponent
      extended by org.objectweb.speedo.generation.mivisitor.AbstractMetaInfoVisitor
          extended by org.objectweb.speedo.generation.mivisitor.MetaInfoVisitorImpl
All Implemented Interfaces:
GeneratorComponent, MetaInfoVisitor
Direct Known Subclasses:
Recompiler, UpToDateVisitor

public class MetaInfoVisitorImpl
extends AbstractMetaInfoVisitor

This class is the default implementation of the Speedo Meta information visitor. By default it does nothing and follow the Meta information visit on the next visitor.

Author:
S.Chassande-Barrioz

Field Summary
 
Fields inherited from class org.objectweb.speedo.generation.mivisitor.AbstractMetaInfoVisitor
LOGGER_NAME
 
Fields inherited from class org.objectweb.speedo.generation.lib.AbstractGeneratorComponent
debug, logger, personality, scp
 
Constructor Summary
MetaInfoVisitorImpl(MetaInfoVisitor mim, Personality p)
          builds a MetaInfoVisitor which is the last of the chain
MetaInfoVisitorImpl(Personality p)
          builds a MetaInfoVisitor which is the last of the chain
 
Method Summary
 void visitClass(SpeedoClass sc)
           
 void visitCompilerParameter(SpeedoCompilerParameter cp)
           
 void visitField(SpeedoField sf)
           
 void visitPackage(SpeedoPackage sp)
           
 void visitXml(SpeedoXMLDescriptor xml)
           
 
Methods inherited from class org.objectweb.speedo.generation.mivisitor.AbstractMetaInfoVisitor
getLoggerName, getNext, getSpeedoClass, init, process, setNext, visitEnd, visitEndClass, visitExtension, visitIndex, visitSequence
 
Methods inherited from class org.objectweb.speedo.generation.lib.AbstractGeneratorComponent
getLogger, getSpeedoCompilerParameter, getSummary, getTitle, setLogger, setSpeedoCompilerParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaInfoVisitorImpl

public MetaInfoVisitorImpl(Personality p)
builds a MetaInfoVisitor which is the last of the chain


MetaInfoVisitorImpl

public MetaInfoVisitorImpl(MetaInfoVisitor mim,
                           Personality p)
builds a MetaInfoVisitor which is the last of the chain

Method Detail

visitCompilerParameter

public void visitCompilerParameter(SpeedoCompilerParameter cp)
                            throws SpeedoException
Specified by:
visitCompilerParameter in interface MetaInfoVisitor
Overrides:
visitCompilerParameter in class AbstractMetaInfoVisitor
Throws:
SpeedoException

visitXml

public void visitXml(SpeedoXMLDescriptor xml)
              throws SpeedoException
Specified by:
visitXml in interface MetaInfoVisitor
Overrides:
visitXml in class AbstractMetaInfoVisitor
Throws:
SpeedoException

visitPackage

public void visitPackage(SpeedoPackage sp)
                  throws SpeedoException
Specified by:
visitPackage in interface MetaInfoVisitor
Overrides:
visitPackage in class AbstractMetaInfoVisitor
Throws:
SpeedoException

visitClass

public void visitClass(SpeedoClass sc)
                throws SpeedoException
Specified by:
visitClass in interface MetaInfoVisitor
Overrides:
visitClass in class AbstractMetaInfoVisitor
Throws:
SpeedoException

visitField

public void visitField(SpeedoField sf)
                throws SpeedoException
Specified by:
visitField in interface MetaInfoVisitor
Overrides:
visitField in class AbstractMetaInfoVisitor
Throws:
SpeedoException