Class EventDemo

  • All Implemented Interfaces:
    XmlHandler
    Direct Known Subclasses:
    ReaderDemo, StreamDemo

    public class EventDemo
    extends XmlApp
    Demonstration application showing Æfred's event stream.

    Usage: java EventDemo <url>

    Or, use it as an applet, supplying the URL as the url parameter.

    Since:
    Ptolemy II 0.2
    Version:
    1.1
    Author:
    Copyright (c) 1997, 1998 by Microstar Software Ltd.;, written by David Megginson <dmeggins@microstar.com>
    See Also:
    XmlParser, XmlHandler, XmlApp
    • Constructor Summary

      Constructors 
      Constructor Description
      EventDemo()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void attribute​(java.lang.String name, java.lang.String value, boolean isSpecified)
      Handle an attribute value assignment by printing an event.
      void charData​(char[] ch, int start, int length)
      Handle character data by printing an event.
      void doctypeDecl​(java.lang.String name, java.lang.String pubid, java.lang.String sysid)
      Handle a DOCTYPE declaration by printing an event.
      void endDocument()
      Handle the end of the document by printing an event.
      void endElement​(java.lang.String name)
      Handle the end of an element by printing an event.
      void endExternalEntity​(java.lang.String systemId)
      End an external entity.
      void ignorableWhitespace​(char[] ch, int start, int length)
      Handle ignorable whitespace by printing an event.
      static void main​(java.lang.String[] args)
      Entry point for an application.
      void processingInstruction​(java.lang.String target, java.lang.String data)
      Handle a processing instruction by printing an event.
      java.lang.Object resolveEntity​(java.lang.String publicId, java.lang.String systemId)
      Resolve an entity and print an event.
      void startDocument()
      Handle the start of the document by printing an event.
      void startElement​(java.lang.String name)
      Handle the start of an element by printing an event.
      void startExternalEntity​(java.lang.String systemId)
      Begin an external entity.
      • Methods inherited from class com.microstar.xml.demo.XmlApp

        error
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait