Package org.jenkinsci.plugins.p4.changes
Class P4ChangeParser.ChangeLogHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.jenkinsci.plugins.p4.changes.P4ChangeParser.ChangeLogHandler
-
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
- Enclosing class:
- P4ChangeParser
public static class P4ChangeParser.ChangeLogHandler extends DefaultHandler
-
-
Constructor Summary
Constructors Constructor Description ChangeLogHandler(Run<?,?> run, RepositoryBrowser<?> browser, ConnectionHelper p4)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcharacters(char[] ch, int start, int length)voidendDocument()voidendElement(String uri, String localName, String qName)P4ChangeSetgetChangeLogSet()voidstartDocument()voidstartElement(String uri, String localName, String qName, Attributes attributes)-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Constructor Detail
-
ChangeLogHandler
public ChangeLogHandler(Run<?,?> run, RepositoryBrowser<?> browser, ConnectionHelper p4) throws com.perforce.p4java.exception.P4JavaException
- Throws:
com.perforce.p4java.exception.P4JavaException
-
-
Method Detail
-
characters
public void characters(char[] ch, int start, int length) throws SAXException- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler- Throws:
SAXException
-
startDocument
public void startDocument() throws SAXException- Specified by:
startDocumentin interfaceContentHandler- Overrides:
startDocumentin classDefaultHandler- Throws:
SAXException
-
endDocument
public void endDocument() throws SAXException- Specified by:
endDocumentin interfaceContentHandler- Overrides:
endDocumentin classDefaultHandler- Throws:
SAXException
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
endElement
public void endElement(String uri, String localName, String qName) throws SAXException
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler- Throws:
SAXException
-
getChangeLogSet
public P4ChangeSet getChangeLogSet()
-
-