| java.lang.Object org.apache.axis2.schema.writer.CStructWriter
CStructWriter | public class CStructWriter implements BeanWriter(Code) | | Java Bean writer for the schema compiler.
|
Method Summary | |
protected File | createOutFile(String fileName, String extension) | public String | getDefaultAttribArrayClassName() | public String | getDefaultAttribClassName() | public String | getDefaultClassArrayName() | public String | getDefaultClassName() | public String | getExtensionMapperPackageName() | public Map | getModelMap() This returns a map of Qnames vs DOMDocument models. | public String | getPrefixForURI(String uri) Get a prefix for a namespace URI. | public String | getPrefixForURI(String uri, String defaultPrefix) Get a prefix for the given namespace URI. | public void | init(CompilerOptions options) | public String | makeFullyQualifiedClassName(QName qName) | protected void | populateListInfo(BeanWriterMetaInfoHolder metainf, Document model, Element rootElement, Map typeMap) | protected void | populateMemberInfo(BeanWriterMetaInfoHolder metainf, Document model, Element rootElement, Map typeMap) | public void | registerExtensionMapperPackageName(String mapperPackageName) | public String | write(XmlSchemaElement element, Map typeMap, BeanWriterMetaInfoHolder metainf) | public String | write(QName qName, Map typeMap, BeanWriterMetaInfoHolder metainf, boolean isAbstract) | public String | write(XmlSchemaSimpleType simpleType, Map typeMap, BeanWriterMetaInfoHolder metainf) | public void | writeBatch() | public void | writeExtensionMapper(BeanWriterMetaInfoHolder[] metainfArray) |
DEFAULT_ATTRIB_ARRAY_CLASS_NAME | final public static String DEFAULT_ATTRIB_ARRAY_CLASS_NAME(Code) | | |
DEFAULT_ATTRIB_CLASS_NAME | final public static String DEFAULT_ATTRIB_CLASS_NAME(Code) | | |
DEFAULT_CLASS_ARRAY_NAME | final public static String DEFAULT_CLASS_ARRAY_NAME(Code) | | |
DEFAULT_CLASS_NAME | final public static String DEFAULT_CLASS_NAME(Code) | | |
WRAPPED_DATABINDING_CLASS_NAME | final public static String WRAPPED_DATABINDING_CLASS_NAME(Code) | | |
mapURItoPrefix | HashMap mapURItoPrefix(Code) | | Map of namespaces URI to prefix(es)
|
CStructWriter | public CStructWriter()(Code) | | Default constructor
|
getDefaultAttribArrayClassName | public String getDefaultAttribArrayClassName()(Code) | | |
getDefaultAttribClassName | public String getDefaultAttribClassName()(Code) | | |
getDefaultClassArrayName | public String getDefaultClassArrayName()(Code) | | |
getDefaultClassName | public String getDefaultClassName()(Code) | | |
getModelMap | public Map getModelMap()(Code) | | This returns a map of Qnames vs DOMDocument models. One can use this method to
obtain the raw DOMmodels used to write the classes.
This has no meaning when the classes are supposed to be wrapped so the
Returns Map. See Also: BeanWriter.getModelMap |
getPrefixForURI | public String getPrefixForURI(String uri)(Code) | | Get a prefix for a namespace URI. This method will ALWAYS
return a valid prefix - if the given URI is already mapped in this
serialization, we return the previous prefix. If it is not mapped,
we will add a new mapping and return a generated prefix of the form
"ns".
Parameters: uri - is the namespace uri Returns prefix. |
getPrefixForURI | public String getPrefixForURI(String uri, String defaultPrefix)(Code) | | Get a prefix for the given namespace URI. If one has already been
defined in this serialization, use that. Otherwise, map the passed
default prefix to the URI, and return that. If a null default prefix
is passed, use one of the form "ns"
|
makeFullyQualifiedClassName | public String makeFullyQualifiedClassName(QName qName)(Code) | | Make the fully qualified class name for an element or named type
Parameters: qName - the qualified Name for this element or type in the schema the appropriate fully qualified class name to use in generated code |
|
|