Java Doc for CStructWriter.java in  » Web-Services-AXIS2 » adb » org » apache » axis2 » schema » writer » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Services AXIS2 » adb » org.apache.axis2.schema.writer 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.axis2.schema.writer.CStructWriter

CStructWriter
public class CStructWriter implements BeanWriter(Code)
Java Bean writer for the schema compiler.


Field Summary
final public static  StringAXIS2_PREFIX
    
final public static  StringDEFAULT_ATTRIB_ARRAY_CLASS_NAME
    
final public static  StringDEFAULT_ATTRIB_CLASS_NAME
    
final public static  StringDEFAULT_CLASS_ARRAY_NAME
    
final public static  StringDEFAULT_CLASS_NAME
    
final public static  StringWRAPPED_DATABINDING_CLASS_NAME
    
 HashMapmapPrefixtoURI
    
 HashMapmapURItoPrefix
    
protected  FilerootDir
    

Constructor Summary
public  CStructWriter()
    

Method Summary
protected  FilecreateOutFile(String fileName, String extension)
    
public  StringgetDefaultAttribArrayClassName()
    
public  StringgetDefaultAttribClassName()
    
public  StringgetDefaultClassArrayName()
    
public  StringgetDefaultClassName()
    
public  StringgetExtensionMapperPackageName()
    
public  MapgetModelMap()
     This returns a map of Qnames vs DOMDocument models.
public  StringgetPrefixForURI(String uri)
     Get a prefix for a namespace URI.
public  StringgetPrefixForURI(String uri, String defaultPrefix)
     Get a prefix for the given namespace URI.
public  voidinit(CompilerOptions options)
    
public  StringmakeFullyQualifiedClassName(QName qName)
    
protected  voidpopulateListInfo(BeanWriterMetaInfoHolder metainf, Document model, Element rootElement, Map typeMap)
    
protected  voidpopulateMemberInfo(BeanWriterMetaInfoHolder metainf, Document model, Element rootElement, Map typeMap)
    
public  voidregisterExtensionMapperPackageName(String mapperPackageName)
    
public  Stringwrite(XmlSchemaElement element, Map typeMap, BeanWriterMetaInfoHolder metainf)
    
public  Stringwrite(QName qName, Map typeMap, BeanWriterMetaInfoHolder metainf, boolean isAbstract)
    
public  Stringwrite(XmlSchemaSimpleType simpleType, Map typeMap, BeanWriterMetaInfoHolder metainf)
    
public  voidwriteBatch()
    
public  voidwriteExtensionMapper(BeanWriterMetaInfoHolder[] metainfArray)
    

Field Detail
AXIS2_PREFIX
final public static String AXIS2_PREFIX(Code)



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)



mapPrefixtoURI
HashMap mapPrefixtoURI(Code)



mapURItoPrefix
HashMap mapURItoPrefix(Code)
Map of namespaces URI to prefix(es)



rootDir
protected File rootDir(Code)




Constructor Detail
CStructWriter
public CStructWriter()(Code)
Default constructor




Method Detail
createOutFile
protected File createOutFile(String fileName, String extension) throws Exception(Code)
Creates the output file
Parameters:
  fileName -
Parameters:
  extension -
throws:
  Exception -



getDefaultAttribArrayClassName
public String getDefaultAttribArrayClassName()(Code)



getDefaultAttribClassName
public String getDefaultAttribClassName()(Code)



getDefaultClassArrayName
public String getDefaultClassArrayName()(Code)



getDefaultClassName
public String getDefaultClassName()(Code)



getExtensionMapperPackageName
public String getExtensionMapperPackageName()(Code)
Keep unimplemented
See Also:   BeanWriter.getExtensionMapperPackageName



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"



init
public void init(CompilerOptions options) throws SchemaCompilationException(Code)



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



populateListInfo
protected void populateListInfo(BeanWriterMetaInfoHolder metainf, Document model, Element rootElement, Map typeMap)(Code)



populateMemberInfo
protected void populateMemberInfo(BeanWriterMetaInfoHolder metainf, Document model, Element rootElement, Map typeMap)(Code)



registerExtensionMapperPackageName
public void registerExtensionMapperPackageName(String mapperPackageName)(Code)
Keep unimplemented
Parameters:
  mapperPackageName -
See Also:   BeanWriter.registerExtensionMapperPackageName(String)



write
public String write(XmlSchemaElement element, Map typeMap, BeanWriterMetaInfoHolder metainf) throws SchemaCompilationException(Code)

Parameters:
  element -
Parameters:
  typeMap -
Parameters:
  metainf - Returns String.
throws:
  org.apache.axis2.schema.SchemaCompilationException -



write
public String write(QName qName, Map typeMap, BeanWriterMetaInfoHolder metainf, boolean isAbstract) throws SchemaCompilationException(Code)

Parameters:
  qName -
Parameters:
  typeMap -
Parameters:
  metainf -
Parameters:
  isAbstract -
throws:
  org.apache.axis2.schema.SchemaCompilationException -
See Also:   org.apache.axis2.schema.writer.BeanWriter



write
public String write(XmlSchemaSimpleType simpleType, Map typeMap, BeanWriterMetaInfoHolder metainf) throws SchemaCompilationException(Code)

Parameters:
  simpleType -
Parameters:
  typeMap -
Parameters:
  metainf - Returns String.
throws:
  org.apache.axis2.schema.SchemaCompilationException -
See Also:   BeanWriter.write(org.apache.ws.commons.schema.XmlSchemaSimpleTypejava.util.Maporg.apache.axis2.schema.BeanWriterMetaInfoHolder)



writeBatch
public void writeBatch() throws SchemaCompilationException(Code)

throws:
  SchemaCompilationException -
See Also:   org.apache.axis2.schema.writer.BeanWriter.writeBatch



writeExtensionMapper
public void writeExtensionMapper(BeanWriterMetaInfoHolder[] metainfArray) throws SchemaCompilationException(Code)
Keep unimplemented
Parameters:
  metainfArray -
See Also:   BeanWriter.writeExtensionMapper(org.apache.axis2.schema.BeanWriterMetaInfoHolder[])



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.