public class SharedAccessPolicyHandler<T extends SharedAccessPolicy> extends org.xml.sax.helpers.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 typeSAXExceptionParserConfigurationExceptionIOExceptionpublic void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerSAXExceptionCopyright © 2018. All Rights Reserved.