Code example for XMLReader

Methods: setEntityResolver

0
        } 
 
        @Override 
        public XMLReader getXMLReader() throws SAXException {
            XMLReader r = sp.getXMLReader();
            r.setEntityResolver(EMPTY_ENTITY_RESOLVER);
            return r;
        } 
 
        @Override 
        public boolean isNamespaceAware() { 
            return sp.isNamespaceAware();
        } 
 
        @Override 
        public boolean isValidating() { 
            return sp.isValidating();
        } 
 
        @Override 
        public void setProperty(String s, Object o) throws SAXNotRecognizedException, SAXNotSupportedException {