Code example for DocumentBuilderFactory

Methods: setAttribute

0
      return factory.isCoalescing();
    } 
 
    @Override 
    public void setAttribute(String name, Object value) throws IllegalArgumentException {
      factory.setAttribute(name, value);
    } 
 
    @Override 
    public Object getAttribute(String name) throws IllegalArgumentException {
      return factory.getAttribute(name);
    } 
 
    @Override 
    public void setFeature(String name, boolean value) throws ParserConfigurationException {
      factory.setFeature(name, value);
    } 
 
    @Override 
    public boolean getFeature(String name) throws ParserConfigurationException {