org.cyberneko.pull.event
Class DocumentEvent

java.lang.Object
  extended byorg.cyberneko.pull.XMLEvent
      extended byorg.cyberneko.pull.event.BoundedEvent
          extended byorg.cyberneko.pull.event.DocumentEvent

public class DocumentEvent
extends BoundedEvent

A document event.

Version:
$Id: DocumentEvent.java,v 1.2 2003/01/28 20:00:30 andyc Exp $
Author:
Andy Clark

Field Summary
 java.lang.String encoding
          The automatically detected encoding of the document.
 org.apache.xerces.xni.XMLLocator locator
          The document locator.
 
Fields inherited from class org.cyberneko.pull.event.BoundedEvent
start
 
Fields inherited from class org.cyberneko.pull.XMLEvent
augs, CDATA, CHARACTERS, COMMENT, DOCTYPE_DECL, DOCUMENT, ELEMENT, GENERAL_ENTITY, next, PREFIX_MAPPING, PROCESSING_INSTRUCTION, TEXT_DECL, type
 
Constructor Summary
DocumentEvent()
          Default constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

locator

public org.apache.xerces.xni.XMLLocator locator
The document locator. Unlike other data values, the application is allowed to keep a reference to this object in order to query document locations of events.


encoding

public java.lang.String encoding
The automatically detected encoding of the document.

Constructor Detail

DocumentEvent

public DocumentEvent()
Default constructor.



(C) Copyright 2002-2004, Andy Clark. All rights reserved.