Modifier and Type | Field and Description |
---|---|
static ErrorHandler |
DRACONIAN_ERROR_HANDLER
ErrorHandler that always treat the error as fatal. |
Constructor and Description |
---|
XmlUtil() |
public static final ErrorHandler DRACONIAN_ERROR_HANDLER
ErrorHandler
that always treat the error as fatal.public static String getAttributeNSOrNull(Element e, String name, String nsURI)
public static InputStream getUTF8Stream(String s)
public static Transformer newTransformer()
public static <T extends Result> T identityTransform(Source src, T result) throws TransformerException, SAXException, ParserConfigurationException, IOException
public static EntityResolver createEntityResolver(@Nullable URL catalogUrl)
public static EntityResolver createDefaultCatalogResolver()
public static DocumentBuilderFactory newDocumentBuilderFactory()
public static DocumentBuilderFactory newDocumentBuilderFactory(boolean secureXmlProcessing)
public static TransformerFactory newTransformerFactory(boolean secureXmlProcessingEnabled)
public static TransformerFactory newTransformerFactory()
public static SAXParserFactory newSAXParserFactory(boolean secureXmlProcessingEnabled)
public static XPathFactory newXPathFactory(boolean secureXmlProcessingEnabled)
public static XMLInputFactory newXMLInputFactory(boolean secureXmlProcessingEnabled)
public static SchemaFactory allowExternalAccess(SchemaFactory sf, String value, boolean disableSecureProcessing)
Copyright © 2015 Oracle Corporation. All rights reserved.