| Modifier and Type | Field and Description |
|---|---|
| private HasConfigProperties | |
| private H2AuthConfig |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | endElement(String
The Namespace URI, or the empty string if the
element has no Namespace URI or if Namespace
processing is not being performed. uri, String The local name (without prefix), or the
empty string if Namespace processing is not being
performed. localName, String The qualified name (with prefix), or the
empty string if qualified names are not available. qName)Overrides org. Implements org. Receive notification of the end of an element. |
| private static String | |
| private static String | |
| public H2AuthConfig | |
| public static H2AuthConfig | |
| public static H2AuthConfig | Returns: Authenticator configuration.the source of the xml configuration. inputStream)Parse the xml. |
| public InputSource | resolveEntity(String
The public identifier, or null if none is
available. publicId, String The system identifier provided in the XML
document. systemId)Overrides org. Implements org. Resolve an external entity. |
| public void | startElement(String
The Namespace URI, or the empty string if the
element has no Namespace URI or if Namespace
processing is not being performed. uri, String The local name (without prefix), or the
empty string if Namespace processing is not being
performed. localName, String The qualified name (with prefix), or the
empty string if qualified names are not available. qName, Attributes The attributes attached to the element. If
there are no attributes, it shall be an empty
Attributes object. attributes)Overrides org. Implements org. Receive notification of the start of an element. |
| lastConfigProperties | back to summary |
|---|---|
| private HasConfigProperties lastConfigProperties | |
| result | back to summary |
|---|---|
| private H2AuthConfig result | |
| H2AuthConfigXml | back to summary |
|---|---|
| public H2AuthConfigXml() | |
| endElement | back to summary |
|---|---|
| public void endElement(String uri, String localName, String qName) throws SAXException Overrides org. Implements org. Doc from org. Receive notification of the end of an element. By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of each element (such as finalising a tree node or writing output to a file).
| |
| getAttributeValueOr | back to summary |
|---|---|
| private static String getAttributeValueOr(String attributeName, Attributes attributes, String defaultValue) | |
| getMandatoryAttributeValue | back to summary |
|---|---|
| private static String getMandatoryAttributeValue(String attributeName, Attributes attributes) throws SAXException | |
| getResult | back to summary |
|---|---|
| public H2AuthConfig getResult() Returns parsed authenticator configuration.
| |
| parseFrom | back to summary |
|---|---|
| public static H2AuthConfig parseFrom(URL url) throws SAXException, IOException, ParserConfigurationException Parse the xml.
| |
| parseFrom | back to summary |
|---|---|
| public static H2AuthConfig parseFrom(InputStream inputStream) throws SAXException, IOException, ParserConfigurationException Parse the xml.
| |
| resolveEntity | back to summary |
|---|---|
| public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException Overrides org. Implements org. Doc from org. Resolve an external entity. Always return null, so that the parser will use the system identifier provided in the XML document. This method implements the SAX default behaviour: application writers can override it in a subclass to do special translations such as catalog lookups or URI redirection.
| |
| startElement | back to summary |
|---|---|
| public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException Overrides org. Implements org. Doc from org. Receive notification of the start of an element. By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each element (such as allocating a new tree node or writing output to a file).
| |