I found the following code. But I can't undestand what it is. Looks like inner class. But seems very strange. What is is? How can we define class and create it? As I know here must be inheritance from DefaultHandler, but where is it?
DefaultHandler handler = new DefaultHandler() {
boolean bfname = false;
...
public void startElement(String uri, String localName,String qName,
Attributes attributes) throws SAXException {
...
}
public void endElement(String uri, String localName,
String qName) throws SAXException {
...
}
...
};