class HeaderParserObject {

    public String getFilterName() {
        if (isLoggedIn()) {
            return mHeader.select("form#filter-quick-form").first()
                    .select("option[selected]").first().text();
        } else {
            String filter = mHeader.select("a[href=\"/filters\"]").text();
            Matcher m = PATTERN_FILTER_NAME.matcher(filter);
            m.find();
            return m.group(1);
        }
    }

    public  HeaderParserObject(Document doc);

}