Class SaxWriterGenerator

java.lang.Object
org.codehaus.modello.plugin.AbstractModelloGenerator
org.codehaus.modello.plugin.java.AbstractJavaModelloGenerator
org.codehaus.modello.plugins.xml.AbstractXmlJavaGenerator
org.codehaus.modello.plugin.sax.SaxWriterGenerator
All Implemented Interfaces:
org.codehaus.modello.plugin.ModelloGenerator

@Named("sax-writer") public class SaxWriterGenerator extends org.codehaus.modello.plugins.xml.AbstractXmlJavaGenerator
Since:
1.8
Author:
Simone Tripodi
  • 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, domAsXpp3
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    generate(org.codehaus.modello.model.Model model, Map<String,Object> parameters)
     

    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

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

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

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SaxWriterGenerator

      public SaxWriterGenerator()
  • Method Details

    • generate

      public void generate(org.codehaus.modello.model.Model model, Map<String,Object> parameters) throws org.codehaus.modello.ModelloException
      Throws:
      org.codehaus.modello.ModelloException