|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.schema.writer.JavaBeanWriter
Java Bean writer for the schema compiler.
Field Summary | |
static String |
WRAPPED_DATABINDING_CLASS_NAME
|
Constructor Summary | |
JavaBeanWriter()
Default constructor |
Method Summary | |
Map |
getModelMap()
This returns a map of Qnames vs DOMDocument models. |
String |
getPrefixForURI(String uri)
Get a prefix for a namespace URI. |
String |
getPrefixForURI(String uri,
String defaultPrefix)
Get a prefix for the given namespace URI. |
void |
init(CompilerOptions options)
Initializes the writer with compiler options. |
String |
write(org.apache.ws.commons.schema.XmlSchemaComplexType complexType,
Map typeMap,
BeanWriterMetaInfoHolder metainf)
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String WRAPPED_DATABINDING_CLASS_NAME
Constructor Detail |
public JavaBeanWriter()
Method Detail |
public Map getModelMap()
getModelMap
in interface BeanWriter
SchemaCompilationException
BeanWriter.getModelMap()
public void init(CompilerOptions options) throws SchemaCompilationException
BeanWriter
init
in interface BeanWriter
options
-
SchemaCompilationException
public String write(org.apache.ws.commons.schema.XmlSchemaElement element, Map typeMap, BeanWriterMetaInfoHolder metainf) throws SchemaCompilationException
BeanWriter
write
in interface BeanWriter
element
- typeMap
- metainf
-
SchemaCompilationException
public String write(org.apache.ws.commons.schema.XmlSchemaComplexType complexType, Map typeMap, BeanWriterMetaInfoHolder metainf) throws SchemaCompilationException
BeanWriter
write
in interface BeanWriter
complexType
- typeMap
- metainf
-
SchemaCompilationException
BeanWriter.write(org.apache.ws.commons.schema.XmlSchemaComplexType, java.util.Map, org.apache.axis2.schema.BeanWriterMetaInfoHolder)
public void writeBatch() throws SchemaCompilationException
BeanWriter
writeBatch
in interface BeanWriter
Exception
SchemaCompilationException
BeanWriter.writeBatch()
public String write(org.apache.ws.commons.schema.XmlSchemaSimpleType simpleType, Map typeMap, BeanWriterMetaInfoHolder metainf) throws SchemaCompilationException
BeanWriter
write
in interface BeanWriter
simpleType
- typeMap
- metainf
-
SchemaCompilationException
BeanWriter.write(org.apache.ws.commons.schema.XmlSchemaSimpleType, java.util.Map, org.apache.axis2.schema.BeanWriterMetaInfoHolder)
public String getPrefixForURI(String uri)
uri
- is the namespace uri
public String getPrefixForURI(String uri, String defaultPrefix)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |