public static void initValueHandler(TypeBinding typeBinding) { typeBinding.setHandler(SpringPlainValueHandler.SPRING_PLAIN_VALUE_HANDLER); // value can take characters typeBinding.setSimpleType(PlainValueCharactersHandler.HANDLER); }
/** * This method will create a new simple type binding with the passed in characters handler * and set this simple type as the simple type of the complex type the method was invoked on. * @param charactersHandler */ public void setSimpleType(CharactersHandler charactersHandler) { setSimpleType(new TypeBinding(charactersHandler)); }
public static void initPropHandler(TypeBinding typeBinding) { typeBinding.setHandler(PropHandler.HANDLER); // property takes characters typeBinding.setSimpleType(PropertyCharactersHandler.HANDLER); }
public static void initPropertyHandler(TypeBinding typeBinding) { typeBinding.setHandler(PropertyHandler.HANDLER); // property can take characters typeBinding.setSimpleType(PropertyCharactersHandler.HANDLER); // configure configureValueBindings(typeBinding); }
type.setSimpleType(unresolvedCharactersHandler); type.setParticle(new ParticleBinding(sequence));
binding.setSimpleType(simpleType); binding.setSimpleType(stringType);