API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.stream.events. StartElement View Source
Author(s)
Copyright (c) 2003 by BEA Systems. All Rights Reserved.
Since
1.6
Version
1.0
Serial
Hierarchy
 XMLStreamConstants
      XMLEvent
          StartElement
Subinterfaces
Description
public interface StartElement
  The StartElement interface provides access to information about start elements.
See also:   
Methods
Hide/Show inherited methods
public Attribute getAttributeByName (QName name)
  Returns the attribute referred to by this name
public Iterator getAttributes ()
  Returns an Iterator of non-namespace declared attributes declared on this START_ELEMENT, returns an empty iterator if there are no attributes.
public QName getName ()
  Get the name of this event
public NamespaceContext getNamespaceContext ()
  Gets a read-only namespace context.
public Iterator getNamespaces ()
  Returns an Iterator of namespaces declared on this element.
public String getNamespaceURI (String prefix)
  Gets the value that the prefix is bound to in the context of this element.
Fields
Hide/Show inherited fields
publicfinalstatic int ATTRIBUTE = "10" [Inherited From XMLEvent]
  Indicates an event is an attribute
publicfinalstatic int CDATA = "12" [Inherited From XMLEvent]
  Indicates an event is a CDATA section
publicfinalstatic int CHARACTERS = "4" [Inherited From XMLEvent]
  Indicates an event is characters
publicfinalstatic int COMMENT = "5" [Inherited From XMLEvent]
  Indicates an event is a comment
publicfinalstatic int DTD = "11" [Inherited From XMLEvent]
  Indicates an event is a DTD
publicfinalstatic int END_DOCUMENT = "8" [Inherited From XMLEvent]
  Indicates an event is an end document
publicfinalstatic int END_ELEMENT = "2" [Inherited From XMLEvent]
  Indicates an event is an end element
publicfinalstatic int ENTITY_DECLARATION = "15" [Inherited From XMLEvent]
  Indicates a Entity Declaration
publicfinalstatic int ENTITY_REFERENCE = "9" [Inherited From XMLEvent]
  Indicates an event is an entity reference
publicfinalstatic int NAMESPACE = "13" [Inherited From XMLEvent]
  Indicates the event is a namespace declaration
publicfinalstatic int NOTATION_DECLARATION = "14" [Inherited From XMLEvent]
  Indicates a Notation
publicfinalstatic int PROCESSING_INSTRUCTION = "3" [Inherited From XMLEvent]
  Indicates an event is a processing instruction
publicfinalstatic int SPACE = "6" [Inherited From XMLEvent]
  The characters are white space (see [XML], 2.10 "White Space Handling").
publicfinalstatic int START_DOCUMENT = "7" [Inherited From XMLEvent]
  Indicates an event is a start document
publicfinalstatic int START_ELEMENT = "1" [Inherited From XMLEvent]
  Indicates an event is a start element
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar