Package ghidra.features.bsim.query.description

# Class CategoryRecord

java.lang.Object
ghidra.features.bsim.query.description.CategoryRecord

All Implemented Interfaces:
  `Comparable<CategoryRecord>`

public class CategoryRecord extends Object implements Comparable<CategoryRecord>
A user-defined category associated with an executable Specified by a -type- and then the particular -category- (within the type) that the executable belongs to.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CategoryRecord(String t, String c)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `compareTo(CategoryRecord arg0)`
  `static boolean`
  `enforceTypeCharacters(String val)`
  `boolean`
  `equals(Object obj)`
  `String`
  `getCategory()`
  `String`
  `getType()`
  `static CategoryRecord`
  `restoreXml(XmlPullParser parser)`
  `void`
  `saveXml(Writer fwrite)`

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

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

- ## Constructor Details

  - ### CategoryRecord

    public CategoryRecord(String t, String c)

- ## Method Details

  - ### getType

    public String getType()

  - ### getCategory

    public String getCategory()

  - ### equals

    public boolean equals(Object obj)
    Overrides:
      `equals` in class `Object`

  - ### compareTo

    public int compareTo(CategoryRecord arg0)
    Specified by:
      `compareTo` in interface `Comparable<CategoryRecord>`

  - ### saveXml

    public void saveXml(Writer fwrite) throws IOException
    Throws:
      `IOException`

  - ### restoreXml

    public static CategoryRecord restoreXml(XmlPullParser parser) throws LSHException
    Throws:
      `LSHException`

  - ### enforceTypeCharacters

    public static boolean enforceTypeCharacters(String val)