|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The bean writer interface. The schema compiler expects one of these to be presented to it and calls the appropriate methods
Method Summary | |
Map |
getModelMap()
Gets a map of models. |
void |
init(CompilerOptions options)
Initializes the writer with compiler options. |
String |
makeFullyQualifiedClassName(QName qName)
Make the fully qualified class name for an element or named type |
String |
write(org.apache.ws.commons.schema.XmlSchemaComplexType complexType,
Map typeMap,
BeanWriterMetaInfoHolder metainf,
String fullyQualifiedClassName)
Write a complex type |
String |
write(org.apache.ws.commons.schema.XmlSchemaElement element,
Map typeMap,
BeanWriterMetaInfoHolder metainf)
Write a element |
String |
write(org.apache.ws.commons.schema.XmlSchemaSimpleType simpleType,
Map typeMap,
BeanWriterMetaInfoHolder metainf)
Write a simple type |
void |
writeBatch()
Writes a wrapped class. |
Method Detail |
public void init(CompilerOptions options) throws SchemaCompilationException
options
-
IOException
SchemaCompilationException
public void writeBatch() throws SchemaCompilationException
SchemaCompilationException
public Map getModelMap()
public String makeFullyQualifiedClassName(QName qName)
qName
- the qualified Name for this element or type in the schema
public String write(org.apache.ws.commons.schema.XmlSchemaComplexType complexType, Map typeMap, BeanWriterMetaInfoHolder metainf, String fullyQualifiedClassName) throws SchemaCompilationException
complexType
- typeMap
- metainf
- fullyQualifiedClassName
- the name returned by makeFullyQualifiedClassName() or null if it wasn't called
SchemaCompilationException
public String write(org.apache.ws.commons.schema.XmlSchemaElement element, Map typeMap, BeanWriterMetaInfoHolder metainf) throws SchemaCompilationException
element
- typeMap
- metainf
-
SchemaCompilationException
public String write(org.apache.ws.commons.schema.XmlSchemaSimpleType simpleType, Map typeMap, BeanWriterMetaInfoHolder metainf) throws SchemaCompilationException
simpleType
- typeMap
- metainf
-
SchemaCompilationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |