throw new PathEngineException("Unknown fixed constant type for '"+s+"'"); else return hostServices.resolveConstantType(context.appInfo, s);
throw new PathEngineException("Unknown fixed constant type for '"+s+"'"); else return hostServices.resolveConstantType(context.appInfo, s);
@Override public TypeDetails resolveConstantType(Object appContext, String name) throws PathEngineException { ValidatorHostContext c = (ValidatorHostContext) appContext; if (externalHostServices != null) return externalHostServices.resolveConstantType(c.appContext, name); else return null; }
@Override public TypeDetails resolveConstantType(Object appContext, String name) throws PathEngineException { if (externalHostServices == null) return null; LiquidEngineContext ctxt = (LiquidEngineContext) appContext; return externalHostServices.resolveConstantType(ctxt.externalContext, name); }
private TypeDetails executeContextType(ExecutionTypeContext context, String name) throws PathEngineException, DefinitionException { if (hostServices == null) throw new PathEngineException("Unable to resolve context reference since no host services are provided"); return hostServices.resolveConstantType(context.appInfo, name); }
@Override public TypeDetails resolveConstantType(Object appContext, String name) throws PathEngineException { ValidatorHostContext c = (ValidatorHostContext) appContext; if (externalHostServices != null) return externalHostServices.resolveConstantType(c.appContext, name); else return null; }
private TypeDetails executeContextType(ExecutionTypeContext context, String name) throws PathEngineException, DefinitionException { if (hostServices == null) throw new PathEngineException("Unable to resolve context reference since no host services are provided"); return hostServices.resolveConstantType(context.appInfo, name); }
@Override public TypeDetails resolveConstantType(Object appContext, String name) throws PathEngineException { if (externalHostServices == null) return null; LiquidEngineContext ctxt = (LiquidEngineContext) appContext; return externalHostServices.resolveConstantType(ctxt.externalContext, name); }