xml.StaxReader.setFeature
Sets a feature of a StaxReader object.
Syntax
setFeature(
property STRING,
value STRING )
- property defines the name of a feature.
- value defines the value of the feature.
Usage
Use this method to set a feature for the StaxReader object, where property is the name of a XmlStaxReader feature, and value is the value of a feature.
The features can be changed at any time, but they will only be taken into account at the
beginning of a new stream (see readFrom
or readFromDocument
).
In case of error, the method throws an exception and sets the
status
variable. Depending on the error, a human-readable description of the
problem is available in the sqlca.sqlerrm
register. See Error handling in GWS calls (status).