com.sas.services.webdav
Class TransformerFactoryFactory

com.sas.services.webdav.TransformerFactoryFactory

public class TransformerFactoryFactory

Factory for creating new TransformerFactory instances, preconfigured with appropriate security settings.


Method Summary
static javax.xml.parsers.DocumentBuilderFactory newDocumentBuilderFactory()
           
static javax.xml.transform.TransformerFactory newFactory()
          Create a new, secure instance.
 

Method Detail

newFactory

public static javax.xml.transform.TransformerFactory newFactory()
                                                         throws javax.xml.transform.TransformerConfigurationException
Create a new, secure instance. This disables external DTD and external stylesheets.

Returns:
the new instance.
Throws:
javax.xml.transform.TransformerConfigurationException - if there is an issue setting the secure processing feature.

newDocumentBuilderFactory

public static javax.xml.parsers.DocumentBuilderFactory newDocumentBuilderFactory()



Copyright © 2009 SAS Institute Inc. All Rights Reserved.