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

XSElementDecl
public class XSElementDecl implements XSElementDeclaration(Code)
The XML representation for an element declaration schema component is an <element> element information item
author:
   Elena Litani, IBM
author:
   Sandy Gao, IBM
version:
   $Id: XSElementDecl.java 449424 2006-09-24 16:22:30Z mrglavas $


Field Summary
final static  intINITIAL_SIZE
    
final public static  shortSCOPE_ABSENT
    
final public static  shortSCOPE_GLOBAL
    
final public static  shortSCOPE_LOCAL
    
public  XSObjectListfAnnotations
    
public  shortfBlock
    
public  ValidatedInfofDefault
    
 XSComplexTypeDeclfEnclosingCT
    
public  shortfFinal
    
 intfIDCPos
    
 IdentityConstraint[]fIDConstraints
    
 shortfMiscFlags
    
public  StringfName
    
public  shortfScope
    
public  XSElementDeclfSubGroup
    
public  StringfTargetNamespace
    
public  XSTypeDefinitionfType
    


Method Summary
public  voidaddIDConstraint(IdentityConstraint idc)
    
public  booleanequals(Object o)
    
public  booleangetAbstract()
     {abstract} A boolean.
public  ObjectgetActualVC()
    
public  shortgetActualVCType()
    
public  XSAnnotationgetAnnotation()
     Optional.
public  XSObjectListgetAnnotations()
     Optional.
public  shortgetConstraintType()
     A value constraint: one of default, fixed.
public  StringgetConstraintValue()
    
public  shortgetDisallowedSubstitutions()
    
public  XSComplexTypeDefinitiongetEnclosingCTDefinition()
     Locally scoped declarations are available for use only within the complex type definition identified by the scope property.
public  IdentityConstraint[]getIDConstraints()
    
public  XSNamedMapgetIdentityConstraints()
     {identity-constraint definitions} A set of constraint definitions.
public  ShortListgetItemValueTypes()
    
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  booleangetNillable()
     If {nillable} is true, then an element may also be valid if it carries the namespace qualified attribute with [local name] nil from namespace http://www.w3.org/2001/XMLSchema-instance and value true (see xsi:nil (2.6.2)) even if it has no text or element content despite a {content type} which would otherwise require content.
public  shortgetScope()
     Optional.
public  XSElementDeclarationgetSubstitutionGroupAffiliation()
     {substitution group affiliation} Optional.
public  shortgetSubstitutionGroupExclusions()
     Specifies if this declaration can be nominated as the {substitution group affiliation} of other element declarations having the same {type definition} or types derived therefrom.
public  shortgetType()
     Get the type of the object, i.e ELEMENT_DECLARATION.
public  XSTypeDefinitiongetTypeDefinition()
     Either a simple type definition or a complex type definition.
public  inthashCode()
    
public  booleanisDisallowedSubstitution(short disallowed)
     Convenience method.
public  booleanisSubstitutionGroupExclusion(short exclusion)
     Convenience method.
public  voidreset()
    
final static  IdentityConstraint[]resize(IdentityConstraint[] oldArray, int newSize)
    
public  voidsetConstraintType(short constraintType)
    
public  voidsetIsAbstract()
    
public  voidsetIsGlobal()
    
public  voidsetIsLocal(XSComplexTypeDecl enclosingCT)
    
public  voidsetIsNillable()
    
public  StringtoString()
    

Field Detail
INITIAL_SIZE
final static int INITIAL_SIZE(Code)



SCOPE_ABSENT
final public static short SCOPE_ABSENT(Code)



SCOPE_GLOBAL
final public static short SCOPE_GLOBAL(Code)



SCOPE_LOCAL
final public static short SCOPE_LOCAL(Code)



fAnnotations
public XSObjectList fAnnotations(Code)



fBlock
public short fBlock(Code)



fDefault
public ValidatedInfo fDefault(Code)



fEnclosingCT
XSComplexTypeDecl fEnclosingCT(Code)



fFinal
public short fFinal(Code)



fIDCPos
int fIDCPos(Code)



fIDConstraints
IdentityConstraint[] fIDConstraints(Code)



fMiscFlags
short fMiscFlags(Code)



fName
public String fName(Code)



fScope
public short fScope(Code)



fSubGroup
public XSElementDecl fSubGroup(Code)



fTargetNamespace
public String fTargetNamespace(Code)



fType
public XSTypeDefinition fType(Code)





Method Detail
addIDConstraint
public void addIDConstraint(IdentityConstraint idc)(Code)



equals
public boolean equals(Object o)(Code)
whether two decls are the same



getAbstract
public boolean getAbstract()(Code)
{abstract} A boolean.



getActualVC
public Object getActualVC()(Code)



getActualVCType
public short getActualVCType()(Code)



getAnnotation
public XSAnnotation getAnnotation()(Code)
Optional. Annotation.



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



getConstraintType
public short getConstraintType()(Code)
A value constraint: one of default, fixed.



getConstraintValue
public String getConstraintValue()(Code)
A value constraint: The actual value (with respect to the {type definition})



getDisallowedSubstitutions
public short getDisallowedSubstitutions()(Code)
The supplied values for {disallowed substitutions} A bit flag representing {substitution, extension, restriction} or NONE.



getEnclosingCTDefinition
public XSComplexTypeDefinition getEnclosingCTDefinition()(Code)
Locally scoped declarations are available for use only within the complex type definition identified by the scope property.



getIDConstraints
public IdentityConstraint[] getIDConstraints()(Code)



getIdentityConstraints
public XSNamedMap getIdentityConstraints()(Code)
{identity-constraint definitions} A set of constraint definitions.



getItemValueTypes
public ShortList getItemValueTypes()(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



getNillable
public boolean getNillable()(Code)
If {nillable} is true, then an element may also be valid if it carries the namespace qualified attribute with [local name] nil from namespace http://www.w3.org/2001/XMLSchema-instance and value true (see xsi:nil (2.6.2)) even if it has no text or element content despite a {content type} which would otherwise require content.



getScope
public short getScope()(Code)
Optional. Either global or a complex type definition ( ctDefinition). This property is absent in the case of declarations within named model groups: their scope will be determined when they are used in the construction of complex type definitions.



getSubstitutionGroupAffiliation
public XSElementDeclaration getSubstitutionGroupAffiliation()(Code)
{substitution group affiliation} Optional. A top-level element definition.



getSubstitutionGroupExclusions
public short getSubstitutionGroupExclusions()(Code)
Specifies if this declaration can be nominated as the {substitution group affiliation} of other element declarations having the same {type definition} or types derived therefrom. A bit flag representing {extension, restriction} or NONE.



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



getTypeDefinition
public XSTypeDefinition getTypeDefinition()(Code)
Either a simple type definition or a complex type definition.



hashCode
public int hashCode()(Code)
get the hash code



isDisallowedSubstitution
public boolean isDisallowedSubstitution(short disallowed)(Code)
Convenience method. Check if disallowed is a disallowed substitution for this element declaration.
Parameters:
  disallowed - Substitution, extension, restriction or none.Represents a block set for the element. True if disallowed is a part of the substitutiongroup exclusion subset.



isSubstitutionGroupExclusion
public boolean isSubstitutionGroupExclusion(short exclusion)(Code)
Convenience method. Check if exclusion is a substitution group exclusion for this element declaration.
Parameters:
  exclusion - Extension, restriction or none. Represents finalset for the element. True if exclusion is a part of the substitutiongroup exclusion subset.



reset
public void reset()(Code)
Reset current element declaration



resize
final static IdentityConstraint[] resize(IdentityConstraint[] oldArray, int newSize)(Code)



setConstraintType
public void setConstraintType(short constraintType)(Code)



setIsAbstract
public void setIsAbstract()(Code)



setIsGlobal
public void setIsGlobal()(Code)



setIsLocal
public void setIsLocal(XSComplexTypeDecl enclosingCT)(Code)



setIsNillable
public void setIsNillable()(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.