Java Doc for XSComplexTypeDecl.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.XSComplexTypeDecl

XSComplexTypeDecl
public class XSComplexTypeDecl implements XSComplexTypeDefinition,TypeInfo(Code)
The XML representation for a complexType schema component is a <complexType> element information item
author:
   Elena Litani, IBM
author:
   Sandy Gao, IBM
version:
   $Id: XSComplexTypeDecl.java 573322 2007-09-06 16:48:47Z peterjm $


Field Summary
final static  intDERIVATION_ANY
    
final static  intDERIVATION_EXTENSION
    
final static  intDERIVATION_LIST
    
final static  intDERIVATION_RESTRICTION
    
final static  intDERIVATION_UNION
    
 XSObjectListImplfAnnotations
    
 XSAttributeGroupDeclfAttrGrp
    
 XSTypeDefinitionfBaseType
    
 shortfBlock
    
 XSCMValidatorfCMValidator
    
 shortfContentType
    
 shortfDerivedBy
    
 shortfFinal
    
 shortfMiscFlags
    
 StringfName
    
 XSParticleDeclfParticle
    
 StringfTargetNamespace
    
 XSCMValidatorfUPACMValidator
    
 XSSimpleTypefXSSimpleType
    

Constructor Summary
public  XSComplexTypeDecl()
    

Method Summary
 voidappendTypeInfo(StringBuffer str)
    
public  booleancontainsTypeID()
    
public  booleanderivedFrom(String ancestorNS, String ancestorName, short derivationMethod)
    
public  booleanderivedFromType(XSTypeDefinition ancestor, short derivationMethod)
    
public  booleangetAbstract()
     {abstract} A boolean.
public  XSObjectListgetAnnotations()
     Optional.
public  booleangetAnonymous()
     A boolean that specifies if the type definition is anonymous. Convenience attribute.
public  XSAttributeGroupDeclgetAttrGrp()
    
public  XSAttributeUsegetAttributeUse(String namespace, String name)
    
public  XSObjectListgetAttributeUses()
     {attribute uses} A set of attribute uses.
public  XSWildcardgetAttributeWildcard()
     {attribute wildcard} Optional.
public  XSTypeDefinitiongetBaseType()
     {base type definition} Either a simple type definition or a complex type definition.
public  XSCMValidatorgetContentModel(CMBuilder cmBuilder)
    
public synchronized  XSCMValidatorgetContentModel(CMBuilder cmBuilder, boolean forUPA)
    
public  shortgetContentType()
     {content type} One of empty, a simple type definition (see simpleType, or mixed, element-only (see cmParticle).
public  shortgetDerivationMethod()
     {derivation method} Either extension or restriction.
public  shortgetFinal()
     {final} For complex type definition it is a subset of {extension, restriction}.
public  shortgetFinalSet()
    
public  StringgetName()
     The name of this XSObject depending on the XSObject type.
public  StringgetNamespace()
     The namespace URI of this node, or null if it is unspecified.
public  XSNamespaceItemgetNamespaceItem()
    
public  XSParticlegetParticle()
    
public  shortgetProhibitedSubstitutions()
    
public  XSSimpleTypeDefinitiongetSimpleType()
    
public  StringgetTargetNamespace()
    
public  shortgetType()
     Get the type of the object, i.e ELEMENT_DECLARATION.
public  shortgetTypeCategory()
    
public  StringgetTypeName()
    
public  StringgetTypeNamespace()
    
public  booleanisDOMDerivedFrom(String ancestorNS, String ancestorName, int derivationMethod)
     Checks if a type is derived from another given the the name, namespace and derivation method.
public  booleanisDerivedFrom(String typeNamespaceArg, String typeNameArg, int derivationMethod)
    
public  booleanisFinal(short derivation)
     {final} For complex type definition it is a subset of {extension, restriction}.
public  booleanisProhibitedSubstitution(short prohibited)
     {prohibited substitutions} A subset of {extension, restriction}.
Parameters:
  prohibited - extention or restriction constants (defined inXSConstants).
public  voidreset()
    
public  voidsetContainsTypeID()
    
public  voidsetIsAbstractType()
    
public  voidsetIsAnonymous()
    
public  voidsetName(String name)
    
public  voidsetValues(String name, String targetNamespace, XSTypeDefinition baseType, short derivedBy, short schemaFinal, short block, short contentType, boolean isAbstract, XSAttributeGroupDecl attrGrp, XSSimpleType simpleType, XSParticleDecl particle, XSObjectListImpl annotations)
    
public  StringtoString()
    

Field Detail
DERIVATION_ANY
final static int DERIVATION_ANY(Code)



DERIVATION_EXTENSION
final static int DERIVATION_EXTENSION(Code)



DERIVATION_LIST
final static int DERIVATION_LIST(Code)



DERIVATION_RESTRICTION
final static int DERIVATION_RESTRICTION(Code)



DERIVATION_UNION
final static int DERIVATION_UNION(Code)



fAnnotations
XSObjectListImpl fAnnotations(Code)



fAttrGrp
XSAttributeGroupDecl fAttrGrp(Code)



fBaseType
XSTypeDefinition fBaseType(Code)



fBlock
short fBlock(Code)



fCMValidator
XSCMValidator fCMValidator(Code)



fContentType
short fContentType(Code)



fDerivedBy
short fDerivedBy(Code)



fFinal
short fFinal(Code)



fMiscFlags
short fMiscFlags(Code)



fName
String fName(Code)



fParticle
XSParticleDecl fParticle(Code)



fTargetNamespace
String fTargetNamespace(Code)



fUPACMValidator
XSCMValidator fUPACMValidator(Code)



fXSSimpleType
XSSimpleType fXSSimpleType(Code)




Constructor Detail
XSComplexTypeDecl
public XSComplexTypeDecl()(Code)




Method Detail
appendTypeInfo
void appendTypeInfo(StringBuffer str)(Code)



containsTypeID
public boolean containsTypeID()(Code)



derivedFrom
public boolean derivedFrom(String ancestorNS, String ancestorName, short derivationMethod)(Code)



derivedFromType
public boolean derivedFromType(XSTypeDefinition ancestor, short derivationMethod)(Code)



getAbstract
public boolean getAbstract()(Code)
{abstract} A boolean. Complex types for which {abstract} is true must not be used as the {type definition} for the validation of element information items.



getAnnotations
public XSObjectList getAnnotations()(Code)
Optional. Annotation.



getAnonymous
public boolean getAnonymous()(Code)
A boolean that specifies if the type definition is anonymous. Convenience attribute. This is a field is not part of XML Schema component model.



getAttrGrp
public XSAttributeGroupDecl getAttrGrp()(Code)



getAttributeUse
public XSAttributeUse getAttributeUse(String namespace, String name)(Code)



getAttributeUses
public XSObjectList getAttributeUses()(Code)
{attribute uses} A set of attribute uses.



getAttributeWildcard
public XSWildcard getAttributeWildcard()(Code)
{attribute wildcard} Optional. A wildcard.



getBaseType
public XSTypeDefinition getBaseType()(Code)
{base type definition} Either a simple type definition or a complex type definition.



getContentModel
public XSCMValidator getContentModel(CMBuilder cmBuilder)(Code)



getContentModel
public synchronized XSCMValidator getContentModel(CMBuilder cmBuilder, boolean forUPA)(Code)



getContentType
public short getContentType()(Code)
{content type} One of empty, a simple type definition (see simpleType, or mixed, element-only (see cmParticle).



getDerivationMethod
public short getDerivationMethod()(Code)
{derivation method} Either extension or restriction. The valid constant value for this XSConstants EXTENTION, RESTRICTION.



getFinal
public short getFinal()(Code)
{final} For complex type definition it is a subset of {extension, restriction}. A bit flag that represents:{extension, restriction) or none for complexTypes;{extension, list, restriction, union} or none for simpleTypes;



getFinalSet
public short getFinalSet()(Code)



getName
public String getName()(Code)
The name of this XSObject depending on the XSObject type.



getNamespace
public String getNamespace()(Code)
The namespace URI of this node, or null if it is unspecified. defines how a namespace URI is attached to schema components.



getNamespaceItem
public XSNamespaceItem getNamespaceItem()(Code)

See Also:   org.apache.xerces.xs.XSObject.getNamespaceItem



getParticle
public XSParticle getParticle()(Code)
A particle for mixed or element-only content model, otherwise null



getProhibitedSubstitutions
public short getProhibitedSubstitutions()(Code)
{prohibited substitutions} A bit flag corresponding to prohibited substitutions



getSimpleType
public XSSimpleTypeDefinition getSimpleType()(Code)
A simple type definition corresponding to simple content model, otherwise null



getTargetNamespace
public String getTargetNamespace()(Code)



getType
public short getType()(Code)
Get the type of the object, i.e ELEMENT_DECLARATION.



getTypeCategory
public short getTypeCategory()(Code)



getTypeName
public String getTypeName()(Code)



getTypeNamespace
public String getTypeNamespace()(Code)



isDOMDerivedFrom
public boolean isDOMDerivedFrom(String ancestorNS, String ancestorName, int derivationMethod)(Code)
Checks if a type is derived from another given the the name, namespace and derivation method. See: http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#TypeInfo-isDerivedFrom
Parameters:
  ancestorNS - The namspace of the ancestor type declaration
Parameters:
  ancestorName - The name of the ancestor type declaration
Parameters:
  derivationMethod - The derivation method boolean True if the ancestor type is derived from the referencetype by the specifiied derivation method.



isDerivedFrom
public boolean isDerivedFrom(String typeNamespaceArg, String typeNameArg, int derivationMethod)(Code)



isFinal
public boolean isFinal(short derivation)(Code)
{final} For complex type definition it is a subset of {extension, restriction}. For simple type definition it is a subset of {extension, list, restriction, union}.
Parameters:
  derivation - Extension, restriction, list, union constants(defined in XSConstants). True if derivation is in the final set, otherwise false.



isProhibitedSubstitution
public boolean isProhibitedSubstitution(short prohibited)(Code)
{prohibited substitutions} A subset of {extension, restriction}.
Parameters:
  prohibited - extention or restriction constants (defined inXSConstants). True if prohibited is a prohibited substitution, otherwisefalse.



reset
public void reset()(Code)



setContainsTypeID
public void setContainsTypeID()(Code)



setIsAbstractType
public void setIsAbstractType()(Code)



setIsAnonymous
public void setIsAnonymous()(Code)



setName
public void setName(String name)(Code)



setValues
public void setValues(String name, String targetNamespace, XSTypeDefinition baseType, short derivedBy, short schemaFinal, short block, short contentType, boolean isAbstract, XSAttributeGroupDecl attrGrp, XSSimpleType simpleType, XSParticleDecl particle, XSObjectListImpl annotations)(Code)



toString
public String toString()(Code)



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.