Class XmlProcessorFactoryJFace

java.lang.Object
org.eclipse.jface.internal.XmlProcessorFactoryJFace

public class XmlProcessorFactoryJFace extends Object
XML processing which prohibits external entities.
See Also:
  • Method Details

    • createDocumentBuilderFactoryWithErrorOnDOCTYPE

      public static DocumentBuilderFactory createDocumentBuilderFactoryWithErrorOnDOCTYPE()
      Creates DocumentBuilderFactory which throws SAXParseException when detecting external entities. It's magnitudes faster to call createDocumentBuilderWithErrorOnDOCTYPE().
      Returns:
      javax.xml.parsers.DocumentBuilderFactory
    • createDocumentBuilderWithErrorOnDOCTYPE

      public static DocumentBuilder createDocumentBuilderWithErrorOnDOCTYPE() throws ParserConfigurationException
      Creates DocumentBuilder which throws SAXParseException when detecting external entities. The builder is not thread safe.
      Returns:
      javax.xml.parsers.DocumentBuilder
      Throws:
      ParserConfigurationException