org.apache.torque.mojo.morph
Class Morpher

java.lang.Object
  extended by org.apache.torque.mojo.morph.Morpher
Direct Known Subclasses:
DataMorpher, SchemaMorpher, VersionTableMorpher

public abstract class Morpher
extends Object


Field Summary
(package private)  String artifactId
           
private static org.apache.commons.logging.Log log
           
(package private)  MorphRequest morphRequest
           
 
Constructor Summary
Morpher()
           
Morpher(MorphRequest morphRequest, String artifactId)
           
 
Method Summary
 void executeMorph()
           
 String getArtifactId()
           
protected abstract  String getMorphedContents(String contents)
           
 MorphRequest getMorphRequest()
           
protected abstract  boolean isMorphNeeded(String contents)
           
 void setArtifactId(String schema)
           
 void setMorphRequest(MorphRequest morphRequest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.apache.commons.logging.Log log

morphRequest

MorphRequest morphRequest

artifactId

String artifactId
Constructor Detail

Morpher

public Morpher()

Morpher

public Morpher(MorphRequest morphRequest,
               String artifactId)
Method Detail

isMorphNeeded

protected abstract boolean isMorphNeeded(String contents)

getMorphedContents

protected abstract String getMorphedContents(String contents)

executeMorph

public void executeMorph()
                  throws IOException
Throws:
IOException

getMorphRequest

public MorphRequest getMorphRequest()

setMorphRequest

public void setMorphRequest(MorphRequest morphRequest)

getArtifactId

public String getArtifactId()

setArtifactId

public void setArtifactId(String schema)


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.