public class SAXBugCollectionHandler extends org.xml.sax.helpers.DefaultHandler
Constructor and Description |
---|
SAXBugCollectionHandler(BugCollection bugCollection) |
SAXBugCollectionHandler(BugCollection bugCollection,
File base) |
SAXBugCollectionHandler(Filter filter,
File base) |
SAXBugCollectionHandler(Project project,
File base) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
boolean |
discardedElement(String qName) |
void |
endElement(String uri,
String name,
String qName) |
String |
getOptionalAttribute(Attributes attributes,
String qName) |
String |
getTextContents() |
void |
startElement(String uri,
String name,
String qName,
Attributes attributes) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public SAXBugCollectionHandler(BugCollection bugCollection, @CheckForNull File base)
public SAXBugCollectionHandler(BugCollection bugCollection)
public String getOptionalAttribute(Attributes attributes, String qName)
public boolean discardedElement(String qName)
public String getTextContents()
public void startElement(String uri, String name, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void endElement(String uri, String name, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
Copyright © 2003–2015. All rights reserved.