org.jvnet.hyperjaxb3.xjc.generator.bean.field
Class SingleWrappingField

java.lang.Object
  extended by org.jvnet.hyperjaxb3.xjc.generator.bean.field.AbstractField
      extended by org.jvnet.hyperjaxb3.xjc.generator.bean.field.AbstractWrappingField
          extended by org.jvnet.hyperjaxb3.xjc.generator.bean.field.AdaptingWrappingField
              extended by org.jvnet.hyperjaxb3.xjc.generator.bean.field.SingleWrappingField
All Implemented Interfaces:
com.sun.tools.xjc.outline.FieldOutline
Direct Known Subclasses:
ElementField, SingleWrappingElementField, StringField

public class SingleWrappingField
extends AdaptingWrappingField


Field Summary
 
Fields inherited from class org.jvnet.hyperjaxb3.xjc.generator.bean.field.AdaptingWrappingField
xmlAdapterClass
 
Fields inherited from class org.jvnet.hyperjaxb3.xjc.generator.bean.field.AbstractWrappingField
core, coreField, getter, setter
 
Fields inherited from class org.jvnet.hyperjaxb3.xjc.generator.bean.field.AbstractField
codeModel, exposedType, implType, outline, prop
 
Constructor Summary
SingleWrappingField(com.sun.tools.xjc.generator.bean.ClassOutlineImpl context, com.sun.tools.xjc.model.CPropertyInfo prop, com.sun.tools.xjc.model.CPropertyInfo core)
           
 
Method Summary
protected  com.sun.codemodel.JExpression unwrap(com.sun.codemodel.JExpression source)
           
protected  com.sun.codemodel.JExpression wrap(com.sun.codemodel.JExpression target)
           
 
Methods inherited from class org.jvnet.hyperjaxb3.xjc.generator.bean.field.AbstractWrappingField
create, createGetter, createSetter, generateAccessors, getCore, getFieldType, getGetterName, getRawType, getScope, getSetterName, setCore, unwrapCondifiton, wrapCondifiton
 
Methods inherited from class org.jvnet.hyperjaxb3.xjc.generator.bean.field.AbstractField
annotate, castToImplType, generateField, getPropertyInfo, getType, getType, listPossibleTypes, parent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleWrappingField

public SingleWrappingField(com.sun.tools.xjc.generator.bean.ClassOutlineImpl context,
                           com.sun.tools.xjc.model.CPropertyInfo prop,
                           com.sun.tools.xjc.model.CPropertyInfo core)
Method Detail

wrap

protected com.sun.codemodel.JExpression wrap(com.sun.codemodel.JExpression target)
Specified by:
wrap in class AbstractWrappingField

unwrap

protected com.sun.codemodel.JExpression unwrap(com.sun.codemodel.JExpression source)
Specified by:
unwrap in class AbstractWrappingField


Copyright © 2005-2014. All Rights Reserved.