Code example for ContentHandler

Methods: processingInstruction

0
    } 
 
    @Override 
    public void processingInstruction(String target, String data) throws SAXException {
        if (contentHandler != null) {
            contentHandler.processingInstruction(target, data);
        } 
    } 
 
    @Override 
    public void skippedEntity(String name) throws SAXException {
        if (contentHandler != null) {
            contentHandler.skippedEntity(name);
        } 
    } 
 
    private boolean checkNamespace(String uri) {
        return NS_PREFIX.equals(uri) || MARC21_NS_URI.equals(uri);
    } 
} 
Experience pair programming with AI  Get Codota for Java