com.sun.xml.bind.v2.schemagen
Class FoolProofResolver
java.lang.Object
javax.xml.bind.SchemaOutputResolver
com.sun.xml.bind.v2.schemagen.FoolProofResolver
final class FoolProofResolver
- extends SchemaOutputResolver
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FoolProofResolver
public FoolProofResolver(SchemaOutputResolver resolver)
createOutput
public Result createOutput(String namespaceUri,
String suggestedFileName)
throws IOException
- Specified by:
createOutput
in class SchemaOutputResolver
- Throws:
IOException