public void save(SaveState parentSaveState) {

		SaveState ss = new SaveState(XML_NAME);
		ss.putSaveState(arraysFilter.getName(), arraysFilter.save());
		ss.putSaveState(enumsFilter.getName(), enumsFilter.save());
		ss.putSaveState(functionsFilter.getName(), functionsFilter.save());
		ss.putSaveState(pointersFilter.getName(), pointersFilter.save());
		ss.putSaveState(structuresFilter.getName(), structuresFilter.save());
		ss.putSaveState(unionsFilter.getName(), unionsFilter.save());

		parentSaveState.putSaveState(XML_NAME, ss);
	}
A simple object to store various filter settings for the data type provider.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/tree/DtFilterState.java