Javax.xml.bind.SchemaOutputResolver Class



Introduction

The javax.xml.bind.SchemaOutputResolver class controls where a JAXB implementation puts the generates schema files.This is a class, not an interface so as to allow future versions to evolve without breaking the compatibility.

Class declaration

Following is the declaration for javax.xml.bind.SchemaOutputResolver class −

public abstract class SchemaOutputResolver
   extends Object

Class constructors

S.N. Constructor & Description
1 SchemaOutputResolver()

Single Constructor.

Class methods

S.N. Method & Description
1

abstract Result createOutput(String namespaceUri, String suggestedFileName)

This decides where the schema file (of the given namespace URI) will be written, and return it as a Result object.

Methods inherited

This class inherits methods from the following classes −

java.lang.Object

Advertisements