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
FieldsModifier and TypeFieldDescriptionprotected org.codehaus.modello.model.ModelClassprotected booleanprotected org.codehaus.modello.model.ModelClassFields inherited from class org.codehaus.modello.plugins.xml.AbstractXmlJavaGenerator
strictXmlAttributesFields inherited from class org.codehaus.modello.plugin.java.AbstractJavaModelloGenerator
DEFAULT_DATE_FORMAT, domAsXpp3 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinitialize(org.codehaus.modello.model.Model model, Map<String, Object> parameters) protected booleanMethods inherited from class org.codehaus.modello.plugins.xml.AbstractXmlJavaGenerator
getContentField, getFieldsForXml, getFileName, getValue, resolveTagName, resolveTagName, resolveTagName, writeDateParsingHelperMethods inherited from class org.codehaus.modello.plugin.java.AbstractJavaModelloGenerator
addModelImport, addModelImports, getClasses, getDefaultValue, getJavaDefaultValue, getPrefix, getValueChecker, initHeader, initHeader, isJavaEnabled, isRelevant, isTrackingSupport, newJSourceWriter, suppressAllWarningsMethods 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, uncapitaliseMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-