public class SharedAccessPolicyHandler<T extends SharedAccessPolicy> extends DefaultHandler
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String qName) |
static <T extends SharedAccessPolicy> |
getAccessIdentifiers(InputStream stream,
Class<T> cls)
RESERVED FOR INTERNAL USE.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public static <T extends SharedAccessPolicy> HashMap<String,T> getAccessIdentifiers(InputStream stream, Class<T> cls) throws ParserConfigurationException, SAXException, IOException
stream
- the stream to read fromcls
- the SharedAccessPolicy
class typeSAXException
ParserConfigurationException
ParseException
- if a date is incorrectly encoded in the streamIOException
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class DefaultHandler
SAXException
Copyright © 2019. All rights reserved.