Source Code Cross Referenced for StartElement.java in  » 6.0-JDK-Modules » jsr173-Stax » javax » xml » stream » events » 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 » 6.0 JDK Modules » jsr173 Stax » javax.xml.stream.events 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        package javax.xml.stream.events;
02:
03:        import javax.xml.namespace.QName;
04:        import javax.xml.namespace.NamespaceContext;
05:
06:        import java.util.Map;
07:        import java.util.Iterator;
08:
09:        /**
10:         * The StartElement interface provides access to information about
11:         * start elements.  A StartElement is reported for each Start Tag 
12:         * in the document.  
13:         *
14:         * @version 1.0
15:         * @author Copyright (c) 2003 by BEA Systems. All Rights Reserved.
16:         */
17:        public interface StartElement extends XMLEvent {
18:
19:            /**
20:             * Get the name of this event
21:             * @return the qualified name of this event
22:             */
23:            public QName getName();
24:
25:            /**
26:             * Returns an Iterator of non-namespace declared attributes declared on 
27:             * this START_ELEMENT,
28:             * returns an empty iterator if there are no attributes.  The
29:             * iterator must contain only implementations of the javax.xml.stream.Attribute
30:             * interface.   Attributes are fundamentally unordered and may not be reported
31:             * in any order.
32:             *
33:             * @return a readonly Iterator over Attribute interfaces, or an
34:             * empty iterator
35:             */
36:            public Iterator getAttributes();
37:
38:            /**
39:             * Returns an Iterator of namespaces declared on this element.
40:             * This Iterator does not contain previously declared namespaces
41:             * unless they appear on the current START_ELEMENT.
42:             * Therefore this list may contain redeclared namespaces and duplicate namespace
43:             * declarations. Use the getNamespaceContext() method to get the
44:             * current context of namespace declarations.
45:             *  
46:             * <p>The iterator must contain only implementations of the 
47:             * javax.xml.stream.Namespace interface.
48:             * 
49:             * <p>A Namespace isA Attribute.  One
50:             * can iterate over a list of namespaces as a list of attributes.  
51:             * However this method returns only the list of namespaces 
52:             * declared on this START_ELEMENT and does not
53:             * include the attributes declared on this START_ELEMENT.
54:             *
55:             * Returns an empty iterator if there are no namespaces.
56:             *
57:             * @return a readonly Iterator over Namespace interfaces, or an
58:             * empty iterator
59:             *
60:             */
61:            public Iterator getNamespaces();
62:
63:            /**
64:             * Returns the attribute referred to by this name
65:             * @param name the qname of the desired name
66:             * @return the attribute corresponding to the name value or null
67:             */
68:            public Attribute getAttributeByName(QName name);
69:
70:            /**
71:             * Gets a read-only namespace context. If no context is 
72:             * available this method will return an empty namespace context.
73:             * The NamespaceContext contains information about all namespaces
74:             * in scope for this StartElement.
75:             *
76:             * @return the current namespace context
77:             */
78:            public NamespaceContext getNamespaceContext();
79:
80:            /**
81:             * Gets the value that the prefix is bound to in the
82:             * context of this element.  Returns null if 
83:             * the prefix is not bound in this context
84:             * @param prefix the prefix to lookup
85:             * @return the uri bound to the prefix or null
86:             */
87:            public String getNamespaceURI(String prefix);
88:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.