Retrieves the list of messages.

@return the messages for the current context.
322073
public List<String> getMessages() {
		MessageModel model = getComponentModel();

		List<String> messages = new ArrayList<>(model.messages.size());

		for (Duplet<Serializable, Boolean> message : model.messages) {
			String text = I18nUtilities.format(null, message.getFirst());
			// If we are outputting unencoded content it must be XML valid.
			boolean encode = message.getSecond();
			messages.add(encode ? WebUtilities.encode(text) : HtmlToXMLUtil.unescapeToXML(text));
		}

		return Collections.unmodifiableList(messages);
	}
1231572
public MessageInfo getMessageInfo() {
        if (messageInfo == null) {
            MessageLine l = firstLine.prev;
            if (l != null && l.isInfo())
                messageInfo = new MessageInfo(l.text);
            else
                messageInfo = MessageInfo.dummyInfo;
        }
        return messageInfo;
    }
145037
public List getErrorMessages() {
	             List messages = new ArrayList();
	         for ( Iterator errorIter = errors.iterator() ; errorIter.hasNext() ; ) {
	                      messages.add( createErrorMessage( (RecognitionException) errorIter.next() ) );
	                  }
	                  return messages;
	         }
1332689
public function message()
    {
        $messages = [];
        foreach($this->values as $key => $value) {
            if ($value->fails()) {
                $messages[$key] = $value->message();
            }
        }
        return $messages;
    }
378187
protected function getUserMessages()
    {
        $messages = [];

        foreach ($this->repository->all() as $field) {
            foreach ($field->getOption('messages') as $rule => $message) {
                $messages[$field->getName().'.'.$rule] = $message;
            }
        }

        return $messages;
    }
1019558
public Enumeration listMessagingEngines() {

        String thisMethodName = CLASS_NAME + ".listMessagingEngines()";

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            SibTr.entry(tc, thisMethodName, this);
        }

        Vector v = new Vector();

        Enumeration vEnum = _messagingEngines.elements();
        while (vEnum.hasMoreElements()) {
            Object o = vEnum.nextElement();
            Object c = ((MessagingEngine) o).getRuntime();
            if (c instanceof BaseMessagingEngineImpl)
                v.addElement(c);
        }

        Enumeration elements = v.elements();

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            SibTr.exit(tc, thisMethodName);
        }

        return elements;
    }
784242
public function getMessages()
    {
        $message = new IncomingMessage(Location::PATTERN, $this->event->get('ToUserName'), $this->event->get('FromUserName'),
            $this->event);
        $message->setLocation($this->getLocation());

        return [$message];
    }
1329122
def get_messages(self, *args, **kwargs):
        
        return self.get_content(self.config['messages'], *args, **kwargs)
944463
public List<LogMessage> getLogs() {
        final ArrayList<LogMessage> messages = new ArrayList<LogMessage>();
        for (final String logName : logs.keySet()) {
            messages.addAll(logs.get(logName).getLogMessages());
        }
        Collections.sort(messages, new LogMessageComparator());
        return messages;
    }
1341070
public function getMessages()
    {
        if (empty($this->messages)) {
            $this->messages = [
                new IncomingMessage($this->event->get('text'), $this->event->get('msisdn'), $this->event->get('to'), $this->payload),
            ];
        }

        return $this->messages;
    }
376930
def get_messages(self):
        
        cs = self.data["comments"]["data"]
        res = [] 
        for c in cs:
            res.append(Message(c,self))
        return res
18560
public function getMessages()
    {
        $messages = parent::getMessages();

        $options = $this->getOptions();
        foreach ($options as $option) {
            $widget = $this->getEntryWidget($option->value);
            $messages = array_merge($messages, $widget->getMessages());
        }

        return $messages;
    }
1269065
public function getMessages()
    {
        $messages = array();

        foreach ($this->getDescendants() as $widget) {
            $messages = array_merge($messages, $widget->getMessages());
        }

        return $messages;
    }
440272
def messages(self):
        
        if self._messages is None:
            self._messages = MessageList(self._version, session_sid=self._solution['sid'], )
        return self._messages
53029
public function getMessages()
    {
        $messages = $this->fromPrevious;

        foreach ($this->forNow as $key => $values) {
            if (!isset($messages[$key])) {
                $messages[$key] = [];
            }

            foreach ($values as $value) {
                array_push($messages[$key], $value);
            }
        }

        return $messages;
    }
590696
public List<MType> getMessageList() {
    if (externalMessageList == null) {
      externalMessageList = new MessageExternalList<MType, BType, IType>(this);
    }
    return externalMessageList;
  }
704857
def get_messages(self):
        
        uri = '{}/messages'.format(self.data["uri"])
        return self._helper.do_get(uri)