summaryrefslogtreecommitdiffstats
blob: c1e44d6a109fe97bfd810a759838a9a7796880ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2010-2012, Isode Limited, London, England.
 * All rights reserved.
 */
/*
 * Copyright (c) 2010, Remko Tronçon.
 * All rights reserved.
 */

package com.isode.stroke.parser;

import com.isode.stroke.eventloop.EventLoop;

public class PlatformXMLParserFactory {
    /**
     * Unlike Swiften, this may be threaded, and therefore needs an eventloop.
     */
    public static XMLParser createXMLParser(XMLParserClient client, EventLoop eventLoop) {
        return new PullXMLParser(client, eventLoop);
    }
}