Class XsdGenerator

  • All Implemented Interfaces:
    org.codehaus.modello.plugin.ModelloGenerator

    @Named("xsd")
    public class XsdGenerator
    extends org.codehaus.modello.plugins.xml.AbstractXmlGenerator
    Author:
    Brett Porter
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String LS  
    • Constructor Summary

      Constructors 
      Constructor Description
      XsdGenerator()  
    • 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)  
      • Methods inherited from class org.codehaus.modello.plugins.xml.AbstractXmlGenerator

        getContentField, getFieldsForXml, getXmlAttributeFields, hasContentField, initHeader, resolveTagName, resolveTagName, resolveTagName
      • Methods inherited from class org.codehaus.modello.plugin.AbstractModelloGenerator

        capitalise, getBuildContext, getEncoding, getFieldsForClass, getGeneratedHeader, getGeneratedVersion, getHeader, getLicenseHeader, getLogger, getModel, getOutputDirectory, getParameter, initialize, 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
    • Field Detail

      • LS

        protected static final java.lang.String LS
    • Constructor Detail

      • XsdGenerator

        public XsdGenerator()
    • Method Detail

      • 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