@@ -43,13 +43,13 @@ public class XmlFactory
43
43
* Bitfield (set of flags) of all parser features that are enabled
44
44
* by default.
45
45
*/
46
- final static int DEFAULT_XML_PARSER_FEATURE_FLAGS = XmlReadFeature .collectDefaults ();
46
+ protected final static int DEFAULT_XML_READ_FEATURE_FLAGS = XmlReadFeature .collectDefaults ();
47
47
48
48
/**
49
49
* Bitfield (set of flags) of all generator features that are enabled
50
50
* by default.
51
51
*/
52
- final static int DEFAULT_XML_GENERATOR_FEATURE_FLAGS = XmlWriteFeature .collectDefaults ();
52
+ protected final static int DEFAULT_XML_WRITE_FEATURE_FLAGS = XmlWriteFeature .collectDefaults ();
53
53
54
54
/*
55
55
/**********************************************************************
@@ -91,7 +91,7 @@ public XmlFactory(XMLInputFactory xmlIn) {
91
91
}
92
92
93
93
public XmlFactory (XMLInputFactory xmlIn , XMLOutputFactory xmlOut ) {
94
- this (DEFAULT_XML_PARSER_FEATURE_FLAGS , DEFAULT_XML_GENERATOR_FEATURE_FLAGS ,
94
+ this (DEFAULT_XML_READ_FEATURE_FLAGS , DEFAULT_XML_WRITE_FEATURE_FLAGS ,
95
95
xmlIn , xmlOut , XmlNameProcessors .newPassthroughProcessor (),
96
96
null );
97
97
}
@@ -334,11 +334,6 @@ public Class<XmlWriteFeature> getFormatWriteFeatureType() {
334
334
/**********************************************************************
335
335
*/
336
336
337
- @ Deprecated
338
- public void setXMLTextElementName (String name ) {
339
- _cfgNameForTextElement = name ;
340
- }
341
-
342
337
public String getXMLTextElementName () {
343
338
return _cfgNameForTextElement ;
344
339
}
0 commit comments