src/main/java/eu/digitisation/text/Text.java
private void readFR10File(File file) throws WarningException {
        Document doc = loadXMLFile(file);

        List<Element> pars = (filter == null)
                ? new ElementList(doc.getElementsByTagName("par"))
                : filter.selectElements(doc);

        for (int npar = 0; npar < pars.size(); ++npar) {
            Element par = pars.get(npar);
            readFR10Par(par);
        }
    }
/**
     * Reads textual content from FR10 XML file
     *
     * @param file the input XML file
     */
Reads textual content from FR10 XML file
@param file the input XML file
Reads textual content from FR10 XML file @param file the input XML file
private void readFR10File(File file) throws WarningException {
        Document doc = loadXMLFile(file);
        List<Element> pars = (filter == null)
                ? new ElementList(doc.getElementsByTagName("par"))
                : filter.selectElements(doc);
        for (int npar = 0; npar < pars.size(); ++npar) {
            Element par = pars.get(npar);
            readFR10Par(par);
        }
    }
private void readFR10File ( File file ) throws WarningException { Document doc = loadXMLFile ( file ) ; List < Element > pars = ( filter == null ) ? new ElementList ( doc . getElementsByTagName ( "par" ) ) : filter . selectElements ( doc ) ; for ( int npar = 0 ; npar < pars . size ( ) ; ++ npar ) { Element par = pars . get ( npar ) ; readFR10Par ( par ) ; } }
Reads textual content from FR10 XML file
 @param file the input XML file
Reads textual content from FR10 XML file @param file the input XML file