Java Doc for Schema.java in  » GIS » GeoTools-2.4.1 » org » geotools » xml » schema » 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 » GIS » GeoTools 2.4.1 » org.geotools.xml.schema 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.geotools.xml.schema.Schema

All known Subclasses:   org.geotools.xml.filter.FilterSchema,  org.geotools.xml.xLink.XLinkSchema,  org.geotools.data.wms.xml.WMSSchema,  org.geotools.xml.styling.sldSchema,  org.geotools.xml.gml.GMLSchema,  org.geotools.xml.wfs.WFSSchema,  org.geotools.data.wms.xml.OGCSchema,
Schema
public interface Schema extends Factory(Code)

This Interface is intended to represent the public portion of an XML Schema. By public portion, I mean the portion of the Schema which can be included in an instance document, or imported into another Schema.

The distinction between the public portion of a XML Schema and the entire XML Schema is or particular important when comparing, or printing two XML Schemas. This interface does is intended to provide enough information to re-create the original Schema (note the lack or annotations as an example). This interface is however intended to provide functional semantic equivalence. By this is mean that two XML Schemas represented using this interface should have the same SET of declarations. There is no guarantee that the Schema represented matches the original document with respect to orderwithin the sets, except where order is explicitly defined (Sequence, Choice).

This method must be inplemented within extensions: public static Schema getInstance();. It will be used by the Schema factory to load the required extensions into memory.


author:
   dzwiers www.refractions.net


Field Summary
final public static  intALL
     Used to denote byte masks representing either XML block attributes or XML final attributes.
final public static  intEXTENSION
     Used to denote byte masks representing either XML block attributes or XML final attributes.
final public static  intNONE
     Used to denote byte masks representing either XML block attributes or XML final attributes.
final public static  intRESTRICTION
     Used to denote byte masks representing either XML block attributes or XML final attributes.


Method Summary
public  AttributeGroup[]getAttributeGroups()
    

This method is intended to provide a list of public AttributeGroups defined by this Schema.

public  Attribute[]getAttributes()
    

This method is intended to provide a list of public Attributes defined by this Schema.

public  intgetBlockDefault()
    

This method returns the default block value associated with this schema as a mask.

public  ComplexType[]getComplexTypes()
    

This method is intended to provide a list of public ComplexTypes defined by this Schema.

public  Element[]getElements()
    

This method is intended to provide a list of public Elements defined by this Schema.

public  intgetFinalDefault()
    

This method returns the default final value associated with this schema as a mask.

public  Group[]getGroups()
    

This method is intended to provide a list of public Groups defined by this Schema.

public  StringgetId()
    

This method is intended to provide the ID of this Schema.

public  Schema[]getImports()
    

This method is intended to provide a list of public Imports defined by this Schema.

public  StringgetPrefix()
    

Gets the recommended prefix for this schema.

public  SimpleType[]getSimpleTypes()
    

This method is intended to provide a list of public SimpleTypes defined by this Schema.

public  URIgetTargetNamespace()
    

This returns the intended use name of the Schema (kinda like an ID, for a better definition see the XML Schema Specification).

public  URIgetURI()
    
public  StringgetVersion()
    

This returns the Schema version ...

public  booleanincludesURI(URI uri)
    

This looks to see if the URI passed in is represented by this Schema.

public  booleanisAttributeFormDefault()
    

Returns true when the Default Attribute Form is qualified, false otherwise.

public  booleanisElementFormDefault()
    

Returns true when the Default Element Form is qualified, false otherwise.


Field Detail
ALL
final public static int ALL(Code)
Used to denote byte masks representing either XML block attributes or XML final attributes.



EXTENSION
final public static int EXTENSION(Code)
Used to denote byte masks representing either XML block attributes or XML final attributes.



NONE
final public static int NONE(Code)
Used to denote byte masks representing either XML block attributes or XML final attributes.



RESTRICTION
final public static int RESTRICTION(Code)
Used to denote byte masks representing either XML block attributes or XML final attributes.





Method Detail
getAttributeGroups
public AttributeGroup[] getAttributeGroups()(Code)

This method is intended to provide a list of public AttributeGroups defined by this Schema. The definition of 'public AttributeGroups' should be interpreted as the set of AttributeGroups availiable when creating an instance document, extending the schema, or importing the schema.

AttributeGroup[]
See Also:   AttributeGroup



getAttributes
public Attribute[] getAttributes()(Code)

This method is intended to provide a list of public Attributes defined by this Schema. The definition of 'public Attributes' should be interpreted as the set of Attributes availiable when creating an instance document, extending the schema, or importing the schema.


See Also:   Attribute



getBlockDefault
public int getBlockDefault()(Code)

This method returns the default block value associated with this schema as a mask. The keys for the mask are represented as constants at the head of this file. As defined in the XML Schema specification, element and type blocks should only be extended to include this block if one is not specified.

Block Mask



getComplexTypes
public ComplexType[] getComplexTypes()(Code)

This method is intended to provide a list of public ComplexTypes defined by this Schema. The definition of 'public ComplexTypes' should be interpreted as the set of ComplexTypes availiable when creating an instance document, extending the schema, or importing the schema.


See Also:   ComplexType



getElements
public Element[] getElements()(Code)

This method is intended to provide a list of public Elements defined by this Schema. The definition of 'public Elements' should be interpreted as the set of Elements availiable when creating an instance document, extending the schema, or importing the schema.


See Also:   Element



getFinalDefault
public int getFinalDefault()(Code)

This method returns the default final value associated with this schema as a mask. The keys for the mask are represented as constants at the head of this file. As defined in the XML Schema specification, element and type final values should only be extended to include this final value if one is not specified.

Final Mask



getGroups
public Group[] getGroups()(Code)

This method is intended to provide a list of public Groups defined by this Schema. The definition of 'public Groups' should be interpreted as the set of Groups availiable when creating an instance document, extending the schema, or importing the schema.


See Also:   Group



getId
public String getId()(Code)

This method is intended to provide the ID of this Schema.




getImports
public Schema[] getImports()(Code)

This method is intended to provide a list of public Imports defined by this Schema. The definition of 'public Imports' should be interpreted as the set of Imports availiable when creating an instance document, extending the schema, or importing the schema.


See Also:   Schema



getPrefix
public String getPrefix()(Code)

Gets the recommended prefix for this schema.




getSimpleTypes
public SimpleType[] getSimpleTypes()(Code)

This method is intended to provide a list of public SimpleTypes defined by this Schema. The definition of 'public SimpleTypes' should be interpreted as the set of SimpleTypes availiable when creating an instance document, extending the schema, or importing the schema.


See Also:   SimpleType



getTargetNamespace
public URI getTargetNamespace()(Code)

This returns the intended use name of the Schema (kinda like an ID, for a better definition see the XML Schema Specification).




getURI
public URI getURI()(Code)



getVersion
public String getVersion()(Code)

This returns the Schema version ...




includesURI
public boolean includesURI(URI uri)(Code)

This looks to see if the URI passed in is represented by this Schema. Often this method uses some heuritics on the list of included URIs. This allows one Schema to represent one targetNamespace, but be potentially represented in more than one file.

Used to determine if the uri should provided should be included in an instance document.


Parameters:
  uri -
See Also:   Schema.getUris()



isAttributeFormDefault
public boolean isAttributeFormDefault()(Code)

Returns true when the Default Attribute Form is qualified, false otherwise.




isElementFormDefault
public boolean isElementFormDefault()(Code)

Returns true when the Default Element Form is qualified, false otherwise.




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