org.sonatype.tycho.versions.pom
Class MutablePomFile

java.lang.Object
  extended by org.sonatype.tycho.versions.pom.MutablePomFile

public class MutablePomFile
extends Object


Constructor Summary
MutablePomFile(de.pdark.decentxml.Document pom)
           
 
Method Summary
 String getArtifactId()
           
 List<GAV> getDependencies()
           
 DependencyManagement getDependencyManagement()
           
 String getEffectiveGroupId()
           
 String getEffectiveVersion()
           
 String getGroupId()
           
 List<String> getModules()
           
 String getPackaging()
           
 GAV getParent()
           
 String getParentVersion()
           
 List<Profile> getProfiles()
           
 String getVersion()
           
static MutablePomFile read(File file)
           
static MutablePomFile read(InputStream input)
           
 void setParentVersion(String newVersion)
           
 void setVersion(String version)
           
static void write(MutablePomFile pom, File file)
           
static void write(MutablePomFile pom, OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MutablePomFile

public MutablePomFile(de.pdark.decentxml.Document pom)
Method Detail

read

public static MutablePomFile read(File file)
                           throws IOException
Throws:
IOException

read

public static MutablePomFile read(InputStream input)
                           throws IOException
Throws:
IOException

write

public static void write(MutablePomFile pom,
                         OutputStream out)
                  throws IOException
Throws:
IOException

write

public static void write(MutablePomFile pom,
                         File file)
                  throws IOException
Throws:
IOException

setVersion

public void setVersion(String version)

setParentVersion

public void setParentVersion(String newVersion)

getVersion

public String getVersion()

getEffectiveVersion

public String getEffectiveVersion()

getPackaging

public String getPackaging()

getParentVersion

public String getParentVersion()

getGroupId

public String getGroupId()

getEffectiveGroupId

public String getEffectiveGroupId()

getArtifactId

public String getArtifactId()

getParent

public GAV getParent()

getModules

public List<String> getModules()

getProfiles

public List<Profile> getProfiles()

getDependencyManagement

public DependencyManagement getDependencyManagement()

getDependencies

public List<GAV> getDependencies()


Copyright © 2008-2011. All Rights Reserved.