1SAX.setDocumentLocator() 2SAX.startDocument() 3SAX.internalSubset(EXAMPLE, , example.dtd) 4SAX.entityDecl(xml, 1, (null), (null), Extensible Markup Language) 5SAX.getEntity(xml) 6SAX.externalSubset(EXAMPLE, , example.dtd) 7SAX.startElement(EXAMPLE) 8SAX.characters( 9 Test of , 11) 10SAX.characters(&, 1) 11SAX.characters(amp; behaviour a, 16) 12SAX.characters(&, 1) 13SAX.characters(b . 14, 4) 15SAX.endElement(EXAMPLE) 16SAX.endDocument() 17