Package org.mycore.mods
Class MCRMODSPagesHelper
java.lang.Object
org.mycore.mods.MCRMODSPagesHelper
Builds a mods:extent[@unit='pages'] element from text containing pages information.
For example, the input "pp. 3-4" will generate mods:start and mods:end elements.
Additionally, variants of hyphens are normalized to a unique character.
Third, incomplete end page numbers are completed, e.g. S. 3845 - 53 will result in
mods:end=3853.
- Author:
- Frank Lützenkirchen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Element
buildExtentPages
(String input) static org.apache.xpath.NodeSet
buildExtentPagesNodeSet
(String input)
-
Constructor Details
-
MCRMODSPagesHelper
public MCRMODSPagesHelper()
-
-
Method Details
-
buildExtentPages
-
buildExtentPagesNodeSet
- Throws:
JDOMException
-