public class FactoryHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static List<String> |
DEFAULT_FEATURES_TO_DISABLE |
static List<String> |
DEFAULT_FEATURES_TO_ENABLE |
static String |
FEATURE_EXTERNAL_GENERAL_ENTITIES |
static String |
FEATURE_EXTERNAL_PARAMETER_ENTITIES |
static String |
FEATURE_LOAD_EXTERNAL_DTD |
static String |
FEATURE_USE_ENTITY_RESOLVER2 |
| Constructor and Description |
|---|
FactoryHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
configureFactory(DocumentBuilderFactory factory,
List<String> featuresToEnable,
List<String> featuresToDisable) |
static void |
configureFactory(SAXParserFactory factory,
List<String> featuresToEnable,
List<String> featuresToDisable) |
public static final String FEATURE_EXTERNAL_GENERAL_ENTITIES
public static final String FEATURE_EXTERNAL_PARAMETER_ENTITIES
public static final String FEATURE_USE_ENTITY_RESOLVER2
public static final String FEATURE_LOAD_EXTERNAL_DTD
public static void configureFactory(DocumentBuilderFactory factory, List<String> featuresToEnable, List<String> featuresToDisable)
public static void configureFactory(SAXParserFactory factory, List<String> featuresToEnable, List<String> featuresToDisable)
Copyright © 2005–2016 Alfresco Software. All rights reserved.