ModelloGenerator
, org.codehaus.plexus.logging.LogEnabled
, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
StaxReaderGenerator
, StaxSerializerGenerator
, StaxWriterGenerator
public abstract class AbstractStaxGenerator extends AbstractXmlJavaGenerator
DEFAULT_DATE_FORMAT, domAsXpp3, useJava5
strictXmlAttributes
Constructor | Description |
---|---|
AbstractStaxGenerator() |
Modifier and Type | Method | Description |
---|---|---|
protected ModelField |
getReferenceIdentifierField(ModelAssociation association) |
|
protected void |
initialize(Model model,
Properties parameters) |
|
protected boolean |
isAssociationPartToClass(ModelClass modelClass) |
addModelImports, getClasses, getDefaultValue, getJavaDefaultValue, getPrefix, getValueChecker, initHeader, initHeader, isJavaEnabled, isRelevant, isTrackingSupport, newJSourceWriter, suppressAllWarnings
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
capitalise, contextualize, getBuildContext, getEncoding, getFieldsForClass, getGeneratedVersion, getHeader, getModel, getOutputDirectory, getParameter, getParameter, getParameter, isClassInModel, isCollection, isEmpty, isInnerAssociation, isMap, isPackageWithVersion, singular, uncapitalise
getContentField, getFieldsForXml, getFileName, getValue, resolveTagName, resolveTagName, resolveTagName, writeDateParsingHelper
generate
protected void initialize(Model model, Properties parameters) throws ModelloException
initialize
in class AbstractXmlJavaGenerator
ModelloException
protected ModelField getReferenceIdentifierField(ModelAssociation association) throws ModelloException
ModelloException
protected boolean isAssociationPartToClass(ModelClass modelClass)
Copyright © 2001–2018 Codehaus Plexus. All rights reserved.