Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

WebLogic Server 8.1 API Reference

## weblogic.xml.schema.binding
Interface CustomSchema

public interface CustomSchema

The interface `CustomSchema` allows a programmatic way to provide a custom schema for a given Java type. During the schema generation process, if the deserializer object for a given Java type implements `CustomSchema`, then the schema returned by the getSchema method will be merged or inserted into the generated schema for the given type. Note that everything from the returned schema will be inserted, possibly overwriting existing schema definitions.

Author:
  Copyright © 2004 BEA Systems, Inc. All Rights Reserved.

Method Summary
`java.io.Reader` | `getSchema(javax.xml.namespace.QName xmlType, java.lang.String javatype)` Return a complete XML Schema (version http://www.w3.org/2001/XMLSchema) describing a type or set of types.

Method Detail

### getSchema

    public java.io.Reader getSchema(javax.xml.namespace.QName xmlType,
                                    java.lang.String javatype)

  Return a complete XML Schema (version http://www.w3.org/2001/XMLSchema) describing a type or set of types. The returned schema must be a complete XML document conforming to the 2001 XML Schema specification.

  Parameters:
    `xmlType` - the name of the XML type
    `javatype` - the class name of the Java type (Class.getName() format)
  Returns:
    a `Reader` containing a complete XML Schema

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs81
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD