-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
597 additions
and
298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:ns1="http://www.tei-c.org/ns/1.0"> | ||
<xs:import namespace="http://www.tei-c.org/ns/1.0" schemaLocation="template.xsd"/> | ||
<xs:import namespace="http://www.tei-c.org/ns/1.0" schemaLocation="outputTemplate.xsd"/> | ||
<xs:attribute name="id" type="xs:NCName"/> | ||
<xs:attribute name="lang" type="xs:NCName"/> | ||
</xs:schema> |
38 changes: 38 additions & 0 deletions
38
src/main/java/de/sub/goettingen/arendt/beans/PreprocessInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package de.sub.goettingen.arendt.beans; | ||
|
||
import java.util.ArrayList; | ||
import java.util.HashMap; | ||
import java.util.Map; | ||
|
||
public class PreprocessInfo { | ||
private int numberOfLanguages = 0; | ||
private String mainLanguage; | ||
|
||
private Map<String, String> languageMapping = new HashMap<String, String>(); | ||
|
||
public PreprocessInfo() { | ||
languageMapping.put("Latin", "la"); | ||
} | ||
|
||
public int getNumberOfLanguages() { | ||
return numberOfLanguages; | ||
} | ||
|
||
public String getMainLanguage() { | ||
return mainLanguage; | ||
} | ||
|
||
public void setNumberOfLanguages(int numberOfLanguages) { | ||
this.numberOfLanguages = numberOfLanguages; | ||
} | ||
|
||
public void setMainLanguage(String mainLanguage) { | ||
this.mainLanguage = mainLanguage; | ||
} | ||
|
||
public Map<String, String> getLanguageMapping() { | ||
return languageMapping; | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.