97b8365caf
From-SVN: r120621
70 lines
1.9 KiB
C++
70 lines
1.9 KiB
C++
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
|
|
|
#ifndef __javax_swing_text_html_StyleSheet$CssParser__
|
|
#define __javax_swing_text_html_StyleSheet$CssParser__
|
|
|
|
#pragma interface
|
|
|
|
#include <java/lang/Object.h>
|
|
extern "Java"
|
|
{
|
|
namespace java
|
|
{
|
|
namespace net
|
|
{
|
|
class URL;
|
|
}
|
|
}
|
|
namespace javax
|
|
{
|
|
namespace swing
|
|
{
|
|
namespace text
|
|
{
|
|
class AttributeSet;
|
|
class MutableAttributeSet;
|
|
namespace html
|
|
{
|
|
class CSSParser;
|
|
class StyleSheet;
|
|
class StyleSheet$CssParser;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
class javax::swing::text::html::StyleSheet$CssParser : public ::java::lang::Object
|
|
{
|
|
|
|
public: // actually package-private
|
|
StyleSheet$CssParser(::javax::swing::text::html::StyleSheet *);
|
|
public:
|
|
virtual ::javax::swing::text::AttributeSet * parseDeclaration(::java::lang::String *);
|
|
virtual ::javax::swing::text::AttributeSet * parseDeclaration(::java::io::Reader *);
|
|
virtual void parse(::java::net::URL *, ::java::io::Reader *, jboolean, jboolean);
|
|
virtual void handleImport(::java::lang::String *);
|
|
virtual void handleSelector(::java::lang::String *);
|
|
virtual void startRule();
|
|
virtual void handleProperty(::java::lang::String *);
|
|
virtual void handleValue(::java::lang::String *);
|
|
virtual void endRule();
|
|
private:
|
|
void addSelector();
|
|
public: // actually package-private
|
|
::java::util::Vector * __attribute__((aligned(__alignof__( ::java::lang::Object)))) selectors;
|
|
::java::util::Vector * selectorTokens;
|
|
::java::lang::String * propertyName;
|
|
::javax::swing::text::MutableAttributeSet * declaration;
|
|
jboolean parsingDeclaration;
|
|
jboolean isLink;
|
|
::java::net::URL * base;
|
|
::javax::swing::text::html::CSSParser * parser;
|
|
::javax::swing::text::html::StyleSheet * this$0;
|
|
public:
|
|
static ::java::lang::Class class$;
|
|
};
|
|
|
|
#endif // __javax_swing_text_html_StyleSheet$CssParser__
|