/*
 *     Generated by class-dump 3.0.
 *
 *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004 by Steve Nygard.
 */

#import "NSObject.h"

@class NSAttributedString, NSColor, NSMutableArray, NSMutableString;

@interface XHTMLGenerator : NSObject
{
    NSAttributedString *_text;
    BOOL _isXHTML;
    NSColor *_fgColor;
    NSColor *_bgColor;
    NSMutableArray *_tagStack;
    NSMutableArray *_tagValueStack;
    NSMutableString *_out;
}

+ (id)XHTMLFromAttributedString:(id)fp8 defaultBGColor:(id)fp12;
+ (id)HTMLFromAttributedString:(id)fp8 defaultBGColor:(id)fp12;
+ (id)plainTextFromAttributedString:(id)fp8;
+ (id)parseHTML:(id)fp8 isXHTML:(BOOL)fp12 resultingBGColor:(id *)fp16;
- (id)initWithAttributedString:(id)fp8;
- (void)dealloc;
- (void)setXHTML:(BOOL)fp8;
- (void)setDefaultForegroundColor:(id)fp8;
- (void)setDefaultBackgroundColor:(id)fp8;
- (id)_valueOfTag:(id)fp8;
- (void)_pushTag:(id)fp8 tagValue:(id)fp12 attributesAndValues:(id)fp16;
- (void)_pushTag:(id)fp8 tagValue:(id)fp12 attribute:(id)fp16 value:(id)fp20;
- (void)_popTag;
- (void)_popAllTags;
- (void)_popTag:(id)fp8 ifValueNot:(id)fp12;
- (void)_generateHTMLForString:(id)fp8 attributes:(id)fp12;
- (id)generateXHTML;
- (id)generatePlainText;

@end

