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, 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
IOException
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
SAXException
Copyright © 2018. All Rights Reserved.