Uses of Interface
eu.bandm.tools.annotations.PreMessage
Packages that use 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
Classes in eu.bandm.tools.annotations that implement PreMessageMethods in eu.bandm.tools.annotations that return PreMessageModifier and TypeMethodDescriptionstatic PreMessage
PreMessage.preMessage
(String text, Object... args) Factory method.static PreMessage
SimplePreMessage.preMessage
(String text, Object... args) Factory method.Methods in eu.bandm.tools.annotations with parameters of type PreMessageModifier and TypeMethodDescriptionstatic String
PreMessage.format
(PreMessage pm) Executes formatting recursively. -
Uses of PreMessage in eu.bandm.tools.message
Classes in eu.bandm.tools.message that implement PreMessageModifier 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".Methods in eu.bandm.tools.message with parameters of type PreMessageModifier 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
Methods in eu.bandm.tools.option.runtime with parameters of type PreMessageModifier 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
Methods in eu.bandm.tools.util.xml that return PreMessageModifier 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".