org.codehaus.modello.plugin.xpp3
Class Xpp3ExtendedReaderGenerator

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.codehaus.modello.plugin.AbstractModelloGenerator
          extended by org.codehaus.modello.plugin.java.AbstractJavaModelloGenerator
              extended by org.codehaus.modello.plugins.xml.AbstractXmlJavaGenerator
                  extended by org.codehaus.modello.plugin.xpp3.AbstractXpp3Generator
                      extended by org.codehaus.modello.plugin.xpp3.Xpp3ReaderGenerator
                          extended by org.codehaus.modello.plugin.xpp3.Xpp3ExtendedReaderGenerator
All Implemented Interfaces:
ModelloGenerator, org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class Xpp3ExtendedReaderGenerator
extends Xpp3ReaderGenerator

The generator for XPP3-based parsers that support input location tracking.

Author:
Benjamin Bentmann

Field Summary
 
Fields inherited from class org.codehaus.modello.plugins.xml.AbstractXmlJavaGenerator
strictXmlAttributes
 
Fields inherited from class org.codehaus.modello.plugin.java.AbstractJavaModelloGenerator
DEFAULT_DATE_FORMAT, useJava5
 
Constructor Summary
Xpp3ExtendedReaderGenerator()
           
 
Method Summary
protected  boolean isLocationTracking()
           
protected  boolean isRelevant(ModelClass modelClass)
           
 
Methods inherited from class org.codehaus.modello.plugin.xpp3.Xpp3ReaderGenerator
generate
 
Methods inherited from class org.codehaus.modello.plugins.xml.AbstractXmlJavaGenerator
getContentField, getFieldsForXml, getFileName, getValue, initialize, resolveTagName, resolveTagName, resolveTagName, writeDateParsingHelper
 
Methods inherited from class org.codehaus.modello.plugin.java.AbstractJavaModelloGenerator
addModelImports, getClasses, getDefaultValue, getJavaDefaultValue, getPrefix, getValueChecker, initHeader, initHeader, isJavaEnabled, isTrackingSupport, newJSourceWriter, suppressAllWarnings
 
Methods inherited from class org.codehaus.modello.plugin.AbstractModelloGenerator
capitalise, contextualize, getBuildContext, getEncoding, getFieldsForClass, getGeneratedVersion, getHeader, getModel, getOutputDirectory, getParameter, getParameter, getParameter, isClassInModel, isCollection, isEmpty, isInnerAssociation, isMap, isPackageWithVersion, singular, uncapitalise
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Xpp3ExtendedReaderGenerator

public Xpp3ExtendedReaderGenerator()
Method Detail

isRelevant

protected boolean isRelevant(ModelClass modelClass)
Overrides:
isRelevant in class AbstractJavaModelloGenerator

isLocationTracking

protected boolean isLocationTracking()
Overrides:
isLocationTracking in class Xpp3ReaderGenerator


Copyright © 2001-2011 Codehaus. All Rights Reserved.