Class Xpp3WriterGenerator

    • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void generate​(org.codehaus.modello.model.Model model, java.util.Map<java.lang.String,​java.lang.Object> parameters)  
      protected void initialize​(org.codehaus.modello.model.Model model, java.util.Map<java.lang.String,​java.lang.Object> parameters)  
      protected void prepareLocationTracking​(org.codehaus.modello.plugin.java.javasource.JClass jClass)  
      protected void writeLocationTracking​(org.codehaus.modello.plugin.java.javasource.JSourceCode sc, java.lang.String name, java.lang.String key)  
      • 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, 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 Detail

      • Xpp3WriterGenerator

        public Xpp3WriterGenerator()
    • Method Detail

      • prepareLocationTracking

        protected void prepareLocationTracking​(org.codehaus.modello.plugin.java.javasource.JClass jClass)
      • writeLocationTracking

        protected void writeLocationTracking​(org.codehaus.modello.plugin.java.javasource.JSourceCode sc,
                                             java.lang.String name,
                                             java.lang.String key)
      • initialize

        protected void initialize​(org.codehaus.modello.model.Model model,
                                  java.util.Map<java.lang.String,​java.lang.Object> parameters)
                           throws org.codehaus.modello.ModelloException
        Overrides:
        initialize in class AbstractXpp3Generator
        Throws:
        org.codehaus.modello.ModelloException
      • generate

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