package org.jvnet.jaxb2_commons.xjc.generator.artificial;
import org.jvnet.jaxb2_commons.xjc.generator.MPropertyOutlineGenerator;
import org.jvnet.jaxb2_commons.xjc.outline.MClassOutline;
import org.jvnet.jaxb2_commons.xjc.outline.MPropertyAccessor;
import org.jvnet.jaxb2_commons.xjc.outline.MPropertyAccessorFactory;
import org.jvnet.jaxb2_commons.xjc.outline.MPropertyOutline;
import org.jvnet.jaxb2_commons.xjc.outline.concrete.CMPropertyOutline;
import org.jvnet.jaxb2_commons.xml.bind.model.MModelInfo;
import org.jvnet.jaxb2_commons.xml.bind.model.MPropertyInfo;
import com.sun.codemodel.JExpression;
import com.sun.tools.xjc.model.nav.NClass;
import com.sun.tools.xjc.model.nav.NType;
public class WrapperPropertyOutlineGenerator implements
MPropertyOutlineGenerator {
public MPropertyOutline generate(MClassOutline classOutline,
MModelInfo<NType, NClass> modelInfo,
MPropertyInfo<NType, NClass> propertyInfo) {
return new CMPropertyOutline(classOutline, propertyInfo,
new MPropertyAccessorFactory() {
public MPropertyAccessor createPropertyAccessor(
JExpression target) {
// TODO
throw new UnsupportedOperationException();
}
});
}
}