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


org.apache.xerces.dom3.as.ASElementDeclaration

ASElementDeclaration
public interface ASElementDeclaration extends ASObject(Code)


Field Summary
final public static  shortANY_CONTENTTYPE
     Represents an ANY content type for an Element declaration.
final public static  shortELEMENTS_CONTENTTYPE
     Represents an ELEMENTS only content type for an Element declaration.
final public static  shortEMPTY_CONTENTTYPE
     Represents an EMPTY content type for an Element declaration.
final public static  shortMIXED_CONTENTTYPE
     Represents a MIXED content type for an Element declaration.


Method Summary
public  voidaddASAttributeDecl(ASAttributeDeclaration attributeDecl)
     Adds an ASAttributeDeclaration for the element being declared.
Parameters:
  attributeDecl - The new attribute to add.
public  ASNamedObjectMapgetASAttributeDecls()
     TheASNamedObjectMap containing ASAttributeDeclarations for all the attributes that can appear on this type of element.
public  ASContentModelgetAsCM()
     The content model of element.
public  shortgetContentType()
     The content type of the element.
public  ASDataTypegetElementType()
     Datatype of the element.
public  booleangetIsPCDataOnly()
     Boolean defining whether the element type contains child elements and PCDATA or PCDATA only for mixed element types.
public  booleangetStrictMixedContent()
     A boolean defining whether the element order and number of the child elements for mixed content type has to be respected or not.
public  StringgetSystemId()
     the URI reference representing the system identifier for the notation declaration, if present, null otherwise.
public  ASAttributeDeclarationremoveASAttributeDecl(ASAttributeDeclaration attributeDecl)
     Removes an ASAttributeDeclaration from the element being declared.
Parameters:
  attributeDecl - The attribute declaraition to be removed.
public  voidsetASAttributeDecls(ASNamedObjectMap ASAttributeDecls)
     TheASNamedObjectMap containing ASAttributeDeclarations for all the attributes that can appear on this type of element.
public  voidsetAsCM(ASContentModel asCM)
     The content model of element.
public  voidsetContentType(short contentType)
     The content type of the element.
public  voidsetElementType(ASDataType elementType)
     Datatype of the element.
public  voidsetIsPCDataOnly(boolean isPCDataOnly)
     Boolean defining whether the element type contains child elements and PCDATA or PCDATA only for mixed element types.
public  voidsetStrictMixedContent(boolean strictMixedContent)
     A boolean defining whether the element order and number of the child elements for mixed content type has to be respected or not.
public  voidsetSystemId(String systemId)
     the URI reference representing the system identifier for the notation declaration, if present, null otherwise.

Field Detail
ANY_CONTENTTYPE
final public static short ANY_CONTENTTYPE(Code)
Represents an ANY content type for an Element declaration.



ELEMENTS_CONTENTTYPE
final public static short ELEMENTS_CONTENTTYPE(Code)
Represents an ELEMENTS only content type for an Element declaration.



EMPTY_CONTENTTYPE
final public static short EMPTY_CONTENTTYPE(Code)
Represents an EMPTY content type for an Element declaration.



MIXED_CONTENTTYPE
final public static short MIXED_CONTENTTYPE(Code)
Represents a MIXED content type for an Element declaration. Note that isPCDataOnly would also need to checked, in addition to this, if an element's content model was simply text, as an example.





Method Detail
addASAttributeDecl
public void addASAttributeDecl(ASAttributeDeclaration attributeDecl)(Code)
Adds an ASAttributeDeclaration for the element being declared.
Parameters:
  attributeDecl - The new attribute to add. If the attribute declaration already exists for the element, the call does not have any effect.



getASAttributeDecls
public ASNamedObjectMap getASAttributeDecls()(Code)
TheASNamedObjectMap containing ASAttributeDeclarations for all the attributes that can appear on this type of element.



getAsCM
public ASContentModel getAsCM()(Code)
The content model of element.



getContentType
public short getContentType()(Code)
The content type of the element. One of EMPTY_CONTENTTYPE, ANY_CONTENTTYPE, MIXED_CONTENTTYPE, ELEMENTS_CONTENTTYPE.



getElementType
public ASDataType getElementType()(Code)
Datatype of the element.



getIsPCDataOnly
public boolean getIsPCDataOnly()(Code)
Boolean defining whether the element type contains child elements and PCDATA or PCDATA only for mixed element types. true if the element is of type PCDATA only. Relevant only for mixed content type elements.



getStrictMixedContent
public boolean getStrictMixedContent()(Code)
A boolean defining whether the element order and number of the child elements for mixed content type has to be respected or not. For example XML Schema defined mixed content types the order is important and needs to be respected whether for DTD based AS the order and number of child elements are not important.



getSystemId
public String getSystemId()(Code)
the URI reference representing the system identifier for the notation declaration, if present, null otherwise.



removeASAttributeDecl
public ASAttributeDeclaration removeASAttributeDecl(ASAttributeDeclaration attributeDecl)(Code)
Removes an ASAttributeDeclaration from the element being declared.
Parameters:
  attributeDecl - The attribute declaraition to be removed. If the attribute declaration does not exist for the element, the call does not have any effect. null if the attribute does not exist. Otherwise returns the attribute being removed.



setASAttributeDecls
public void setASAttributeDecls(ASNamedObjectMap ASAttributeDecls)(Code)
TheASNamedObjectMap containing ASAttributeDeclarations for all the attributes that can appear on this type of element.



setAsCM
public void setAsCM(ASContentModel asCM)(Code)
The content model of element.



setContentType
public void setContentType(short contentType)(Code)
The content type of the element. One of EMPTY_CONTENTTYPE, ANY_CONTENTTYPE, MIXED_CONTENTTYPE, ELEMENTS_CONTENTTYPE.



setElementType
public void setElementType(ASDataType elementType)(Code)
Datatype of the element.



setIsPCDataOnly
public void setIsPCDataOnly(boolean isPCDataOnly)(Code)
Boolean defining whether the element type contains child elements and PCDATA or PCDATA only for mixed element types. true if the element is of type PCDATA only. Relevant only for mixed content type elements.



setStrictMixedContent
public void setStrictMixedContent(boolean strictMixedContent)(Code)
A boolean defining whether the element order and number of the child elements for mixed content type has to be respected or not. For example XML Schema defined mixed content types the order is important and needs to be respected whether for DTD based AS the order and number of child elements are not important.



setSystemId
public void setSystemId(String systemId)(Code)
the URI reference representing the system identifier for the notation declaration, if present, null 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.