org.jvnet.hyperjaxb3.ejb.strategy.model.base
Class AbstractWrapBuiltin

java.lang.Object
  extended by org.jvnet.hyperjaxb3.ejb.strategy.model.base.AbstractWrapBuiltin
All Implemented Interfaces:
CreatePropertyInfos, PropertyInfoProcessor<Collection<com.sun.tools.xjc.model.CPropertyInfo>,ProcessModel>
Direct Known Subclasses:
WrapCollectionBuiltinNonReference, WrapSingleBuiltinNonReference, WrapSingleBuiltinReference

public abstract class AbstractWrapBuiltin
extends Object
implements CreatePropertyInfos


Field Summary
protected  org.apache.commons.logging.Log logger
           
 
Constructor Summary
AbstractWrapBuiltin()
           
 
Method Summary
abstract  CreatePropertyInfos getCreatePropertyInfos(ProcessModel context, com.sun.tools.xjc.model.CPropertyInfo propertyInfo)
           
abstract  com.sun.tools.xjc.model.CBuiltinLeafInfo getTypeUse(ProcessModel context, com.sun.tools.xjc.model.CPropertyInfo propertyInfo)
           
 Collection<com.sun.tools.xjc.model.CPropertyInfo> process(ProcessModel context, com.sun.tools.xjc.model.CPropertyInfo propertyInfo)
          Creates a collection of properties for the given property.
protected abstract  Collection<com.sun.tools.xjc.model.CPropertyInfo> wrapAnyType(ProcessModel context, com.sun.tools.xjc.model.CPropertyInfo propertyInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected org.apache.commons.logging.Log logger
Constructor Detail

AbstractWrapBuiltin

public AbstractWrapBuiltin()
Method Detail

process

public Collection<com.sun.tools.xjc.model.CPropertyInfo> process(ProcessModel context,
                                                                 com.sun.tools.xjc.model.CPropertyInfo propertyInfo)
Description copied from interface: CreatePropertyInfos
Creates a collection of properties for the given property.

Specified by:
process in interface CreatePropertyInfos
Specified by:
process in interface PropertyInfoProcessor<Collection<com.sun.tools.xjc.model.CPropertyInfo>,ProcessModel>
Parameters:
context - processing context.
propertyInfo - 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.

wrapAnyType

protected abstract Collection<com.sun.tools.xjc.model.CPropertyInfo> wrapAnyType(ProcessModel context,
                                                                                 com.sun.tools.xjc.model.CPropertyInfo propertyInfo)

getTypeUse

public abstract com.sun.tools.xjc.model.CBuiltinLeafInfo getTypeUse(ProcessModel context,
                                                                    com.sun.tools.xjc.model.CPropertyInfo propertyInfo)

getCreatePropertyInfos

public abstract CreatePropertyInfos getCreatePropertyInfos(ProcessModel context,
                                                           com.sun.tools.xjc.model.CPropertyInfo propertyInfo)


Copyright © 2005-2014. All Rights Reserved.