Class AbstractXpp3Generator

java.lang.Object
org.codehaus.modello.plugin.AbstractModelloGenerator
org.codehaus.modello.plugin.java.AbstractJavaModelloGenerator
org.codehaus.modello.plugins.xml.AbstractXmlJavaGenerator
org.codehaus.modello.plugin.xpp3.AbstractXpp3Generator
All Implemented Interfaces:
org.codehaus.modello.plugin.ModelloGenerator
Direct Known Subclasses:
Xpp3ReaderGenerator, Xpp3WriterGenerator

public abstract class AbstractXpp3Generator extends org.codehaus.modello.plugins.xml.AbstractXmlJavaGenerator
Author:
Trygve Laugstøl
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.codehaus.modello.model.ModelClass
     
    protected boolean
     
    protected org.codehaus.modello.model.ModelClass
     

    Fields inherited from class org.codehaus.modello.plugins.xml.AbstractXmlJavaGenerator

    strictXmlAttributes

    Fields inherited from class org.codehaus.modello.plugin.java.AbstractJavaModelloGenerator

    DEFAULT_DATE_FORMAT, domAsXpp3
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    initialize(org.codehaus.modello.model.Model model, Properties parameters)
     
    protected boolean
     

    Methods inherited from class org.codehaus.modello.plugins.xml.AbstractXmlJavaGenerator

    getContentField, getFieldsForXml, getFileName, getValue, resolveTagName, resolveTagName, resolveTagName, writeDateParsingHelper

    Methods inherited from class org.codehaus.modello.plugin.java.AbstractJavaModelloGenerator

    addModelImport, addModelImports, getClasses, getDefaultValue, getJavaDefaultValue, getPrefix, getValueChecker, hasJavaSourceSupport, initHeader, initHeader, isJavaEnabled, isRelevant, isTrackingSupport, newJSourceWriter, suppressAllWarnings

    Methods inherited from class org.codehaus.modello.plugin.AbstractModelloGenerator

    capitalise, getBuildContext, getEncoding, getFieldsForClass, getGeneratedVersion, getHeader, getLogger, getModel, getOutputDirectory, getParameter, getParameter, getParameter, isClassInModel, isCollection, isEmpty, isInnerAssociation, isMap, isPackageWithVersion, newWriter, newWriter, singular, uncapitalise

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.codehaus.modello.plugin.ModelloGenerator

    generate
  • Field Details

    • requiresDomSupport

      protected boolean requiresDomSupport
    • locationTracker

      protected org.codehaus.modello.model.ModelClass locationTracker
    • sourceTracker

      protected org.codehaus.modello.model.ModelClass sourceTracker
  • Constructor Details

    • AbstractXpp3Generator

      public AbstractXpp3Generator()
  • Method Details

    • isLocationTracking

      protected boolean isLocationTracking()
    • initialize

      protected void initialize(org.codehaus.modello.model.Model model, Properties parameters) throws org.codehaus.modello.ModelloException
      Overrides:
      initialize in class org.codehaus.modello.plugins.xml.AbstractXmlJavaGenerator
      Throws:
      org.codehaus.modello.ModelloException