Java Doc for XSModelImpl.java in  » XML » xerces-2_9_1 » org » apache » xerces » impl » xs » 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 » XML » xerces 2_9_1 » org.apache.xerces.impl.xs 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.xerces.impl.xs.XSModelImpl

XSModelImpl
public class XSModelImpl implements XSModel(Code)
Implements XSModel: a read-only interface that represents an XML Schema, which could be components from different namespaces.
author:
   Sandy Gao, IBM
version:
   $Id: XSModelImpl.java 446734 2006-09-15 20:51:23Z mrglavas $



Constructor Summary
public  XSModelImpl(SchemaGrammar[] grammars)
     Construct an XSModelImpl, by storing some grammars and grammars imported by them to this object.

Method Summary
public synchronized  XSObjectListgetAnnotations()
     {annotations} A set of annotations.
public  XSAttributeDeclarationgetAttributeDeclaration(String name, String namespace)
     Convenience method.
public  XSAttributeGroupDefinitiongetAttributeGroup(String name, String namespace)
     Convenience method.
public synchronized  XSNamedMapgetComponents(short objectType)
     Returns a list of top-level components, i.e.
public synchronized  XSNamedMapgetComponentsByNamespace(short objectType, String namespace)
     Convenience method.
public  XSElementDeclarationgetElementDeclaration(String name, String namespace)
     Convenience method.
public  XSModelGroupDefinitiongetModelGroupDefinition(String name, String namespace)
     Convenience method.
public  XSNamespaceItemListgetNamespaceItems()
    
public  StringListgetNamespaces()
     Convenience method.
public  XSNotationDeclarationgetNotationDeclaration(String name, String namespace)
    
public  XSObjectListgetSubstitutionGroup(XSElementDeclaration head)
    
public  XSTypeDefinitiongetTypeDefinition(String name, String namespace)
     Convenience method.
public  booleanhasIDConstraints()
     REVISIT: to expose identity constraints from XSModel.


Constructor Detail
XSModelImpl
public XSModelImpl(SchemaGrammar[] grammars)(Code)
Construct an XSModelImpl, by storing some grammars and grammars imported by them to this object.
Parameters:
  grammars - the array of schema grammars




Method Detail
getAnnotations
public synchronized XSObjectList getAnnotations()(Code)
{annotations} A set of annotations.



getAttributeDeclaration
public XSAttributeDeclaration getAttributeDeclaration(String name, String namespace)(Code)
Convenience method. Returns a top-level attribute declaration.
Parameters:
  name - The name of the declaration.
Parameters:
  namespace - The namespace of the definition, otherwise null. A top-level attribute declaration or null if such declarationdoes not exist.



getAttributeGroup
public XSAttributeGroupDefinition getAttributeGroup(String name, String namespace)(Code)
Convenience method. Returns a top-level attribute group definition.
Parameters:
  name - The name of the definition.
Parameters:
  namespace - The namespace of the definition, otherwise null. A top-level attribute group definition or null if suchdefinition does not exist.



getComponents
public synchronized XSNamedMap getComponents(short objectType)(Code)
Returns a list of top-level components, i.e. element declarations, attribute declarations, etc.
Parameters:
  objectType - The type of the declaration, i.e. ELEMENT_DECLARATION. Note that XSTypeDefinition.SIMPLE_TYPE and XSTypeDefinition.COMPLEX_TYPE can also be used as the objectType to retrieve only complex types or simple types, instead of all types. A list of top-level definitions of the specified type in objectType or an empty XSNamedMap if no such definitions exist.



getComponentsByNamespace
public synchronized XSNamedMap getComponentsByNamespace(short objectType, String namespace)(Code)
Convenience method. Returns a list of top-level component declarations that are defined within the specified namespace, i.e. element declarations, attribute declarations, etc.
Parameters:
  objectType - The type of the declaration, i.e. ELEMENT_DECLARATION.
Parameters:
  namespace - The namespace to which the declaration belongs or null (for components with no target namespace). A list of top-level definitions of the specified type in objectType and defined in the specified namespace or an empty XSNamedMap.



getElementDeclaration
public XSElementDeclaration getElementDeclaration(String name, String namespace)(Code)
Convenience method. Returns a top-level element declaration.
Parameters:
  name - The name of the declaration.
Parameters:
  namespace - The namespace of the definition, otherwise null. A top-level element declaration or null if such declarationdoes not exist.



getModelGroupDefinition
public XSModelGroupDefinition getModelGroupDefinition(String name, String namespace)(Code)
Convenience method. Returns a top-level model group definition.
Parameters:
  name - The name of the definition.
Parameters:
  namespace - The namespace of the definition, otherwise null. A top-level model group definition definition or null if suchdefinition does not exist.



getNamespaceItems
public XSNamespaceItemList getNamespaceItems()(Code)



getNamespaces
public StringList getNamespaces()(Code)
Convenience method. Returns a list of all namespaces that belong to this schema. A list of all namespaces that belong to this schema ornull if all components don't have a targetNamespace.



getNotationDeclaration
public XSNotationDeclaration getNotationDeclaration(String name, String namespace)(Code)

See Also:   org.apache.xerces.xs.XSModel.getNotationDeclaration(StringString)



getSubstitutionGroup
public XSObjectList getSubstitutionGroup(XSElementDeclaration head)(Code)



getTypeDefinition
public XSTypeDefinition getTypeDefinition(String name, String namespace)(Code)
Convenience method. Returns a top-level simple or complex type definition.
Parameters:
  name - The name of the definition.
Parameters:
  namespace - The namespace of the definition, otherwise null. An XSTypeDefinition or null if such definitiondoes not exist.



hasIDConstraints
public boolean hasIDConstraints()(Code)
REVISIT: to expose identity constraints from XSModel. For now, we only expose whether there are any IDCs. We also need to add these methods to the public XSModel interface.



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.