org.fcrepo.server.security.servletfilters.xmluserfile
Class ParserXmlUserfile
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.fcrepo.server.security.servletfilters.xmluserfile.ParserXmlUserfile
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class ParserXmlUserfile
- extends DefaultHandler
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParserXmlUserfile
public ParserXmlUserfile(InputStream xmlStream)
throws IOException
- Throws:
IOException
getAuthenticated
public final Boolean getAuthenticated()
getNamedAttributes
public final Map getNamedAttributes()
startElement
public void startElement(String uri,
String localName,
String qName,
Attributes a)
throws SAXException
- Specified by:
startElement in interface ContentHandler- Overrides:
startElement in class DefaultHandler
- Throws:
SAXException
endElement
public void endElement(String uri,
String localName,
String qName)
throws SAXException
- Specified by:
endElement in interface ContentHandler- Overrides:
endElement in class DefaultHandler
- Throws:
SAXException
characters
public void characters(char[] ch,
int start,
int length)
- Specified by:
characters in interface ContentHandler- Overrides:
characters in class DefaultHandler
parse
public void parse(String username,
String password)
throws IOException,
FinishedParsingException
- Throws:
IOException
FinishedParsingException
Copyright © 2012 DuraSpace. All Rights Reserved.