List of usage examples for org.xml.sax XMLReader getProperty
public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException;
From source file:org.exist.util.XMLReaderPool.java
private Object getReaderProperty(XMLReader xmlReader, String propertyName) { Object object = null;/* ww w . j a va 2s . c om*/ try { object = xmlReader.getProperty(propertyName); } catch (final SAXNotRecognizedException ex) { LOG.error("SAXNotRecognizedException: " + ex.getMessage()); } catch (final SAXNotSupportedException ex) { LOG.error("SAXNotSupportedException:" + ex.getMessage()); } return object; }