org.codehaus.groovy.maven.runtime.support.stubgen.model
Class ModelFactorySupport
java.lang.Object
org.codehaus.groovy.maven.runtime.support.stubgen.model.ModelFactorySupport
- All Implemented Interfaces:
- ModelFactory
- Direct Known Subclasses:
- ModelFactoryImpl, ModelFactoryImpl, ModelFactoryImpl
public abstract class ModelFactorySupport
- extends java.lang.Object
- implements ModelFactory
Provides support for ModelFactory
implementations.
- Version:
- $Id: ModelFactorySupport.java 13181 2008-08-10 14:05:55Z user57 $
- Author:
- Jason Dillon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
protected final ParserFactory factory
parser
protected Parser parser
lastNode
protected Node lastNode
source
protected SourceDef source
clazz
protected ClassDef clazz
ModelFactorySupport
protected ModelFactorySupport(ParserFactory factory)
create
public SourceDef create(java.net.URL input)
throws java.lang.Exception
- Specified by:
create
in interface ModelFactory
- Throws:
java.lang.Exception
createRoot
protected SourceDef createRoot(java.net.URL input)
addDefaultImports
protected abstract void addDefaultImports(SourceDef model)
process
protected void process(Node node)
packageDef
protected void packageDef(Node parent)
importDef
protected void importDef(Node parent)
interfaceDef
protected void interfaceDef(Node parent)
classDef
protected void classDef(Node parent)
objectBlock
protected void objectBlock(Node parent)
constructorDef
protected void constructorDef(Node parent)
superParameters
protected void superParameters(ConstructorDef target,
Node parent)
superParameter
protected void superParameter(ConstructorDef target,
Node parent)
methodDef
protected void methodDef(Node parent)
fieldDef
protected void fieldDef(Node parent)
name
protected Node name(NameAware target,
Node node)
modifiers
protected Node modifiers(ModifiersAware target,
Node parent)
interfaces
protected java.util.Set interfaces(Node parent)
throwz
protected Node throwz(ThrowsAware target,
Node parent)
parameters
protected Node parameters(ParametersAware target,
Node parent)
parameter
protected ParameterDef parameter(Node parent)
type
protected TypeDef type(Node parent)
javadocs
protected void javadocs(JavaDocAware target,
Node node)
qualifiedName
protected java.lang.String qualifiedName(Node parent)
identifier
protected java.lang.String identifier(Node node)
Copyright © 2006-2010 Codehaus. All Rights Reserved.