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

java.lang.Object
  extended by org.jvnet.hyperjaxb3.ejb.strategy.model.base.WrapSingleSubstitutedElementReference
All Implemented Interfaces:
CreatePropertyInfos, PropertyInfoProcessor<Collection<com.sun.tools.xjc.model.CPropertyInfo>,ProcessModel>

public class WrapSingleSubstitutedElementReference
extends Object
implements CreatePropertyInfos


Field Summary
protected  org.apache.commons.logging.Log logger
           
 
Constructor Summary
WrapSingleSubstitutedElementReference()
           
 
Method Summary
 com.sun.tools.xjc.model.CElementInfo getElementInfo(com.sun.tools.xjc.model.CReferencePropertyInfo referencePropertyInfo)
           
 Collection<com.sun.tools.xjc.model.CPropertyInfo> process(ProcessModel context, com.sun.tools.xjc.model.CPropertyInfo draftPropertyInfo)
          Creates a collection of properties for the given property.
 
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

WrapSingleSubstitutedElementReference

public WrapSingleSubstitutedElementReference()
Method Detail

process

public Collection<com.sun.tools.xjc.model.CPropertyInfo> process(ProcessModel context,
                                                                 com.sun.tools.xjc.model.CPropertyInfo draftPropertyInfo)
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.
draftPropertyInfo - 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.

getElementInfo

public com.sun.tools.xjc.model.CElementInfo getElementInfo(com.sun.tools.xjc.model.CReferencePropertyInfo referencePropertyInfo)


Copyright © 2005-2011. All Rights Reserved.