Package de.pangaea.metadataportal.utils
This package provides utility classes for panFMP.
-
Class Summary Class Description BooleanParser BooleanParser
is a simple static class supplying a method to parse booleans.ElementNameCallParamRule Similar to digester'sPathCallParamRule
, but puts only the element name of the match onto the parameter stack.ExtendedDigester Extension of the Commons Digester Class, that works around some limitations/bugs.ExtendedDigester.DoNothingRule This rule does nothing.HostAndPort Simple static class to parsehost:port
combinations.HttpClientUtils Some utility methods for decompressingHttpResponse
HugeStringHashBuilder A utility class that uses Lucene'sBytesRefHash
to create aSet
.ISODateFormatter Simple static class to create and parse ISO-8601 date stamps (used by OAI harvester): The used date formats are: Long date:uuuu-MM-dd'T'HH:mm:ss'Z'
Short date:uuuu-MM-dd
KeyValuePairs Key/Value pairs used to build JSON.LenientDateParser Simple static class to parse date/times very lenient.LoggingErrorListener Helper class to correctly logTransformerException
s with Commons Logging.LogUtil Simple static class that suppliesPrintStream
s for log methods.NoCloseInputStream QNameParser Simple static class to parse XPath-like string QNames ("prefix:tagname").SaxRule This class is used as a rule for included documents duringDigester
parsing.StaticFactories Some pre-allocated XML factories.XMLToKeyValuePairs Used to serializeNode
from a DOM tree to an Object (mainlyKeyValuePairs
). -
Annotation Types Summary Annotation Type Description PublicForDigesterUse This annotation is used to mark methods/classes that are only declaredpublic
for use byDigester
but are not intended to be public.