org.mycore.datamodel.metadata
Class MCRNormalizeText

java.lang.Object
  extended by org.mycore.datamodel.metadata.MCRNormalizeText

public class MCRNormalizeText
extends Object

This class implements only static methods to normalize text values.

Version:
$Revision: 13085 $ $Date: 2008-02-06 18:27:24 +0100 (Mi, 06 Feb 2008) $
Author:
Jens Kupferschmidt, Thomas Scheffler (yagee)

Constructor Summary
MCRNormalizeText()
           
 
Method Summary
static void normalizeJDOM(Document doc)
          This methode replace any characters of languages like german to normalized values.
static void normalizeMCRObject(MCRBase obj)
          This methode replace any characters of languages like german to normalized values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCRNormalizeText

public MCRNormalizeText()
Method Detail

normalizeJDOM

public static final void normalizeJDOM(Document doc)
This methode replace any characters of languages like german to normalized values. It works over a MCRObject JDOM tree. The following items will be changed:
  • Text()-Node of MCRMeatTextLang
  • Parameters:
    doc - a JDOM tree of a MCRObject

    normalizeMCRObject

    public static final void normalizeMCRObject(MCRBase obj)
    This methode replace any characters of languages like german to normalized values. It works over a MCRObject. The following items will be changed:
  • Text()-Node of MCRMeatTextLang
  • Parameters:
    obj - an instance of a MCRObject