SchemaOutputResolver that wraps the user-specified resolver
and makes sure that it's following the contract.
This protects the rest of the XmlSchemaGenerator from client programming
error.
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private final SchemaOutputResolver |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Result | createOutput(String namespaceUri, String suggestedFileName)
Implements abstract jakarta. Decides where the schema file (of the given namespace URI)
will be written, and return it as a |
| logger | back to summary |
|---|---|
| private static final Logger logger | |
| resolver | back to summary |
|---|---|
| private final SchemaOutputResolver resolver | |
| FoolProofResolver | back to summary |
|---|---|
| public FoolProofResolver(SchemaOutputResolver resolver) | |
| createOutput | back to summary |
|---|---|
| public Result createOutput(String namespaceUri, String suggestedFileName) throws IOException Implements abstract jakarta. Doc from jakarta. Decides where the schema file (of the given namespace URI)
will be written, and return it as a This method is called only once for any given namespace. IOW, all the components in one namespace is always written into the same schema document.
| |