SAX事件解析的DefaultHandler源码分析:
public class DefaultHandler
implements EntityResolver, DTDHandler, ContentHandler, ErrorHandler
{
public InputSource resolveEntity (String publicId, String systemId)
throws IOException, SAXException
{
return null;
}
/**
* noted by xiao
*接收符号声明的通知
*
*/
public void notationDecl (String name, String publicId, String systemId)
throws SAXException
{
// no op
}
/**
* noted by xiao
*接收未分析实体声明通知
*
*/
public void unparsedEntityDecl (String name, String publicId,
String systemId, String notationName)
throws SAXException
{
// no op
}
/**
*noted by xiao
*接收文档事件的定位器对象
*
*/