Package eu.simuline.util.sgml
Utility classes to parse sgml (non-validating).
x ***** NOT YET COMPLETE.-
Interface Summary Interface Description ParseExceptionHandler Rudimentary Handler for SAXParseExceptions: The idea is that for html-parsers one needs a notify rather than throwing an exception as it is appropriate for xml.SGMLParser.CharTester Provides a single method which decides whether the given character passes a certain test.SGMLParser.XMLsGMLspecifica Provides a bunch of methods fpr parsing with implementations specific to xml and sgml. -
Class Summary Class Description AttributesImpl An **** partial **** implementation of the SAX-interfaceAttributeswhich allows attributes without values usingAttributesImpl.NO_VALUE.ParseExceptionHandler.Impl Trivial implementation for enclosing interface.ReportContentHandler AContentHandlerwhich reports certain events toSystem.out.SavingHandler Saves all events in a list to be returned bySavingHandler.getEvents().SGMLFilter A ContentHandler wrapping another ContentHandler which filters information in a way that is useful/necessary for html-parsers: turn tags into lower case.SGMLParser A rudimentarySGMLparser with something like a SAX-api.SGMLParser.Buffer Class which buffers the read stream.SGMLParser.SpecCharTester ACharTesterwhich allows to specify the character which passes the test.SGMLParser.TrivialContentHandler AContentHandlerwhich simply ignores all events.