public class LoginsFileParser
extends java.lang.Object
implements org.xml.sax.ContentHandler
Constructor and Description |
---|
LoginsFileParser(ImmutableUserMappingCache.Builder builder,
java.lang.Class delegate) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] chars,
int i,
int i1) |
void |
endDocument() |
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName) |
void |
endPrefixMapping(java.lang.String s) |
void |
ignorableWhitespace(char[] chars,
int i,
int i1) |
void |
load(java.lang.String path)
Loads the XML file at the given path.
|
void |
log(java.lang.String format,
java.lang.Object... arguments) |
void |
processingInstruction(java.lang.String s,
java.lang.String s1) |
void |
setDocumentLocator(org.xml.sax.Locator locator) |
void |
skippedEntity(java.lang.String s) |
void |
startDocument() |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes) |
void |
startPrefixMapping(java.lang.String s,
java.lang.String s1) |
public LoginsFileParser(ImmutableUserMappingCache.Builder builder, java.lang.Class delegate)
public void load(java.lang.String path) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
javax.xml.parsers.ParserConfigurationException
- if a parser cannot be createdorg.xml.sax.SAXException
- if any SAX errors occur during processingjava.io.IOException
- if the XML cannot be parsedpublic void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void startDocument() throws org.xml.sax.SAXException
startDocument
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void endDocument() throws org.xml.sax.SAXException
endDocument
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void log(java.lang.String format, java.lang.Object... arguments)
public void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator
in interface org.xml.sax.ContentHandler
public void startPrefixMapping(java.lang.String s, java.lang.String s1) throws org.xml.sax.SAXException
startPrefixMapping
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void endPrefixMapping(java.lang.String s) throws org.xml.sax.SAXException
endPrefixMapping
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void characters(char[] chars, int i, int i1) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void ignorableWhitespace(char[] chars, int i, int i1) throws org.xml.sax.SAXException
ignorableWhitespace
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void processingInstruction(java.lang.String s, java.lang.String s1) throws org.xml.sax.SAXException
processingInstruction
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void skippedEntity(java.lang.String s) throws org.xml.sax.SAXException
skippedEntity
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
Copyright © 2019 Caplin Systems.