private void parseObject(NSObject obj, State state) throws SAXException, IOException {

        if (obj instanceof NSDictionary) {
            parseDict((NSDictionary) obj, state);
        } else if (obj instanceof NSArray) {
            NSArray nsArray = (NSArray) obj;
            state.xhtml.startElement(ARR);
            for (NSObject child : nsArray.getArray()) {
                parseObject(child, state);
            }
            state.xhtml.endElement(ARR);
        } else if (obj instanceof NSString) {
            state.xhtml.startElement(STRING);
            state.xhtml.characters(((NSString) obj).getContent());
            state.xhtml.endElement(STRING);
        } else if (obj instanceof NSNumber) {
            state.xhtml.startElement(NUMBER);
            state.xhtml.characters(((NSNumber) obj).toString());
            state.xhtml.endElement(NUMBER);
        } else if (obj instanceof NSData) {
            state.xhtml.startElement(DATA);
            handleData((NSData) obj, state);
            state.xhtml.endElement(DATA);
        } else if (obj instanceof NSDate) {
            state.xhtml.startElement(DATE);
            String dateString = state.dateFormat.format(((NSDate) obj).getDate());
            state.xhtml.characters(dateString);
            state.xhtml.endElement(DATE);
        } else if (obj instanceof NSSet) {
            state.xhtml.startElement(SET);
            parseSet((NSSet) obj, state);
            state.xhtml.endElement(SET);
        } else if (obj instanceof UID) {
            //do we want to do anything with obj.getBytes()
            state.xhtml.element(UID, ((UID) obj).getName());
        } else {
            throw new UnsupportedOperationException(
                    "don't yet support this type of object: " + obj.getClass() +
                            " Please open an issue on our tracker");
        }
    }
Parser for Apple's plist and bplist. This is a wrapper around
com.googlecode.plist:dd-plist
<p>
As of 1.25, Tika does not have detection for the text based plist,
so those files will not be directed to this parser

@since 1.25
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-apple-module/src/main/java/org/apache/tika/parser/apple/PListParser.java