public abstract class AbstractStaxGenerator extends AbstractXmlJavaGenerator
Modifier and Type | Field and Description |
---|---|
private java.util.Set<ModelClass> |
parts |
strictXmlAttributes
DEFAULT_DATE_FORMAT, domAsXpp3, useJava5
Constructor and Description |
---|
AbstractStaxGenerator() |
Modifier and Type | Method and Description |
---|---|
protected ModelField |
getReferenceIdentifierField(ModelAssociation association) |
protected void |
initialize(Model model,
java.util.Properties parameters) |
protected boolean |
isAssociationPartToClass(ModelClass modelClass) |
getContentField, getFieldsForXml, getFileName, getValue, resolveTagName, resolveTagName, resolveTagName, writeDateParsingHelper
addModelImport, addModelImports, getClasses, getDefaultValue, getJavaDefaultValue, getPrefix, getValueChecker, initHeader, initHeader, isJavaEnabled, isRelevant, isTrackingSupport, newJSourceWriter, suppressAllWarnings
capitalise, contextualize, getBuildContext, getEncoding, getFieldsForClass, getGeneratedVersion, getHeader, getModel, getOutputDirectory, getParameter, getParameter, getParameter, isClassInModel, isCollection, isEmpty, isInnerAssociation, isMap, isPackageWithVersion, singular, uncapitalise
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generate
private java.util.Set<ModelClass> parts
protected void initialize(Model model, java.util.Properties parameters) throws ModelloException
initialize
in class AbstractXmlJavaGenerator
ModelloException
protected ModelField getReferenceIdentifierField(ModelAssociation association) throws ModelloException
ModelloException
protected boolean isAssociationPartToClass(ModelClass modelClass)