Code example for ContentHandler

Methods: startPrefixMapping

0
 
    /*package*/ void startNamespace(String prefix, String uri)
            throws SAXException { 
        ContentHandler contentHandler = xmlReader.contentHandler;
        if (contentHandler != null) {
            contentHandler.startPrefixMapping(prefix, uri);
        } 
    } 
 
    /*package*/ void endNamespace(String prefix) throws SAXException {
        ContentHandler contentHandler = xmlReader.contentHandler;
        if (contentHandler != null) {
            contentHandler.endPrefixMapping(prefix);
        } 
    } 
 
    /*package*/ void startDtd(String name, String publicId, String systemId)
            throws SAXException { 
        LexicalHandler lexicalHandler = xmlReader.lexicalHandler;
        if (lexicalHandler != null) {
            lexicalHandler.startDTD(name, publicId, systemId);