diff options
Diffstat (limited to 'libjava/gnu/java/text')
-rw-r--r-- | libjava/gnu/java/text/AttributedFormatBuffer.h | 74 | ||||
-rw-r--r-- | libjava/gnu/java/text/BaseBreakIterator.h | 49 | ||||
-rw-r--r-- | libjava/gnu/java/text/CharacterBreakIterator.h | 56 | ||||
-rw-r--r-- | libjava/gnu/java/text/FormatBuffer.h | 50 | ||||
-rw-r--r-- | libjava/gnu/java/text/FormatCharacterIterator.h | 77 | ||||
-rw-r--r-- | libjava/gnu/java/text/LineBreakIterator.h | 41 | ||||
-rw-r--r-- | libjava/gnu/java/text/SentenceBreakIterator.h | 44 | ||||
-rw-r--r-- | libjava/gnu/java/text/StringFormatBuffer.h | 58 | ||||
-rw-r--r-- | libjava/gnu/java/text/WordBreakIterator.h | 41 |
9 files changed, 490 insertions, 0 deletions
diff --git a/libjava/gnu/java/text/AttributedFormatBuffer.h b/libjava/gnu/java/text/AttributedFormatBuffer.h new file mode 100644 index 000000000..382afe1a3 --- /dev/null +++ b/libjava/gnu/java/text/AttributedFormatBuffer.h @@ -0,0 +1,74 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_text_AttributedFormatBuffer__ +#define __gnu_java_text_AttributedFormatBuffer__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace lang + { + class CPStringBuilder; + } + namespace text + { + class AttributedFormatBuffer; + } + } + } + namespace java + { + namespace text + { + class AttributedCharacterIterator$Attribute; + } + } +} + +class gnu::java::text::AttributedFormatBuffer : public ::java::lang::Object +{ + +public: + AttributedFormatBuffer(::gnu::java::lang::CPStringBuilder *); + AttributedFormatBuffer(jint); + AttributedFormatBuffer(); +private: + void addAttribute(jint, ::java::text::AttributedCharacterIterator$Attribute *); +public: + virtual void append(::java::lang::String *); + virtual void append(::java::lang::String *, ::java::text::AttributedCharacterIterator$Attribute *); + virtual void append(::java::lang::String *, JArray< jint > *, JArray< ::java::util::HashMap * > *); + virtual void append(jchar); + virtual void append(jchar, ::java::text::AttributedCharacterIterator$Attribute *); + virtual void setDefaultAttribute(::java::text::AttributedCharacterIterator$Attribute *); + virtual ::java::text::AttributedCharacterIterator$Attribute * getDefaultAttribute(); + virtual void cutTail(jint); + virtual jint length(); + virtual void clear(); + virtual void sync(); + virtual ::gnu::java::lang::CPStringBuilder * getBuffer(); + virtual JArray< jint > * getRanges(); + virtual JArray< ::java::util::HashMap * > * getAttributes(); +private: + ::gnu::java::lang::CPStringBuilder * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer; + ::java::util::ArrayList * ranges; + ::java::util::ArrayList * attributes; + JArray< jint > * a_ranges; + JArray< ::java::util::HashMap * > * a_attributes; + jint startingRange; +public: // actually package-private + ::java::text::AttributedCharacterIterator$Attribute * defaultAttr; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_text_AttributedFormatBuffer__ diff --git a/libjava/gnu/java/text/BaseBreakIterator.h b/libjava/gnu/java/text/BaseBreakIterator.h new file mode 100644 index 000000000..50998950f --- /dev/null +++ b/libjava/gnu/java/text/BaseBreakIterator.h @@ -0,0 +1,49 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_text_BaseBreakIterator__ +#define __gnu_java_text_BaseBreakIterator__ + +#pragma interface + +#include <java/text/BreakIterator.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace text + { + class BaseBreakIterator; + } + } + } + namespace java + { + namespace text + { + class CharacterIterator; + } + } +} + +class gnu::java::text::BaseBreakIterator : public ::java::text::BreakIterator +{ + +public: + BaseBreakIterator(); + virtual jint current(); + virtual jint first(); + virtual jint following(jint); + virtual ::java::text::CharacterIterator * getText(); + virtual jint last(); + virtual jint next(jint); + virtual void setText(::java::text::CharacterIterator *); +public: // actually protected + ::java::text::CharacterIterator * __attribute__((aligned(__alignof__( ::java::text::BreakIterator)))) iter; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_text_BaseBreakIterator__ diff --git a/libjava/gnu/java/text/CharacterBreakIterator.h b/libjava/gnu/java/text/CharacterBreakIterator.h new file mode 100644 index 000000000..39d681cbc --- /dev/null +++ b/libjava/gnu/java/text/CharacterBreakIterator.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_text_CharacterBreakIterator__ +#define __gnu_java_text_CharacterBreakIterator__ + +#pragma interface + +#include <gnu/java/text/BaseBreakIterator.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace text + { + class CharacterBreakIterator; + } + } + } +} + +class gnu::java::text::CharacterBreakIterator : public ::gnu::java::text::BaseBreakIterator +{ + +public: + virtual ::java::lang::Object * clone(); + CharacterBreakIterator(); +private: + CharacterBreakIterator(::gnu::java::text::CharacterBreakIterator *); + jboolean isL(jchar); + jboolean isV(jchar); + jboolean isT(jchar); + jboolean isLVT(jchar); + jboolean isHighSurrogate(jchar); + jboolean isLowSurrogate(jchar); +public: + virtual jint next(); + virtual jint previous(); +private: + static const jint LBase = 4352; + static const jint VBase = 4449; + static const jint TBase = 4519; + static const jint LCount = 19; + static const jint VCount = 21; + static const jint TCount = 28; + static const jint highSurrogateStart = 55296; + static const jint highSurrogateEnd = 56319; + static const jint lowSurrogateStart = 56320; + static const jint lowSurrogateEnd = 57343; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_text_CharacterBreakIterator__ diff --git a/libjava/gnu/java/text/FormatBuffer.h b/libjava/gnu/java/text/FormatBuffer.h new file mode 100644 index 000000000..267cf6fb0 --- /dev/null +++ b/libjava/gnu/java/text/FormatBuffer.h @@ -0,0 +1,50 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_text_FormatBuffer__ +#define __gnu_java_text_FormatBuffer__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace text + { + class FormatBuffer; + } + } + } + namespace java + { + namespace text + { + class AttributedCharacterIterator$Attribute; + } + } +} + +class gnu::java::text::FormatBuffer : public ::java::lang::Object +{ + +public: + virtual void append(::java::lang::String *) = 0; + virtual void append(::java::lang::String *, ::java::text::AttributedCharacterIterator$Attribute *) = 0; + virtual void append(::java::lang::String *, JArray< jint > *, JArray< ::java::util::HashMap * > *) = 0; + virtual void append(jchar) = 0; + virtual void append(jchar, ::java::text::AttributedCharacterIterator$Attribute *) = 0; + virtual void setDefaultAttribute(::java::text::AttributedCharacterIterator$Attribute *) = 0; + virtual ::java::text::AttributedCharacterIterator$Attribute * getDefaultAttribute() = 0; + virtual void cutTail(jint) = 0; + virtual void clear() = 0; + virtual jint length() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __gnu_java_text_FormatBuffer__ diff --git a/libjava/gnu/java/text/FormatCharacterIterator.h b/libjava/gnu/java/text/FormatCharacterIterator.h new file mode 100644 index 000000000..82c7fa02e --- /dev/null +++ b/libjava/gnu/java/text/FormatCharacterIterator.h @@ -0,0 +1,77 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_text_FormatCharacterIterator__ +#define __gnu_java_text_FormatCharacterIterator__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace text + { + class FormatCharacterIterator; + } + } + } + namespace java + { + namespace text + { + class AttributedCharacterIterator; + class AttributedCharacterIterator$Attribute; + } + } +} + +class gnu::java::text::FormatCharacterIterator : public ::java::lang::Object +{ + +public: + FormatCharacterIterator(); + FormatCharacterIterator(::java::lang::String *, JArray< jint > *, JArray< ::java::util::HashMap * > *); + virtual ::java::util::Set * getAllAttributeKeys(); + virtual ::java::util::Map * getAttributes(); + virtual ::java::lang::Object * getAttribute(::java::text::AttributedCharacterIterator$Attribute *); + virtual jint getRunLimit(::java::util::Set *); + virtual jint getRunLimit(::java::text::AttributedCharacterIterator$Attribute *); + virtual jint getRunLimit(); + virtual jint getRunStart(::java::util::Set *); + virtual jint getRunStart(); + virtual jint getRunStart(::java::text::AttributedCharacterIterator$Attribute *); + virtual ::java::lang::Object * clone(); + virtual jchar current(); + virtual jchar first(); + virtual jint getBeginIndex(); + virtual jint getEndIndex(); + virtual jint getIndex(); + virtual jchar last(); + virtual jchar next(); + virtual jchar previous(); + virtual jchar setIndex(jint); + virtual void mergeAttributes(JArray< ::java::util::HashMap * > *, JArray< jint > *); + virtual void append(::java::text::AttributedCharacterIterator *); + virtual void append(::java::lang::String *, ::java::util::HashMap *); + virtual void append(::java::lang::String *); + virtual void addAttributes(::java::util::HashMap *, jint, jint); +private: + void debug(::java::lang::String *); + void dumpTable(); + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) formattedString; + jint charIndex; + jint attributeIndex; + JArray< jint > * ranges; + JArray< ::java::util::HashMap * > * attributes; + static const jboolean DEBUG = 0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_text_FormatCharacterIterator__ diff --git a/libjava/gnu/java/text/LineBreakIterator.h b/libjava/gnu/java/text/LineBreakIterator.h new file mode 100644 index 000000000..0c4c428c5 --- /dev/null +++ b/libjava/gnu/java/text/LineBreakIterator.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_text_LineBreakIterator__ +#define __gnu_java_text_LineBreakIterator__ + +#pragma interface + +#include <gnu/java/text/BaseBreakIterator.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace text + { + class LineBreakIterator; + } + } + } +} + +class gnu::java::text::LineBreakIterator : public ::gnu::java::text::BaseBreakIterator +{ + +public: + virtual ::java::lang::Object * clone(); + LineBreakIterator(); +private: + LineBreakIterator(::gnu::java::text::LineBreakIterator *); + jboolean isNb(jchar); + jboolean isClose(jint); + jboolean isIdeo(jchar); +public: + virtual jint next(); + virtual jint previous(); + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_text_LineBreakIterator__ diff --git a/libjava/gnu/java/text/SentenceBreakIterator.h b/libjava/gnu/java/text/SentenceBreakIterator.h new file mode 100644 index 000000000..ae5438900 --- /dev/null +++ b/libjava/gnu/java/text/SentenceBreakIterator.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_text_SentenceBreakIterator__ +#define __gnu_java_text_SentenceBreakIterator__ + +#pragma interface + +#include <gnu/java/text/BaseBreakIterator.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace text + { + class SentenceBreakIterator; + } + } + } +} + +class gnu::java::text::SentenceBreakIterator : public ::gnu::java::text::BaseBreakIterator +{ + +public: + virtual ::java::lang::Object * clone(); + SentenceBreakIterator(); +private: + SentenceBreakIterator(::gnu::java::text::SentenceBreakIterator *); +public: + virtual jint next(); +private: + jint previous_internal(); +public: + virtual jint previous(); +private: + jint __attribute__((aligned(__alignof__( ::gnu::java::text::BaseBreakIterator)))) period; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_text_SentenceBreakIterator__ diff --git a/libjava/gnu/java/text/StringFormatBuffer.h b/libjava/gnu/java/text/StringFormatBuffer.h new file mode 100644 index 000000000..9ee5bf8cb --- /dev/null +++ b/libjava/gnu/java/text/StringFormatBuffer.h @@ -0,0 +1,58 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_text_StringFormatBuffer__ +#define __gnu_java_text_StringFormatBuffer__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace text + { + class StringFormatBuffer; + } + } + } + namespace java + { + namespace text + { + class AttributedCharacterIterator$Attribute; + } + } +} + +class gnu::java::text::StringFormatBuffer : public ::java::lang::Object +{ + +public: + StringFormatBuffer(jint); + StringFormatBuffer(::java::lang::StringBuffer *); + virtual void append(::java::lang::String *); + virtual void append(::java::lang::String *, ::java::text::AttributedCharacterIterator$Attribute *); + virtual void append(::java::lang::String *, JArray< jint > *, JArray< ::java::util::HashMap * > *); + virtual void append(jchar); + virtual void append(jchar, ::java::text::AttributedCharacterIterator$Attribute *); + virtual void setDefaultAttribute(::java::text::AttributedCharacterIterator$Attribute *); + virtual ::java::text::AttributedCharacterIterator$Attribute * getDefaultAttribute(); + virtual void cutTail(jint); + virtual jint length(); + virtual void clear(); + virtual ::java::lang::StringBuffer * getBuffer(); + virtual ::java::lang::String * toString(); +private: + ::java::lang::StringBuffer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer; + ::java::text::AttributedCharacterIterator$Attribute * defaultAttr; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_text_StringFormatBuffer__ diff --git a/libjava/gnu/java/text/WordBreakIterator.h b/libjava/gnu/java/text/WordBreakIterator.h new file mode 100644 index 000000000..bcf75bdd9 --- /dev/null +++ b/libjava/gnu/java/text/WordBreakIterator.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_text_WordBreakIterator__ +#define __gnu_java_text_WordBreakIterator__ + +#pragma interface + +#include <gnu/java/text/BaseBreakIterator.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace text + { + class WordBreakIterator; + } + } + } +} + +class gnu::java::text::WordBreakIterator : public ::gnu::java::text::BaseBreakIterator +{ + +public: + virtual ::java::lang::Object * clone(); + WordBreakIterator(); +private: + WordBreakIterator(::gnu::java::text::WordBreakIterator *); + jboolean isHira(jchar); + jboolean isKata(jchar); + jboolean isHan(jchar); +public: + virtual jint next(); + virtual jint previous(); + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_text_WordBreakIterator__ |