sk.uniba.euromath.tools.xml.sax
Enum SAXEventKindEnum

java.lang.Object
  extended by java.lang.Enum<SAXEventKindEnum>
      extended by sk.uniba.euromath.tools.xml.sax.SAXEventKindEnum
All Implemented Interfaces:
Serializable, Comparable<SAXEventKindEnum>

public enum SAXEventKindEnum
extends Enum<SAXEventKindEnum>

Enumerates kinds of SAX events.

Author:
Martin Vysny

Enum Constant Summary
ATTRIBUTES
          Attributes in elements.
DOCUMENT
          ContentHandler.startDocument() and ContentHandler.endDocument() calls.
ELEMENTS
          ContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes), ContentHandler.endElement(java.lang.String, java.lang.String, java.lang.String) calls.
PREFIX_MAPPINGS
          ContentHandler.startPrefixMapping(java.lang.String, java.lang.String), ContentHandler.endPrefixMapping(java.lang.String) calls.
PROCESSING_INSTRUCTION
          ContentHandler.processingInstruction(java.lang.String, java.lang.String) call.
SKIPPED_ENTITY
          ContentHandler.skippedEntity(java.lang.String) call.
TEXT
          ContentHandler.characters(char[], int, int), ContentHandler.ignorableWhitespace(char[], int, int) calls.
 
Method Summary
static SAXEventKindEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SAXEventKindEnum[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DOCUMENT

public static final SAXEventKindEnum DOCUMENT
ContentHandler.startDocument() and ContentHandler.endDocument() calls.


TEXT

public static final SAXEventKindEnum TEXT
ContentHandler.characters(char[], int, int), ContentHandler.ignorableWhitespace(char[], int, int) calls.


ELEMENTS

public static final SAXEventKindEnum ELEMENTS
ContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes), ContentHandler.endElement(java.lang.String, java.lang.String, java.lang.String) calls.


ATTRIBUTES

public static final SAXEventKindEnum ATTRIBUTES
Attributes in elements.


PREFIX_MAPPINGS

public static final SAXEventKindEnum PREFIX_MAPPINGS
ContentHandler.startPrefixMapping(java.lang.String, java.lang.String), ContentHandler.endPrefixMapping(java.lang.String) calls.


PROCESSING_INSTRUCTION

public static final SAXEventKindEnum PROCESSING_INSTRUCTION
ContentHandler.processingInstruction(java.lang.String, java.lang.String) call.


SKIPPED_ENTITY

public static final SAXEventKindEnum SKIPPED_ENTITY
ContentHandler.skippedEntity(java.lang.String) call.

Method Detail

values

public static final SAXEventKindEnum[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(SAXEventKindEnum c : SAXEventKindEnum.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static SAXEventKindEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name


Copyright 2003-2003-2006 null. All Rights Reserved.