By default, the parser is created as a validating parser only if xerces is present. This can be configured by setting the "org.eclipse.jetty.xml.XmlParser.Validating" system property.
| Modifier and Type | Class and Description |
|---|---|
| public static class | XmlParser.
XML Attribute. |
| private class | |
| public static class | XmlParser.
XML Node. |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private List | |
| private final AutoLock | |
| private Map | |
| private Stack | |
| private SAXParser | |
| private String | |
| private Object | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addCatalog(URI
the URI pointing to the XML catalog catalogXml, Class<?> the base class to use for finding relative resources defined in the Catalog XML.
This is resolved to the Class location with package location and is used as the XML Catalog Base URI. baseClassLocation)Load the specified URI as a catalog for entity mapping purposes. |
| public void | addCatalog(URI
the uri to the catalog catalogXml)Load the specified URI as a catalog for entity mapping purposes. |
| public void | addContentHandler(String
Tag local or q name. trigger, ContentHandler SAX ContentHandler observer)Add a ContentHandler. |
| public String | |
| public SAXParser | |
| private static boolean | |
| public String | |
| public boolean | |
| pack-priv AutoLock | |
| protected SAXParserFactory | |
| public XmlParser. | |
| public XmlParser. | |
| public XmlParser. | |
| public XmlParser. | Returns: the root node of the xmlthe input stream of the xml to parse in)Parse InputStream. |
| pack-priv InputSource | |
| public void | |
| public void |