Class StringMatches

    • Field Detail

      • matchString

        public PortParameter matchString
        The string to be pattern matched to the regular expression.
      • output

        public TypedIOPort output
        Output is true if the pattern exists in the string, false otherwise. Its type is boolean.
      • pattern

        public PortParameter pattern
        The regular expression to be pattern matched with the matchString string. Its default parameter is an empty string that matches no strings.
    • Constructor Detail

      • StringMatches

        public StringMatches​(CompositeEntity container,
                             java.lang.String name)
                      throws NameDuplicationException,
                             IllegalActionException
        Construct an actor with the given container and name. In addition to invoking the base class constructors, this constructs the pattern and matchString PortParameters, and the output port.
        Parameters:
        container - The container.
        name - The name of this actor.
        Throws:
        IllegalActionException - If the actor cannot be contained by the proposed container.
        NameDuplicationException - If the container already has an actor with this name.