org.fusesource.amqp.generator
Class AmqpDefinedType
java.lang.Object
org.fusesource.amqp.generator.AmqpDefinedType
- Direct Known Subclasses:
- DescribedType, PrimitiveType, RestrictedType
public abstract class AmqpDefinedType
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cm
protected com.sun.codemodel.JCodeModel cm
generator
protected Generator generator
type
protected Type type
definedClass
protected com.sun.codemodel.JDefinedClass definedClass
write
protected com.sun.codemodel.JMethod write
writeConstructor
protected com.sun.codemodel.JMethod writeConstructor
writeBody
protected com.sun.codemodel.JMethod writeBody
read
protected com.sun.codemodel.JMethod read
encodeTo
protected com.sun.codemodel.JMethod encodeTo
decodeFrom
protected com.sun.codemodel.JMethod decodeFrom
getArrayConstructor
protected com.sun.codemodel.JMethod getArrayConstructor
size
protected com.sun.codemodel.JMethod size
sizeOfConstructor
protected com.sun.codemodel.JMethod sizeOfConstructor
sizeOfBody
protected com.sun.codemodel.JMethod sizeOfBody
AmqpDefinedType
public AmqpDefinedType(Generator generator,
java.lang.String className,
Type type)
throws com.sun.codemodel.JClassAlreadyExistsException
- Throws:
com.sun.codemodel.JClassAlreadyExistsException
init
protected void init()
createGetArrayConstructor
protected abstract void createGetArrayConstructor()
createStaticBlock
protected abstract void createStaticBlock()
createInitialFields
protected abstract void createInitialFields()
size
public com.sun.codemodel.JMethod size()
writeConstructor
public com.sun.codemodel.JMethod writeConstructor()
writeBody
public com.sun.codemodel.JMethod writeBody()
sizeOfConstructor
public com.sun.codemodel.JMethod sizeOfConstructor()
sizeOfBody
public com.sun.codemodel.JMethod sizeOfBody()
write
public com.sun.codemodel.JMethod write()
read
public com.sun.codemodel.JMethod read()
encodeTo
public com.sun.codemodel.JMethod encodeTo()
decodeFrom
public com.sun.codemodel.JMethod decodeFrom()
cls
public com.sun.codemodel.JDefinedClass cls()
Copyright © 2012 FuseSource. All Rights Reserved.