java.lang.Object
com.aoapps.encoding.taglib.TeiUtils
Utilities common to several
TagExtraInfo
implementations.- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionstatic List
<ValidationMessage> validateMediaType
(TagData data, List<ValidationMessage> messages) Checks that a type is a valid MediaType.
-
Method Details
-
validateMediaType
public static List<ValidationMessage> validateMediaType(TagData data, List<ValidationMessage> messages) Checks that a type is a valid MediaType.- Parameters:
messages
- the list of messages to add to, maybenull
- Returns:
- the list of messages. A new list will have been created if the
message
parameter wasnull
- See Also:
-