XmlObjectFactory: Make Features accessible from Java.
Brought to you by:
jmpetersen,
powerpete
Let the programmer know, which features are
implemented. For example like this:
public class XmlObjectFactory
{
public static final boolean
SUPPORTS_SKIP_ATTRIBUTE = true;
public static final boolean
SUPPORTS_METHOD_ATTRIBUTE = true;
...
}
Which can be used in the program to determine the
features:
...
if (XmlObjectFactory.SUPPORTS_SKIP_ATTRIBUTE)
{
...
}
If the feature does not exist, a compile error occurs...