Class MCRConstants

java.lang.Object
org.mycore.common.MCRConstants

public final class MCRConstants extends Object
This class replaces the deprecated MCRDefaults interface and provides some final static fields of common use.
Version:
$Revision$ $Date: 2011-06-22 12:50:42 +0200 (Wed, 22 Jun 2011) $
Author:
Jens Kupferschmidt, Thomas Scheffler (yagee), Stefan Freitag (sasf), Frank Lützenkirchen
  • Field Details

    • DEFAULT_LANG

      public static final String DEFAULT_LANG
      MCR.Metadata.DefaultLang
      See Also:
    • DEFAULT_ENCODING

      public static final String DEFAULT_ENCODING
      The default encoding
      See Also:
    • XML_NAMESPACE

      public static final Namespace XML_NAMESPACE
    • MARC21_NAMESPACE

      public static final Namespace MARC21_NAMESPACE
      the MARC 21 namespace
    • MARC21_SCHEMA_LOCATION

      public static final String MARC21_SCHEMA_LOCATION
      MARC 21 namespace schema location
      See Also:
    • XPATH_FACTORY

      public static final XPathFactory XPATH_FACTORY
    • XSI_NAMESPACE

      public static final Namespace XSI_NAMESPACE
    • XSL_NAMESPACE

      public static final Namespace XSL_NAMESPACE
    • METS_NAMESPACE

      public static final Namespace METS_NAMESPACE
    • DV_NAMESPACE

      public static final Namespace DV_NAMESPACE
    • LIDO_NAMESPACE

      public static final Namespace LIDO_NAMESPACE
    • MODS_NAMESPACE

      public static final Namespace MODS_NAMESPACE
    • ZS_NAMESPACE

      public static final Namespace ZS_NAMESPACE
    • ZR_NAMESPACE

      public static final Namespace ZR_NAMESPACE
    • SRW_NAMESPACE

      public static final Namespace SRW_NAMESPACE
    • INFO_SRW_NAMESPACE

      public static final Namespace INFO_SRW_NAMESPACE
    • PIDEF_NAMESPACE

      public static final Namespace PIDEF_NAMESPACE
    • CROSSREF_NAMESPACE

      public static final Namespace CROSSREF_NAMESPACE
    • DIAG_NAMESPACE

      public static final Namespace DIAG_NAMESPACE
    • EPICURLITE_NAMESPACE

      public static final Namespace EPICURLITE_NAMESPACE
    • ALTO_NAMESPACE

      public static final Namespace ALTO_NAMESPACE
    • SKOS_NAMESPACE

      public static final Namespace SKOS_NAMESPACE
    • RDF_NAMESPACE

      public static final Namespace RDF_NAMESPACE
    • MCR_NAMESPACE

      public static final Namespace MCR_NAMESPACE
  • Constructor Details

    • MCRConstants

      public MCRConstants()
  • Method Details

    • registerNamespace

      public static void registerNamespace(Namespace namespace)
      Adds and registers a standard namespace with prefix. Note that a default namespace without prefix will be ignored here!
    • getStandardNamespaces

      public static Collection<Namespace> getStandardNamespaces()
      Returns a list of standard namespaces used in MyCoRe. Additional namespaces can be configured using properties like MCR.Namespace.<prefix>=<uri>
    • getStandardNamespace

      public static Namespace getStandardNamespace(String prefix)
      Returns the namespace with the given standard prefix. Additional namespaces can be configured using properties like MCR.Namespace.<prefix>=<uri>