This class extends the SAX2 base handler class to support the
SAX2
extensions. Except for overriding the
original SAX1
method the added handler methods just return. Subclassers may
override everything on a method-by-method basis.
Method from org.xml.sax.ext.DefaultHandler2 Detail: |
public void attributeDecl(String eName,
String aName,
String type,
String mode,
String value) throws SAXException {
}
|
public void comment(char[] ch,
int start,
int length) throws SAXException {
}
|
public void elementDecl(String name,
String model) throws SAXException {
}
|
public void endCDATA() throws SAXException {
}
|
public void endDTD() throws SAXException {
}
|
public void endEntity(String name) throws SAXException {
}
|
public void externalEntityDecl(String name,
String publicId,
String systemId) throws SAXException {
}
|
public InputSource getExternalSubset(String name,
String baseURI) throws SAXException, IOException {
return null;
}
Tells the parser that if no external subset has been declared
in the document text, none should be used. |
public void internalEntityDecl(String name,
String value) throws SAXException {
}
|
public InputSource resolveEntity(String publicId,
String systemId) throws SAXException, IOException {
return resolveEntity (null, publicId, null, systemId);
}
|
public InputSource resolveEntity(String name,
String publicId,
String baseURI,
String systemId) throws SAXException, IOException {
return null;
}
Tells the parser to resolve the systemId against the baseURI
and read the entity text from that resulting absolute URI.
Note that because the older
DefaultHandler.resolveEntity() ,
method is overridden to call this one, this method may sometimes
be invoked with null name and baseURI, and
with the systemId already absolutized. |
public void startCDATA() throws SAXException {
}
|
public void startDTD(String name,
String publicId,
String systemId) throws SAXException {
}
|
public void startEntity(String name) throws SAXException {
}
|