Class TransformerFactoryFactory

java.lang.Object
com.sas.services.util.TransformerFactoryFactory

public class TransformerFactoryFactory extends Object
Factory for creating new TransformerFactory instances, preconfigured with appropriate security settings.
  • Method Summary

    Modifier and Type
    Method
    Description
    static DocumentBuilderFactory
     
    static TransformerFactory
    Create a new, secure instance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • newFactory

      public static TransformerFactory newFactory() throws TransformerConfigurationException
      Create a new, secure instance. This disables external DTD and external stylesheets.
      Returns:
      the new instance.
      Throws:
      TransformerConfigurationException - if there is an issue setting the secure processing feature.
    • newDocumentBuilderFactory

      public static DocumentBuilderFactory newDocumentBuilderFactory()