|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.schema.writer.CStructWriter
Java Bean writer for the schema compiler.
Field Summary | |
static String |
AXIS2_PREFIX
|
protected File |
rootDir
|
static String |
WRAPPED_DATABINDING_CLASS_NAME
|
Constructor Summary | |
CStructWriter()
Default constructor |
Method Summary | |
protected File |
createOutFile(String fileName,
String extension)
Creates the output file |
String |
getExtensionMapperPackageName()
Keep unimplemented |
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 |
makeFullyQualifiedClassName(QName qName)
Make the fully qualified class name for an element or named type |
void |
registerExtensionMapperPackageName(String mapperPackageName)
Keep unimplemented |
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. |
void |
writeExtensionMapper(BeanWriterMetaInfoHolder[] metainfArray)
Keep unimplemented |
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
public static final String AXIS2_PREFIX
protected File rootDir
Constructor Detail |
public CStructWriter()
Method Detail |
public Map getModelMap()
getModelMap
in interface BeanWriter
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
public void writeBatch() throws SchemaCompilationException
BeanWriter
writeBatch
in interface BeanWriter
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 makeFullyQualifiedClassName(QName qName)
makeFullyQualifiedClassName
in interface BeanWriter
qName
- the qualified Name for this element or type in the schema
protected File createOutFile(String fileName, String extension) throws Exception
fileName
- extension
-
Exception
public String getPrefixForURI(String uri)
uri
- is the namespace uri
public String getPrefixForURI(String uri, String defaultPrefix)
public void registerExtensionMapperPackageName(String mapperPackageName)
registerExtensionMapperPackageName
in interface BeanWriter
mapperPackageName
- BeanWriter.registerExtensionMapperPackageName(String)
public void writeExtensionMapper(BeanWriterMetaInfoHolder[] metainfArray) throws SchemaCompilationException
writeExtensionMapper
in interface BeanWriter
metainfArray
-
SchemaCompilationException
BeanWriter.writeExtensionMapper(org.apache.axis2.schema.BeanWriterMetaInfoHolder[])
public String getExtensionMapperPackageName()
getExtensionMapperPackageName
in interface BeanWriter
BeanWriter.getExtensionMapperPackageName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |