Uses of Interface
eu.bandm.tools.annotations.PreMessage
Package
Description
A collection of general-purpose annotations and exceptions.
Messages and positions in documents,
see the user documentation.
Runtime library for generated option processing code: building blocks for
parsing and GUI.
Utility classes for XML.
-
Uses of PreMessage in eu.bandm.tools.annotations
Modifier and TypeMethodDescriptionstatic PreMessage
PreMessage.preMessage
(String text, Object... args) Factory method.static PreMessage
SimplePreMessage.preMessage
(String text, Object... args) Factory method. -
Uses of PreMessage in eu.bandm.tools.message
Modifier and TypeClassDescriptionclass
A minimal selection of message data which is useful in practice.static class
Log message with not more informative content than "I am still alive".Modifier and TypeMethodDescriptionstatic <D> SimpleMessage
<D> SimpleMessage.error
(PreMessage pm) Convenience factory Method: Construct a message with the given kind from a PreMessage.static <D> SimpleMessage
<D> SimpleMessage.error
(PreMessage pm, @Opt Location<D> loc) static void
SimpleMessage.explode
(PreMessage pm) static <D> void
SimpleMessage.explode
(PreMessage pm, @Opt Location<D> loc) static <D> SimpleMessage
<D> SimpleMessage.from
(PreMessage pm, Message.Kind kind, @Opt Location<D> loc, int level) MessageFormatter.process
(PreMessage embed) Applies the text as a format to the arguments.static <D> SimpleMessage
<D> SimpleMessage.warning
(PreMessage pm, @Opt Location<D> loc) static <D> SimpleMessage
<D> SimpleMessage.warning
(PreMessage pm, @Opt Location<D> loc, int level) SimpleMessage.wrapText
(PreMessage outer) Deliver a message with the same technical data and enhanced text. -
Uses of PreMessage in eu.bandm.tools.option.runtime
Modifier and TypeMethodDescriptionprotected void
Model.ARG_ERROR
(PreMessage msg) Generate error message related to the current option, the argument number, and (possibly) the repetition group number.protected void
Model.type_error
(PreMessage text) Generate error message on wrong argument type and throw the corresponding exception.protected void
Model.TYPE_MISMATCH
(PreMessage text) The next token bo be parsed as an argument does not match the type expected according to the current options's declaration. -
Uses of PreMessage in eu.bandm.tools.util.xml
Modifier and TypeMethodDescriptionprotected static @Opt PreMessage
AttributeValues._checkToken
(@Opt String token, boolean mustBeName) Checks whether the argument fits the rules for Nmtoken, Name, and similars, in XML 1.0.static @Opt PreMessage
AttributeValues.checkNameToken
(@Opt String token) Check whether the argument is a legal value for a "Name" token, according to [XML 1.0].static @Opt PreMessage
Check whether the argument is a legal value for an attribute of type "NameTokens".static @Opt PreMessage
AttributeValues.checkNCName
(@Opt String token) Check whether the argument is a legal value for a "Name" token and does furthermore not contain a colon ":".static @Opt PreMessage
AttributeValues.checkNmToken
(@Opt String token) Check whether the argument is a legal value for "Nmtoken".static @Opt PreMessage
Check whether the argument is a legal value for an attribute of type "NmTokens".static @Opt PreMessage
AttributeValues.checkPITarget
(@Opt String token) Check whether the argument is a legal value for a "Name" token and does not start with the three characters "XML" in any combination of upper/lower case.static @Opt PreMessage
AttributeValues.checkQName
(@Opt String token) Check whether the argument is a legal value for a "QName".