src/main/java/eu/digitisation/text/Text.java
private void readALTOFile(File file) throws WarningException {
        Document doc = loadXMLFile(file);
        NodeList lines = doc.getElementsByTagName("TextLine");

        for (int nline = 0; nline < lines.getLength(); ++nline) {
            Element line = (Element) lines.item(nline);
            readALTOTextLine(line);
        }
    }
/**
     * Reads textual content from ALTO XML file
     *
     * @param file the input ALTO file
     */
Reads textual content from ALTO XML file
@param file the input ALTO file
Reads textual content from ALTO XML file @param file the input ALTO file
private void readALTOFile(File file) throws WarningException {
        Document doc = loadXMLFile(file);
        NodeList lines = doc.getElementsByTagName("TextLine");
        for (int nline = 0; nline < lines.getLength(); ++nline) {
            Element line = (Element) lines.item(nline);
            readALTOTextLine(line);
        }
    }
private void readALTOFile ( File file ) throws WarningException { Document doc = loadXMLFile ( file ) ; NodeList lines = doc . getElementsByTagName ( "TextLine" ) ; for ( int nline = 0 ; nline < lines . getLength ( ) ; ++ nline ) { Element line = ( Element ) lines . item ( nline ) ; readALTOTextLine ( line ) ; } }
Reads textual content from ALTO XML file
 @param file the input ALTO file
Reads textual content from ALTO XML file @param file the input ALTO file