org.apache.maven.plugin.jira
Class JiraXML
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.maven.plugin.jira.JiraXML
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
- public class JiraXML
- extends DefaultHandler
XML parser for JiraIssue
s. This works on an XML file downloaded
from JIRA and creates a List of issues that is exposed to the user of the
class.
- Version:
- $Id: JiraXML.html 816584 2012-05-08 12:33:35Z hboutemy $
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraXML
public JiraXML(File xmlPath)
startElement
public void startElement(String namespaceURI,
String sName,
String qName,
Attributes attrs)
throws SAXException
- Throws:
SAXException
endElement
public void endElement(String namespaceURI,
String sName,
String qName)
throws SAXException
- Throws:
SAXException
characters
public void characters(char[] buf,
int offset,
int len)
throws SAXException
- Throws:
SAXException
getIssueList
public List getIssueList()
getReleases
public static List getReleases(List issues)
Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.