Java Doc for XMLSchemaParser.java in  » IDE-Netbeans » schema2beans » org » netbeans » modules » schema2beansdev » 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 » IDE Netbeans » schema2beans » org.netbeans.modules.schema2beansdev 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.schema2beansdev.GeneralParser
      org.netbeans.modules.schema2beansdev.XMLSchemaParser

XMLSchemaParser
public class XMLSchemaParser extends GeneralParser implements SchemaParser(Code)

Inner Class :public static class MaxOccursRestriction implements DataListRestriction
Inner Class :public static class MinOccursRestriction implements DataListRestriction
Inner Class :public static class GeneralAnnotation implements HasAnnotation
Inner Class :public static class SwitchData

Field Summary
final public static  StringJAVA_TYPE_NS
    
 SchemaRepschema
    

Constructor Summary
public  XMLSchemaParser(GenBeans.Config config, DocDefHandler handler)
    

Method Summary
protected  voidaddExtraDataCurLink(SchemaRep.Restriction[] restrict)
    
protected  voidaddExtraDataForType(String uniqueName, String name, SchemaRep.ElementExpr schemaTypeDef)
    
protected  voidaddExtraDataNode(String uniqueName, String name, SchemaRep.Restriction[] restrict)
    
protected  voidaddTopAttributes(SchemaRep.Element parentElement, SchemaRep.Element el)
    
protected  voidaddTopAttributes(SchemaRep.Element parentElement, SchemaRep.ComplexType el)
    
protected static  intgetInstanceValue(String minOccurs, String maxOccurs)
    
protected  booleanhasUnionType(SchemaRep.ContainsSubElements schemaTypeDef)
    
protected  StringlookForDefault(SchemaRep.Restriction[] restrict)
     Given the restrictions, can we pick a decent default.
protected  SchemaRep.Restriction[]lookForRestriction(SchemaRep.ContainsSubElements schemaTypeDef)
    
protected  voidoverrideSchemaTypes()
    
public  voidprocess()
    
protected  voidprocess(SchemaRep.ElementExpr ee)
    
protected  voidprocessAnnotation(SchemaRep.Annotation ann)
    
protected  voidprocessAny(SchemaRep.Any el)
    
protected  voidprocessAttribute(String parentElement, SchemaRep.Attribute attr)
    
protected  voidprocessAttributeGroup(String parentElement, SchemaRep.AttributeGroup attrGroup)
    
protected  voidprocessComplexContent(SchemaRep.ComplexContent el)
    
protected  voidprocessComplexType(SchemaRep.ComplexType el)
    
protected  voidprocessContainsSubElements(SchemaRep.ContainsSubElements cse)
    
protected  voidprocessContainsSubElementsAndAttributes(SchemaRep.ContainsSubElements cse, String elementName)
    
protected  voidprocessElement(SchemaRep.Element el)
    
protected  voidprocessExtension(SchemaRep.Extension el)
    
protected  voidprocessModelGroup(SchemaRep.ModelGroup group)
    
protected  voidprocessRestriction(SchemaRep.Restriction el)
    
protected  voidprocessSchemaNode(SchemaRep.SchemaNode sn)
    
protected  voidprocessSimpleContent(SchemaRep.SimpleContent el)
    
protected  voidprocessSimpleType(SchemaRep.SimpleType el)
    
protected  voidprocessUnionType(SchemaRep.UnionType el)
    
protected  voidsetLastDefined(String typeName)
    
protected  voidsetLastDefined(String typeName, boolean externalType)
    
public  voidsetSchemaType(org.netbeans.modules.schema2beansdev.beangraph.BeanGraph bg)
    
public  voidsetSchemaType(org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType stm)
    

Field Detail
JAVA_TYPE_NS
final public static String JAVA_TYPE_NS(Code)



schema
SchemaRep schema(Code)




Constructor Detail
XMLSchemaParser
public XMLSchemaParser(GenBeans.Config config, DocDefHandler handler)(Code)




Method Detail
addExtraDataCurLink
protected void addExtraDataCurLink(SchemaRep.Restriction[] restrict)(Code)



addExtraDataForType
protected void addExtraDataForType(String uniqueName, String name, SchemaRep.ElementExpr schemaTypeDef) throws Schema2BeansException(Code)



addExtraDataNode
protected void addExtraDataNode(String uniqueName, String name, SchemaRep.Restriction[] restrict) throws org.netbeans.modules.schema2beans.Schema2BeansException(Code)



addTopAttributes
protected void addTopAttributes(SchemaRep.Element parentElement, SchemaRep.Element el)(Code)



addTopAttributes
protected void addTopAttributes(SchemaRep.Element parentElement, SchemaRep.ComplexType el)(Code)



getInstanceValue
protected static int getInstanceValue(String minOccurs, String maxOccurs)(Code)



hasUnionType
protected boolean hasUnionType(SchemaRep.ContainsSubElements schemaTypeDef)(Code)



lookForDefault
protected String lookForDefault(SchemaRep.Restriction[] restrict)(Code)
Given the restrictions, can we pick a decent default.



lookForRestriction
protected SchemaRep.Restriction[] lookForRestriction(SchemaRep.ContainsSubElements schemaTypeDef)(Code)



overrideSchemaTypes
protected void overrideSchemaTypes()(Code)
Search thru the input beangraphs for anything that might affect the definition of types from xsd: or xml:



process
public void process() throws java.io.IOException, Schema2BeansException(Code)



process
protected void process(SchemaRep.ElementExpr ee) throws Schema2BeansException(Code)



processAnnotation
protected void processAnnotation(SchemaRep.Annotation ann) throws Schema2BeansException(Code)



processAny
protected void processAny(SchemaRep.Any el) throws Schema2BeansException(Code)



processAttribute
protected void processAttribute(String parentElement, SchemaRep.Attribute attr) throws Schema2BeansException(Code)



processAttributeGroup
protected void processAttributeGroup(String parentElement, SchemaRep.AttributeGroup attrGroup) throws Schema2BeansException(Code)



processComplexContent
protected void processComplexContent(SchemaRep.ComplexContent el) throws Schema2BeansException(Code)



processComplexType
protected void processComplexType(SchemaRep.ComplexType el) throws Schema2BeansException(Code)



processContainsSubElements
protected void processContainsSubElements(SchemaRep.ContainsSubElements cse) throws Schema2BeansException(Code)



processContainsSubElementsAndAttributes
protected void processContainsSubElementsAndAttributes(SchemaRep.ContainsSubElements cse, String elementName) throws Schema2BeansException(Code)



processElement
protected void processElement(SchemaRep.Element el) throws Schema2BeansException(Code)



processExtension
protected void processExtension(SchemaRep.Extension el) throws Schema2BeansException(Code)



processModelGroup
protected void processModelGroup(SchemaRep.ModelGroup group) throws Schema2BeansException(Code)



processRestriction
protected void processRestriction(SchemaRep.Restriction el) throws Schema2BeansException(Code)



processSchemaNode
protected void processSchemaNode(SchemaRep.SchemaNode sn) throws Schema2BeansException(Code)



processSimpleContent
protected void processSimpleContent(SchemaRep.SimpleContent el) throws Schema2BeansException(Code)



processSimpleType
protected void processSimpleType(SchemaRep.SimpleType el) throws Schema2BeansException(Code)



processUnionType
protected void processUnionType(SchemaRep.UnionType el) throws Schema2BeansException(Code)



setLastDefined
protected void setLastDefined(String typeName)(Code)



setLastDefined
protected void setLastDefined(String typeName, boolean externalType)(Code)



setSchemaType
public void setSchemaType(org.netbeans.modules.schema2beansdev.beangraph.BeanGraph bg)(Code)



setSchemaType
public void setSchemaType(org.netbeans.modules.schema2beansdev.beangraph.SchemaTypeMappingType stm)(Code)



Fields inherited from org.netbeans.modules.schema2beansdev.GeneralParser
protected File filename(Code)(Java Doc)
protected String inputURI(Code)(Java Doc)
protected Reader reader(Code)(Java Doc)
protected InputStream schemaIn(Code)(Java Doc)

Methods inherited from org.netbeans.modules.schema2beansdev.GeneralParser
protected String getReaderURI()(Code)(Java Doc)
public void setInputURI(String uri)(Code)(Java Doc)
protected void shutdownReader() throws java.io.IOException(Code)(Java Doc)
protected void startupReader() throws java.io.IOException(Code)(Java Doc)

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.