org.jvnet.hyperjaxb3.ejb.strategy.model.base
Class AbstractAdaptBuiltinPropertyInfo
java.lang.Object
org.jvnet.hyperjaxb3.ejb.strategy.model.base.AbstractAdaptPropertyInfo
org.jvnet.hyperjaxb3.ejb.strategy.model.base.AbstractAdaptBuiltinPropertyInfo
- All Implemented Interfaces:
- CreatePropertyInfos, PropertyInfoProcessor<Collection<com.sun.tools.xjc.model.CPropertyInfo>,ProcessModel>
- Direct Known Subclasses:
- AdaptCollectionBuiltinNonReference, AdaptSingleBuiltinNonReference, AdaptSingleBuiltinReference, AdaptSingleWildcardNonReference, AdaptSingleWildcardReference
public abstract class AbstractAdaptBuiltinPropertyInfo
- extends AbstractAdaptPropertyInfo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAdaptBuiltinPropertyInfo
public AbstractAdaptBuiltinPropertyInfo(com.sun.tools.xjc.model.TypeUse type,
Class<? extends javax.xml.bind.annotation.adapters.XmlAdapter<?,?>> adapterClass)
AbstractAdaptBuiltinPropertyInfo
public AbstractAdaptBuiltinPropertyInfo(com.sun.tools.xjc.model.TypeUse propertyType)
process
public Collection<com.sun.tools.xjc.model.CPropertyInfo> process(ProcessModel context,
com.sun.tools.xjc.model.CPropertyInfo core)
- Description copied from interface:
CreatePropertyInfos
- Creates a collection of properties for the given property.
- Parameters:
context - processing context.core - property to be processed.
- Returns:
- Collection of properties created for the given property. Must not
be
null, if nothing is created, return an empty collection instead.
getDefaultGeneratedPropertyKind
public com.sun.xml.bind.v2.model.core.PropertyKind getDefaultGeneratedPropertyKind(ProcessModel context,
com.sun.tools.xjc.model.CPropertyInfo propertyInfo)
- Specified by:
getDefaultGeneratedPropertyKind in class AbstractAdaptPropertyInfo
getPropertyType
public com.sun.tools.xjc.model.TypeUse getPropertyType(ProcessModel context,
com.sun.tools.xjc.model.CPropertyInfo propertyInfo)
- Specified by:
getPropertyType in class AbstractAdaptPropertyInfo
getDefaultGeneratedPropertyName
public String getDefaultGeneratedPropertyName(ProcessModel context,
com.sun.tools.xjc.model.CPropertyInfo propertyInfo)
- Specified by:
getDefaultGeneratedPropertyName in class AbstractAdaptPropertyInfo
generateField
protected abstract com.sun.tools.xjc.outline.FieldOutline generateField(ProcessModel context,
com.sun.tools.xjc.model.CPropertyInfo core,
com.sun.tools.xjc.generator.bean.ClassOutlineImpl classOutline,
com.sun.tools.xjc.model.CPropertyInfo propertyInfo)
Copyright © 2005-2011. All Rights Reserved.