public class ManifestParser extends org.xml.sax.helpers.DefaultHandler
| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
ManifestParser.IncludedFileReader
A callback to read included xml files. 
 | 
| Constructor and Description | 
|---|
ManifestParser(ManifestParser.IncludedFileReader includedReader,
              String filename,
              String defaultBranch,
              String baseUrl,
              String groups,
              Repository rootRepo)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
endDocument()  | 
void | 
endElement(String uri,
          String localName,
          String qName)  | 
List<RepoProject> | 
getFilteredProjects()
Getter for filterdProjects. 
 | 
List<RepoProject> | 
getProjects()
Getter for projects. 
 | 
void | 
read(InputStream inputStream)
Read the xml file. 
 | 
void | 
startElement(String uri,
            String localName,
            String qName,
            Attributes attributes)  | 
characters, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic ManifestParser(ManifestParser.IncludedFileReader includedReader, String filename, String defaultBranch, String baseUrl, String groups, Repository rootRepo)
includedReader - filename - defaultBranch - baseUrl - groups - rootRepo - public void read(InputStream inputStream) throws IOException
inputStream - IOExceptionpublic void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endDocument()
                 throws SAXException
endDocument in interface ContentHandlerendDocument in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic List<RepoProject> getProjects()
public List<RepoProject> getFilteredProjects()
Copyright © 2015 Eclipse JGit Project. All rights reserved.