org.deptool.collection.xml
Class XMLDependencyCollection
java.lang.Object
org.deptool.ProgressNotifier
org.deptool.collection.AbstractDependencyCollection
org.deptool.collection.xml.XMLDependencyCollection
- All Implemented Interfaces:
- DependencyCollection
- Direct Known Subclasses:
- FileCacheRepositoryCollection
public class XMLDependencyCollection
- extends AbstractDependencyCollection
- implements DependencyCollection
Reads a file containing an XML Representation of a dependency collection.
- Author:
- cbozic
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLDependencyCollection
public XMLDependencyCollection()
XMLDependencyCollection
public XMLDependencyCollection(java.lang.String dependencyFileName)
getProjectName
public java.lang.String getProjectName()
getProjectId
public java.lang.String getProjectId()
getProjectShortDescription
public java.lang.String getProjectShortDescription()
getProjectArtifactId
public java.lang.String getProjectArtifactId()
getProjectVersion
public java.lang.String getProjectVersion()
loadDependencies
protected java.util.HashSet<Dependency> loadDependencies()
- Description copied from class:
AbstractDependencyCollection
- Called once to get the initial dependency list
- Specified by:
loadDependencies
in class AbstractDependencyCollection
- Returns:
getDocument
public org.w3c.dom.Document getDocument()
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
- Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
Copyright © 2006 . All Rights Reserved.