Package ghidra.xml

# Class XmlMessageLog

java.lang.Object
ghidra.app.util.importer.MessageLog
ghidra.xml.XmlMessageLog

public class XmlMessageLog extends MessageLog
A sub-class of MessageLog to handle appending messages from the XML parser.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `XmlMessageLog()`
  Constructs a new XML message log.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `appendMsg(String msg)`
  Appends the message to the log
  `void`
  `setParser(XmlPullParser parser)`
  Sets the XML parser.

  ### Methods inherited from class ghidra.app.util.importer.MessageLog

  `appendException, appendMsg, appendMsg, clear, clearStatus, copyFrom, error, getStatus, hasMessages, setStatus, toString, write`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### XmlMessageLog

    public XmlMessageLog()
    Constructs a new XML message log.

- ## Method Details

  - ### setParser

    public void setParser(XmlPullParser parser)
    Sets the XML parser.
    Parameters:
      `parser` - the XML parser

  - ### appendMsg

    public void appendMsg(String msg)
    Description copied from class: `MessageLog`
    Appends the message to the log
    Overrides:
      `appendMsg` in class `MessageLog`
    Parameters:
      `msg` - the message
    See Also:
      - `MessageLog.appendMsg(java.lang.String)`