Package org.mycore.common
Class MCRConstants
java.lang.Object
org.mycore.common.MCRConstants
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Namespace
static final Namespace
static final String
The default encodingstatic final String
MCR.Metadata.DefaultLangstatic final Namespace
static final Namespace
static final Namespace
static final Namespace
static final Namespace
static final Namespace
the MARC 21 namespacestatic final String
MARC 21 namespace schema locationstatic final Namespace
static final Namespace
static final Namespace
static final Namespace
static final Namespace
static final Namespace
static final Namespace
static final Namespace
static final Namespace
static final XPathFactory
static final Namespace
static final Namespace
static final Namespace
static final Namespace
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Namespace
getStandardNamespace
(String prefix) Returns the namespace with the given standard prefix.static Collection<Namespace>
Returns a list of standard namespaces used in MyCoRe.static void
registerNamespace
(Namespace namespace) Adds and registers a standard namespace with prefix.
-
Field Details
-
DEFAULT_LANG
MCR.Metadata.DefaultLang- See Also:
-
DEFAULT_ENCODING
The default encoding- See Also:
-
XML_NAMESPACE
-
XLINK_NAMESPACE
-
MARC21_NAMESPACE
the MARC 21 namespace -
MARC21_SCHEMA_LOCATION
MARC 21 namespace schema location- See Also:
-
XPATH_FACTORY
-
XSI_NAMESPACE
-
XSL_NAMESPACE
-
METS_NAMESPACE
-
DV_NAMESPACE
-
LIDO_NAMESPACE
-
MODS_NAMESPACE
-
ZS_NAMESPACE
-
ZR_NAMESPACE
-
SRW_NAMESPACE
-
INFO_SRW_NAMESPACE
-
PIDEF_NAMESPACE
-
CROSSREF_NAMESPACE
-
DIAG_NAMESPACE
-
EPICURLITE_NAMESPACE
-
ALTO_NAMESPACE
-
SKOS_NAMESPACE
-
RDF_NAMESPACE
-
MCR_NAMESPACE
-
-
Constructor Details
-
MCRConstants
public MCRConstants()
-
-
Method Details
-
registerNamespace
Adds and registers a standard namespace with prefix. Note that a default namespace without prefix will be ignored here! -
getStandardNamespaces
Returns a list of standard namespaces used in MyCoRe. Additional namespaces can be configured using properties like MCR.Namespace.<prefix>=<uri> -
getStandardNamespace
Returns the namespace with the given standard prefix. Additional namespaces can be configured using properties like MCR.Namespace.<prefix>=<uri>
-