org.codehaus.modello.plugin.stax
Class AbstractStaxGenerator
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.modello.plugin.AbstractModelloGenerator
org.codehaus.modello.plugin.java.AbstractJavaModelloGenerator
org.codehaus.modello.plugins.xml.AbstractXmlJavaGenerator
org.codehaus.modello.plugin.stax.AbstractStaxGenerator
- All Implemented Interfaces:
- ModelloGenerator, org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
- Direct Known Subclasses:
- StaxReaderGenerator, StaxSerializerGenerator, StaxWriterGenerator
public abstract class AbstractStaxGenerator
- extends AbstractXmlJavaGenerator
- Version:
- $Id: AbstractStaxGenerator.java 1413 2010-02-13 21:23:01Z hboutemy $
- Author:
- Trygve Laugstøl
Methods inherited from class org.codehaus.modello.plugin.java.AbstractJavaModelloGenerator |
addModelImports, getClasses, getDefaultValue, getJavaDefaultValue, getPrefix, getValueChecker, initHeader, initHeader, isJavaEnabled, isRelevant, isTrackingSupport, newJSourceWriter, suppressAllWarnings |
Methods inherited from class org.codehaus.modello.plugin.AbstractModelloGenerator |
capitalise, contextualize, getBuildContext, getEncoding, getFieldsForClass, getGeneratedVersion, getHeader, getModel, getOutputDirectory, getParameter, getParameter, getParameter, isClassInModel, isCollection, isEmpty, isInnerAssociation, isMap, isPackageWithVersion, singular, uncapitalise |
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractStaxGenerator
public AbstractStaxGenerator()
initialize
protected void initialize(Model model,
Properties parameters)
throws ModelloException
- Overrides:
initialize
in class AbstractXmlJavaGenerator
- Throws:
ModelloException
getReferenceIdentifierField
protected ModelField getReferenceIdentifierField(ModelAssociation association)
throws ModelloException
- Throws:
ModelloException
isAssociationPartToClass
protected boolean isAssociationPartToClass(ModelClass modelClass)
Copyright © 2001-2012 Codehaus. All Rights Reserved.