public class LoadExternsParser extends DefaultHandler
-link-report
option.
-load-externs
option uses this parser to collect QNames to put to
externs.Constructor and Description |
---|
LoadExternsParser() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
collectExterns(ConfigurationValue cfgval,
IFileSpecification file)
Collect externs from the given report file.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public static List<String> collectExterns(ConfigurationValue cfgval, IFileSpecification file) throws ConfigurationException.ConfigurationIOError
cfgval
- configuration valuefile
- report fileConfigurationException.ConfigurationIOError
- errorpublic void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
Copyright © 2016 The Apache Software Foundation. All rights reserved.