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, warningpublic 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 typeSAXExceptionParserConfigurationExceptionParseException - if a date is incorrectly encoded in the streamIOExceptionpublic void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerSAXExceptionCopyright © 2019. All rights reserved.