Java Doc for ComplexType.java in  » XML » saxonb » net » sf » saxon » type » 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 » saxonb » net.sf.saxon.type 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.sf.saxon.type.ComplexType

All known Subclasses:   net.sf.saxon.type.AnyType,  net.sf.saxon.type.Untyped,
ComplexType
public interface ComplexType extends SchemaType(Code)
A complex type as defined in XML Schema: either a user-defined complex type, or xs:anyType. In the non-schema-aware version of the Saxon product, the only complex type encountered is xs:anyType.




Method Summary
public  SchemaTypegetAttributeUseType(int fingerprint)
     Find an attribute use within this complex type definition having a given attribute name (identified by fingerprint), and return the schema type associated with that attribute. If there is no such attribute use, return null.
public  intgetElementParticleCardinality(int fingerprint)
     Find an element particle within this complex type definition having a given element name (identified by fingerprint), and return the cardinality associated with that element particle, that is, the number of times the element can occur within this complex type.
public  SchemaTypegetElementParticleType(int fingerprint)
     Find an element particle within this complex type definition having a given element name (identified by fingerprint), and return the schema type associated with that element particle. If there is no such particle, return null.
public  SimpleTypegetSimpleContentType()
    
public  booleanisAbstract()
     Test whether this complex type has been marked as abstract.
public  booleanisAllContent()
    
public  booleanisComplexContent()
    
public  booleanisEmptiable()
    
public  booleanisEmptyContent()
    
public  booleanisMixedContent()
    
public  booleanisRestricted()
    
public  booleanisSimpleContent()
    
public  Stringsubsumes(ComplexType sub)
     Test whether this complex type subsumes another complex type.



Method Detail
getAttributeUseType
public SchemaType getAttributeUseType(int fingerprint) throws SchemaException, ValidationException(Code)
Find an attribute use within this complex type definition having a given attribute name (identified by fingerprint), and return the schema type associated with that attribute. If there is no such attribute use, return null. If the fingerprint matches an attribute wildcard, return the type of the global attribute declaration with the given name if one exists, or AnySimpleType if none exists and lax validation is permitted by the wildcard.

If there are types derived from this type by extension, search those too.
Parameters:
  fingerprint - Identifies the name of the child element within this content model




getElementParticleCardinality
public int getElementParticleCardinality(int fingerprint) throws SchemaException, ValidationException(Code)
Find an element particle within this complex type definition having a given element name (identified by fingerprint), and return the cardinality associated with that element particle, that is, the number of times the element can occur within this complex type. The value is one of net.sf.saxon.expr.StaticProperty.EXACTLY_ONE , net.sf.saxon.expr.StaticProperty.ALLOWS_ZERO_OR_ONE , net.sf.saxon.expr.StaticProperty.ALLOWS_ZERO_OR_MORE , net.sf.saxon.expr.StaticProperty.ALLOWS_ONE_OR_MORE , If there is no such particle, return zero.
Parameters:
  fingerprint - Identifies the name of the child element within this content model



getElementParticleType
public SchemaType getElementParticleType(int fingerprint) throws SchemaException, ValidationException(Code)
Find an element particle within this complex type definition having a given element name (identified by fingerprint), and return the schema type associated with that element particle. If there is no such particle, return null. If the fingerprint matches an element wildcard, return the type of the global element declaration with the given name if one exists, or AnyType if none exists and lax validation is permitted by the wildcard.
Parameters:
  fingerprint - Identifies the name of the child element within this content model



getSimpleContentType
public SimpleType getSimpleContentType()(Code)
Get the simple content type For a complex type with simple content, returns the simple type of the content.Otherwise, returns null.



isAbstract
public boolean isAbstract()(Code)
Test whether this complex type has been marked as abstract. true if this complex type is abstract.



isAllContent
public boolean isAllContent()(Code)
Test whether this complex type has "all" content, that is, a content model using an xs:all compositor



isComplexContent
public boolean isComplexContent()(Code)
Test whether this complex type has complex content true if this complex type has a complex content model, false if it has a simple content model



isEmptiable
public boolean isEmptiable() throws SchemaException, ValidationException(Code)
Test whether the content model of this complex type allows empty content true if empty content is valid



isEmptyContent
public boolean isEmptyContent()(Code)
Test whether the content model of this complex type is empty true if the content model is defined as empty



isMixedContent
public boolean isMixedContent()(Code)
Test whether this complex type allows mixed content true if mixed content is allowed



isRestricted
public boolean isRestricted()(Code)
Test whether this complex type is derived by restriction true if this complex type is derived by restriction



isSimpleContent
public boolean isSimpleContent()(Code)
Test whether this complexType has simple content true if this complex type has a simple content model, false if it has a complex content model



subsumes
public String subsumes(ComplexType sub) throws ValidationException(Code)
Test whether this complex type subsumes another complex type. The algorithm used is as published by Thompson and Tobin, XML Europe 2003.
Parameters:
  sub - the other type (the type that is derived by restriction, validly or otherwise) null indicating that this type does indeed subsume the other; or a string indicatingwhy it doesn't.



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