public abstract void setAttribute (String name, Object value)

Allows the user to set specific attributes on the underlying implementation. An attribute in this context is defined to be an option that the implementation provides. An IllegalArgumentException is thrown if the underlying implementation doesn't recognize the attribute.

All implementations that implement JAXP 1.5 or newer are required to support the javax.xml.XMLConstants.ACCESS_EXTERNAL_DTD and javax.xml.XMLConstants.ACCESS_EXTERNAL_STYLESHEET properties.

Parameters:
name    The name of the attribute.
value    The value of the attribute.

Exceptions:
IllegalArgumentException    When implementation does not recognize the attribute.