| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static interface | |
| private static interface |
| Modifier and Type | Field and Description |
|---|---|
| private static final DocumentBuilderFactory | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| private static long | |
| private static final Logger | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| private static final SAXParserFactory | |
| pack-priv static final String[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static DocumentBuilderFactory | |
| public static SAXParserFactory | |
| public static SchemaFactory | |
| public static TransformerFactory | |
| private static Object | |
| private static InputSource | |
| private static void | |
| public static DocumentBuilder | |
| public static Transformer | |
| public static XMLEventFactory | |
| public static XMLInputFactory | |
| public static XMLOutputFactory | |
| public static XMLReader | |
| private static boolean | |
| private static boolean | |
| private static boolean |
| documentBuilderFactory | back to summary |
|---|---|
| private static final DocumentBuilderFactory documentBuilderFactory | |
| FEATURE_DISALLOW_DOCTYPE_DECL | back to summary |
|---|---|
| pack-priv static final String FEATURE_DISALLOW_DOCTYPE_DECL | |
| FEATURE_EXTERNAL_ENTITIES | back to summary |
|---|---|
| pack-priv static final String FEATURE_EXTERNAL_ENTITIES | |
| FEATURE_LOAD_DTD_GRAMMAR | back to summary |
|---|---|
| pack-priv static final String FEATURE_LOAD_DTD_GRAMMAR | |
| FEATURE_LOAD_EXTERNAL_DTD | back to summary |
|---|---|
| pack-priv static final String FEATURE_LOAD_EXTERNAL_DTD | |
| FEATURE_PARAMETER_ENTITIES | back to summary |
|---|---|
| pack-priv static final String FEATURE_PARAMETER_ENTITIES | |
| lastLog | back to summary |
|---|---|
| private static long lastLog | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| METHOD_ENTITY_EXPANSION_XERCES | back to summary |
|---|---|
| pack-priv static final String METHOD_ENTITY_EXPANSION_XERCES | |
| PROPERTY_ENTITY_EXPANSION_LIMIT | back to summary |
|---|---|
| pack-priv static final String PROPERTY_ENTITY_EXPANSION_LIMIT | |
| PROPERTY_SECURITY_MANAGER | back to summary |
|---|---|
| pack-priv static final String PROPERTY_SECURITY_MANAGER | |
| saxFactory | back to summary |
|---|---|
| private static final SAXParserFactory saxFactory | |
| SECURITY_MANAGERS | back to summary |
|---|---|
| pack-priv static final String[] SECURITY_MANAGERS | |
| XMLHelper | back to summary |
|---|---|
| private XMLHelper() | |
| getDocumentBuilderFactory | back to summary |
|---|---|
| public static DocumentBuilderFactory getDocumentBuilderFactory() Creates a new DocumentBuilderFactory, with sensible defaults
| |
| getSaxParserFactory | back to summary |
|---|---|
public static SAXParserFactory getSaxParserFactory()
| |
| getSchemaFactory | back to summary |
|---|---|
public static SchemaFactory getSchemaFactory()
| |
| getTransformerFactory | back to summary |
|---|---|
public static TransformerFactory getTransformerFactory()
| |
| getXercesSecurityManager | back to summary |
|---|---|
| private static Object getXercesSecurityManager() | |
| ignoreEntity | back to summary |
|---|---|
| private static InputSource ignoreEntity(String publicId, String systemId) | |
| logThrowable | back to summary |
|---|---|
| private static void logThrowable(Throwable t, String message, String name) | |
| newDocumentBuilder | back to summary |
|---|---|
| public static DocumentBuilder newDocumentBuilder() Creates a new document builder, with sensible defaults
| |
| newTransformer | back to summary |
|---|---|
| public static Transformer newTransformer() throws TransformerConfigurationException | |
| newXMLEventFactory | back to summary |
|---|---|
| public static XMLEventFactory newXMLEventFactory() Creates a new StAX XMLEventFactory, with sensible defaults | |
| newXMLInputFactory | back to summary |
|---|---|
| public static XMLInputFactory newXMLInputFactory() Creates a new StAX XMLInputFactory, with sensible defaults
| |
| newXMLOutputFactory | back to summary |
|---|---|
| public static XMLOutputFactory newXMLOutputFactory() Creates a new StAX XMLOutputFactory, with sensible defaults | |
| newXMLReader | back to summary |
|---|---|
| public static XMLReader newXMLReader() throws SAXException, ParserConfigurationException Creates a new SAX XMLReader, with sensible defaults | |
| quietSet | back to summary |
|---|---|
| private static boolean quietSet(XMLHelper. | |
| trySet | back to summary |
|---|---|
private static boolean trySet(XMLHelper.
| |
| trySet | back to summary |
|---|---|
| private static boolean trySet(XMLHelper. | |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | error(SAXParseException
The error information encapsulated in a
SAX parse exception. exception)Implements org. Receive notification of a recoverable error. |
| public void | fatalError(SAXParseException
The error information encapsulated in a
exception)SAXParseException.Implements org. Receive notification of a non-recoverable, fatal error. |
| private void | |
| public void | warning(SAXParseException
The warning information encapsulated in a
SAX parse exception. exception)Implements org. Receive notification of a warning. |
| logException | back to summary |
|---|---|
| private final boolean logException | |
| DocHelperErrorHandler | back to summary |
|---|---|
| public DocHelperErrorHandler(boolean logException) | |
| error | back to summary |
|---|---|
| public void error(SAXParseException exception) Implements org. Doc from org. Receive notification of a recoverable error. This corresponds to the definition of "error" in section 1.2 of the W3C XML 1.0 Recommendation. For example, a validating parser would use this callback to report the violation of a validity constraint. The default behaviour is to take no action. The SAX parser must continue to provide normal parsing events after invoking this method: it should still be possible for the application to process the document through to the end. If the application cannot do so, then the parser should report a fatal error even if the XML recommendation does not require it to do so. Filters may use this method to report other, non-XML errors as well.
| |
| fatalError | back to summary |
|---|---|
| public void fatalError(SAXParseException exception) throws SAXException Implements org. Doc from org. Receive notification of a non-recoverable, fatal error. As defined in section 1.2 of the W3C XML 1.0 Recommendation, fatal errors are those that would make it impossible for a parser to continue normal processing. These include violation of a well-formedness constraint, invalid encoding, and forbidden structural errors as described in the W3C XML 1.0 Recommendation.
| |
| printError | back to summary |
|---|---|
| private void printError(Level type, SAXParseException ex) Prints the error message. | |
| warning | back to summary |
|---|---|
| public void warning(SAXParseException exception) Implements org. Doc from org. Receive notification of a warning. SAX parsers will use this method to report conditions that are not errors or fatal errors as defined by the XML recommendation. The default behaviour is to take no action. The SAX parser must continue to provide normal parsing events after invoking this method: it should still be possible for the application to process the document through to the end. Filters may use this method to report other, non-XML warnings as well.
| |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| accept | back to summary |
|---|---|
| public void accept(String name, boolean value) throws ParserConfigurationException, SAXException, TransformerException | |
| accept | back to summary |
|---|---|
| public void accept(String name, Object value) throws SAXException | |