Top Description Fields Constructors Methods
com.fasterxml.aalto

public final Class AaltoInputProperties

extends Object
Class Inheritance

Class that contains constant for property names used to configure cursor and event readers produced by Aalto implementation of javax.xml.stream.XMLInputFactory.
Since
1.3

Field Summary

Modifier and TypeField and Description
public static final String
P_RETAIN_ATTRIBUTE_GENERAL_ENTITIES

Feature controlling whether general entities in attributes are retained as-is without processing (true) or replaced as per standard XML processing rules (false).

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

P_RETAIN_ATTRIBUTE_GENERAL_ENTITIESback to summary
public static final String P_RETAIN_ATTRIBUTE_GENERAL_ENTITIES

Feature controlling whether general entities in attributes are retained as-is without processing (true) or replaced as per standard XML processing rules (false). If enabled, instead of regular General Entity expansion, possible general entities in Attribute values will be left exactly as-is, with no processing; as such they cannot be distinguished from regular textual content.

The main reason for enabling this non-standard property is to avoid errors in cases where content contains general entity references in attribute values, but no processing is allowed (for example, for security reasons).

Property defaults to false for XML standard compliancy but may be enabled to avoid processing errors (but note that caller will necessarily lose information as unexpanded entity cannot be distinguished from regular attribute textual content).

Constructor Detail

AaltoInputPropertiesback to summary
public AaltoInputProperties()