Uses of Interface
eu.bandm.tools.annotations.PreMessage
Packages that use PreMessage
Package
Description
A collection of general-purpose annotations, exceptions, diagnosis,
and marker interfaces.
Human-readable message objects and processing.
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 PreMessagePreMessage.preMessage(String text, Object... args) Factory method.static PreMessageSimplePreMessage.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 TypeClassDescriptionclassA minimal selection of message data which is useful in practice.static classLog 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 <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.static @Opt SimpleMessage<?> SimpleMessage.lift(@Opt PreMessage pm) Convert an optional premessage into an optional simple message of error kind.static @Opt SimpleMessage<?> SimpleMessage.lift(@Opt PreMessage pm, @Opt Location<?> loc) Convert an optional premessage into an optional simple message of error kind.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 voidModel.ARG_ERROR(PreMessage msg) Generate error message related to the current option, the argument number, and (possibly) the repetition group number.protected voidModel.type_error(PreMessage text) Generate error message on wrong argument type and throw the corresponding exception.protected voidModel.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 PreMessageAttributeValues._checkToken(@Opt String token, boolean mustBeName) Checks whether the argument fits the rules for Nmtoken, Name, and similars, in XML 1.0.static @Opt PreMessageAttributeValues.checkNameToken(@Opt String token) Check whether the argument is a legal value for a "Name" token, according to [XML 1.0].static @Opt PreMessageCheck whether the argument is a legal value for an attribute of type "NameTokens".static @Opt PreMessageAttributeValues.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 PreMessageAttributeValues.checkNmToken(@Opt String token) Check whether the argument is a legal value for "Nmtoken".static @Opt PreMessageCheck whether the argument is a legal value for an attribute of type "NmTokens".static @Opt PreMessageAttributeValues.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 PreMessageAttributeValues.checkQName(@Opt String token) Check whether the argument is a legal value for a "QName".