public class PatternRuleLoader
extends DefaultHandler
PatternRules from an XML file.| Constructor and Description |
|---|
PatternRuleLoader() |
| Modifier and Type | Method and Description |
|---|---|
List<PatternRule> |
getRules(InputStream is,
String filename) |
void |
main(String[] args)
Testing only.
|
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warningpublic final List<PatternRule> getRules(InputStream is, String filename) throws IOException
is - stream with the XML rulesfilename - used only for verbose exception messageIOExceptionpublic final void main(String[] args)
throws IOException
IOExceptionCopyright © 2005-2011 Daniel Naber