Deprecated API


Contents
Deprecated Fields
com.ctc.wstx.api.WstxInputProperties.P_CUSTOM_INTERNAL_ENTITIES
          This feature may be remove from future versions of Woodstox, since the same functionality can be achieved by using custom entity resolvers.

Property of type Map, that defines explicit set of internal (generic) entities that will define of override any entities defined in internal or external subsets; except for the 5 pre-defined entities (lt, gt, amp, apos, quot). Can be used to explicitly define entites that would normally come from a DTD. 

com.ctc.wstx.api.WstxInputProperties.P_NORMALIZE_ATTR_VALUES
          In future versions of Woodstox, normalization will not be optional, and the default setting (true) will be the only supported way.

Whether white space in attribute values should be normalized as specified by XML specs or not.

Turning this option may help performance if attributes generally have non-normalized white space; otherwise effect is negligible. 

com.ctc.wstx.api.WstxInputProperties.P_NORMALIZE_LFS
          In future versions of Woodstox, normalization will not be optional, and the default setting (true) will be the only supported way.

Whether non-standard linefeeds (\r, \r\n) need to be converted to standard ones (\n) or not, as per XML specs.

Turning this option off may help performance when processing content that has non-standard linefeeds (Mac, Windows); otherwise effect is negligible. 

 

Deprecated Methods
org.codehaus.stax2.XMLStreamReader2.getFeature(String)
          Should use XMLStreamReader.getProperty(java.lang.String) instead 
org.codehaus.stax2.XMLStreamReader2.setFeature(String, Object)
          Should use XMLStreamReader2.setProperty(java.lang.String, java.lang.Object) instead