1SAX.setDocumentLocator() 2SAX.startDocument() 3SAX.internalSubset(x, , ) 4SAX.elementDecl(x, 4, ...) 5SAX.elementDecl(test, 1, ...) 6SAX.attributeDecl(test, att, 1, 1, attvalue, ...) 7SAX.entityDecl(test.ent, 1, (null), (null), <test/>) 8SAX.getEntity(test.ent) 9SAX.externalSubset(x, , ) 10SAX.startElement(x) 11SAX.characters( 12 , 5) 13SAX.startElement(test) 14SAX.endElement(test) 15SAX.characters( 16 , 5) 17SAX.getEntity(test.ent) 18SAX.startElement(test) 19SAX.endElement(test) 20SAX.reference(test.ent) 21SAX.characters( 22, 1) 23SAX.endElement(x) 24SAX.endDocument() 25