org.seasar.doma.internal.apt
クラス AbstractGenerator

java.lang.Object
  上位を拡張 org.seasar.doma.internal.apt.AbstractGenerator
すべての実装されたインタフェース:
Closeable, Generator
直系の既知のサブクラス:
DaoGenerator, EntityGenerator

public abstract class AbstractGenerator
extends Object
implements Generator

作成者:
taedium

フィールドの概要
protected  ProcessingEnvironment env
           
protected  Formatter formatter
           
protected static String INDENT_SPACE
           
protected  StringBuilder indentBuffer
           
protected  String packageName
           
protected  String qualifiedName
           
protected  String simpleName
           
protected  TypeElement typeElement
           
 
コンストラクタの概要
AbstractGenerator(ProcessingEnvironment env, TypeElement typeElement, String suffix)
           
 
メソッドの概要
 void close()
           
protected  String formatStringArray(String[] array)
           
protected  void indent()
           
protected  void iprint(String format, Object... args)
           
protected  void print(String format, Object... args)
           
protected  void printGenerated()
           
protected  void throwExceptionIfNecessary()
           
protected  void unindent()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース org.seasar.doma.internal.apt.Generator から継承されたメソッド
generate
 

フィールドの詳細

INDENT_SPACE

protected static final String INDENT_SPACE
関連項目:
定数フィールド値

env

protected final ProcessingEnvironment env

typeElement

protected final TypeElement typeElement

qualifiedName

protected final String qualifiedName

packageName

protected final String packageName

simpleName

protected final String simpleName

formatter

protected final Formatter formatter

indentBuffer

protected final StringBuilder indentBuffer
コンストラクタの詳細

AbstractGenerator

public AbstractGenerator(ProcessingEnvironment env,
                         TypeElement typeElement,
                         String suffix)
                  throws IOException
例外:
IOException
メソッドの詳細

printGenerated

protected void printGenerated()

iprint

protected void iprint(String format,
                      Object... args)

print

protected void print(String format,
                     Object... args)

throwExceptionIfNecessary

protected void throwExceptionIfNecessary()

indent

protected void indent()

unindent

protected void unindent()

formatStringArray

protected String formatStringArray(String[] array)

close

public void close()
定義:
インタフェース Closeable 内の close


Copyright © 2009 The Seasar Foundation. All Rights Reserved.