JBoss Logging I18n Annotation Processor 1.0.3.Final-redhat-2

org.jboss.logging.processor.model
Class ClassModel

java.lang.Object
  extended by org.jboss.logging.processor.model.ClassModel

public abstract class ClassModel
extends Object

The basic java class model.

Author:
Kevin Pollet - SERLI - (kevin.pollet@serli.com), James R. Perkins

Method Summary
 void create(JavaFileObject fileObject)
          Creates the source file.
protected  com.sun.codemodel.internal.JMethod createReadResolveMethod()
          Creates the read resolve method and instance field.
 MessageInterface messageInterface()
          Returns the message interface being used.
 String qualifiedClassName()
          Get the class name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

messageInterface

public final MessageInterface messageInterface()
Returns the message interface being used.

Returns:
the message interface.

create

public final void create(JavaFileObject fileObject)
                  throws IOException,
                         IllegalStateException
Creates the source file.

Parameters:
fileObject - the files object to write the source to.
Throws:
IOException - if the file could not be written.
IllegalStateException - if the implementation is in an invalid state.

qualifiedClassName

public final String qualifiedClassName()
Get the class name.

Returns:
the class name

createReadResolveMethod

protected com.sun.codemodel.internal.JMethod createReadResolveMethod()
Creates the read resolve method and instance field.

Returns:
the read resolve method.

JBoss Logging I18n Annotation Processor 1.0.3.Final-redhat-2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.