public interface SchemaExtensions
The extensions class must be declared under the element
xs:schema/xs:annotation/xs:appinfo:
<xs:schema ...>
...
<xs:annotation>
<xs:appinfo>
<osd:extensions class="com.foo.ExtensionsForMyDomain"/>
...
</xs:appinfo>
</xs:annotation>
...
</xs:schema>
where com.foo.ExtensionsForMyDomain is
the fully qualified name of the class implementing this interface.
It is also possible to set additional JavaBean properties; for more information, see the
JavaBean specification.
At the end of data model validation:
com.foo.ExtensionsForMyDomain) is instantiated through its default constructor;
defineExtensions(SchemaExtensionsContext)
is called, so that the implementation performs specific setup.
| Modifier and Type | Method and Description |
|---|---|
void |
defineExtensions(SchemaExtensionsContext aContext) |
void defineExtensions(SchemaExtensionsContext aContext)