public class ServerConfigurationParser extends DefaultHandler
| Constructor and Description |
|---|
ServerConfigurationParser(InputStream xmlStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String qName) |
ServerConfiguration |
parse() |
void |
startElement(String uri,
String localName,
String qName,
Attributes a) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic ServerConfigurationParser(InputStream xmlStream) throws IOException
IOExceptionpublic ServerConfiguration parse() throws IOException
IOExceptionpublic void startElement(String uri, String localName, String qName, Attributes a) 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)
characters in interface ContentHandlercharacters in class DefaultHandlerCopyright © 2013 DuraSpace. All Rights Reserved.