Uses of Interface
eu.bandm.tools.annotations.PreMessage
Packages that use PreMessage
Package
Description
A collection of general-purpose annotations and exceptions.
Messages from an application to the user, and the building blocks
for a processing pipeline.
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. -
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 of error kind from a PreMessage.static <D> SimpleMessage
<D> SimpleMessage.error
(PreMessage pm, @Opt Location<D> loc) Convenience factory Method: Construct a message of error kind from a PreMessage.static void
SimpleMessage.explode
(@Opt PreMessage pm) Convert a premessage into a simple message and throw it as an exception.static <D> void
SimpleMessage.explode
(@Opt PreMessage pm, @Opt Location<D> loc) Convert a premessage into a simple message and throw it as an exception.static <D> SimpleMessage
<D> SimpleMessage.from
(PreMessage pm, Message.Kind kind, @Opt Location<D> loc, int level) Create a message from a pre-message, a kind, a location, and a level.MessageFormatter.process
(PreMessage embed) Service access point to apply the text as a format to the arguments.static <D> SimpleMessage
<D> SimpleMessage.warning
(PreMessage pm, @Opt Location<D> loc) Convenience factory Method: Construct a message of warning kind from a PreMessage.static <D> SimpleMessage
<D> SimpleMessage.warning
(PreMessage pm, @Opt Location<D> loc, int level) Convenience factory Method: Construct a message of warning kind from a PreMessage.SimpleMessage.wrapText
(PreMessage outer) Deliver a new message with the same technical data as this message, but with 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".