Java Doc for StartElement.java in  » 6.0-JDK-Core » xml » javax » xml » stream » events » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Home
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
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Net
51.Parser
52.PDF
53.Portal
54.Profiler
55.Project Management
56.Report
57.RSS RDF
58.Rule Engine
59.Science
60.Scripting
61.Search Engine
62.Security
63.Sevlet Container
64.Source Control
65.Swing Library
66.Template Engine
67.Test Coverage
68.Testing
69.UML
70.Web Crawler
71.Web Framework
72.Web Mail
73.Web Server
74.Web Services
75.Web Services apache cxf 2.2.6
76.Web Services AXIS2
77.Wiki Engine
78.Workflow Engines
79.XML
80.XML UI
Java Source Code / Java Documentation » 6.0 JDK Core » xml » javax.xml.stream.events 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.xml.stream.events.StartElement

StartElement
public interface StartElement extends XMLEvent(Code)
The StartElement interface provides access to information about start elements. A StartElement is reported for each Start Tag in the document.
version:
   1.0
author:
   Copyright (c) 2003 by BEA Systems. All Rights Reserved.
since:
   1.6




Method Summary
public  AttributegetAttributeByName(QName name)
    
public  IteratorgetAttributes()
     Returns an Iterator of non-namespace declared attributes declared on this START_ELEMENT, returns an empty iterator if there are no attributes.
public  QNamegetName()
    
public  NamespaceContextgetNamespaceContext()
     Gets a read-only namespace context.
public  StringgetNamespaceURI(String prefix)
     Gets the value that the prefix is bound to in the context of this element.
public  IteratorgetNamespaces()
     Returns an Iterator of namespaces declared on this element. This Iterator does not contain previously declared namespaces unless they appear on the current START_ELEMENT. Therefore this list may contain redeclared namespaces and duplicate namespace declarations.



Method Detail
getAttributeByName
public Attribute getAttributeByName(QName name)(Code)
Returns the attribute referred to by this name
Parameters:
  name - the qname of the desired name the attribute corresponding to the name value or null



getAttributes
public Iterator getAttributes()(Code)
Returns an Iterator of non-namespace declared attributes declared on this START_ELEMENT, returns an empty iterator if there are no attributes. The iterator must contain only implementations of the javax.xml.stream.Attribute interface. Attributes are fundamentally unordered and may not be reported in any order. a readonly Iterator over Attribute interfaces, or anempty iterator



getName
public QName getName()(Code)
Get the name of this event the qualified name of this event



getNamespaceContext
public NamespaceContext getNamespaceContext()(Code)
Gets a read-only namespace context. If no context is available this method will return an empty namespace context. The NamespaceContext contains information about all namespaces in scope for this StartElement. the current namespace context



getNamespaceURI
public String getNamespaceURI(String prefix)(Code)
Gets the value that the prefix is bound to in the context of this element. Returns null if the prefix is not bound in this context
Parameters:
  prefix - the prefix to lookup the uri bound to the prefix or null



getNamespaces
public Iterator getNamespaces()(Code)
Returns an Iterator of namespaces declared on this element. This Iterator does not contain previously declared namespaces unless they appear on the current START_ELEMENT. Therefore this list may contain redeclared namespaces and duplicate namespace declarations. Use the getNamespaceContext() method to get the current context of namespace declarations.

The iterator must contain only implementations of the javax.xml.stream.Namespace interface.

A Namespace isA Attribute. One can iterate over a list of namespaces as a list of attributes. However this method returns only the list of namespaces declared on this START_ELEMENT and does not include the attributes declared on this START_ELEMENT. Returns an empty iterator if there are no namespaces. a readonly Iterator over Namespace interfaces, or anempty iterator




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