|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
---|---|
Reader |
getSchema(QName xmlType,
String javatype)
Return a complete XML Schema (version http://www.w3.org/2001/XMLSchema) describing a type or set of types. |
Method Detail |
---|
Reader getSchema(QName xmlType, String javatype)
xmlType
- the name of the XML typejavatype
- the class name of the Java type (Class.getName() format)
Reader
containing a complete XML Schema
|
Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |