summaryrefslogtreecommitdiff
path: root/libjava/java/text/MessageFormat.h
blob: 961b0954146fbf4800b14ecfc0c628ba60b0ac45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_text_MessageFormat__
#define __java_text_MessageFormat__

#pragma interface

#include <java/text/Format.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace lang
      {
          class CPStringBuilder;
      }
      namespace text
      {
          class FormatCharacterIterator;
      }
    }
  }
  namespace java
  {
    namespace text
    {
        class AttributedCharacterIterator;
        class FieldPosition;
        class Format;
        class MessageFormat;
        class MessageFormat$MessageFormatElement;
        class ParsePosition;
    }
  }
}

class java::text::MessageFormat : public ::java::text::Format
{

  static jint scanString(::java::lang::String *, jint, ::gnu::java::lang::CPStringBuilder *);
  static jint scanFormatElement(::java::lang::String *, jint, ::gnu::java::lang::CPStringBuilder *, jchar);
  static jint scanFormat(::java::lang::String *, jint, ::gnu::java::lang::CPStringBuilder *, ::java::util::List *, ::java::util::Locale *);
public:
  virtual void applyPattern(::java::lang::String *);
  virtual ::java::lang::Object * clone();
  virtual jboolean equals(::java::lang::Object *);
  virtual ::java::text::AttributedCharacterIterator * formatToCharacterIterator(::java::lang::Object *);
  static ::java::lang::String * format(::java::lang::String *, JArray< ::java::lang::Object * > *);
  virtual ::java::lang::StringBuffer * format(JArray< ::java::lang::Object * > *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
private:
  ::java::lang::StringBuffer * formatInternal(JArray< ::java::lang::Object * > *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *, ::gnu::java::text::FormatCharacterIterator *);
public:
  virtual ::java::lang::StringBuffer * format(::java::lang::Object *, ::java::lang::StringBuffer *, ::java::text::FieldPosition *);
  virtual JArray< ::java::text::Format * > * getFormats();
  virtual ::java::util::Locale * getLocale();
  virtual jint hashCode();
private:
  MessageFormat();
public:
  MessageFormat(::java::lang::String *);
  MessageFormat(::java::lang::String *, ::java::util::Locale *);
  virtual JArray< ::java::lang::Object * > * parse(::java::lang::String *, ::java::text::ParsePosition *);
  virtual JArray< ::java::lang::Object * > * parse(::java::lang::String *);
  virtual ::java::lang::Object * parseObject(::java::lang::String *, ::java::text::ParsePosition *);
  virtual void setFormat(jint, ::java::text::Format *);
  virtual void setFormats(JArray< ::java::text::Format * > *);
  virtual void setLocale(::java::util::Locale *);
  virtual ::java::lang::String * toPattern();
  virtual JArray< ::java::text::Format * > * getFormatsByArgumentIndex();
  virtual void setFormatByArgumentIndex(jint, ::java::text::Format *);
  virtual void setFormatsByArgumentIndex(JArray< ::java::text::Format * > *);
private:
  static const jlong serialVersionUID = 6479157306784022952LL;
  ::java::lang::String * __attribute__((aligned(__alignof__( ::java::text::Format)))) pattern;
  ::java::util::Locale * locale;
  JArray< ::java::text::MessageFormat$MessageFormatElement * > * elements;
  ::java::lang::String * leader;
public:
  static ::java::lang::Class class$;
};

#endif // __java_text_MessageFormat__