Code example for XMLFilter

Methods: setParent

0
    this.manager = manager;
  } 
 
  public XMLHandler(ImportManager manager, XMLFilter filter) throws SAXException
  { 
    filter.setParent(this.createReader());
    reader = filter;
 
    reader.setFeature(SCHEMA_VALIDATION_FEATURE_ID, true);
    reader.setFeature(VALIDATION_FEATURE_ID, true);
    reader.setEntityResolver(new RunwayClasspathEntityResolver());
 
    // Root Handler 
    this.previousHandler = null;
    this.manager = manager;
  } 
 
  protected XMLHandler() 
  { 
 
  }