public void end(String sNamespace, String sName) throws XMLConfigLoaderException { if (_oDir == null || Strings.isEmpty(_oDir.getPath())) { throw new XMLConfigLoaderException( "config > java-class-path > compiled-directory: must specify a directory name"); } _oJavaClassPath.addCompiledDir(_oDir, _sPackageNamePrefix); }
public void body(String sNamespace, String sName, String sText) throws XMLConfigLoaderException { if (Strings.isEmpty(sText)) { throw new XMLConfigLoaderException( "config > controller-mapping > ignore-handler-method-case: must specify a boolean value, specify true or false"); } _oIgnoreMethodNameCase = Boolean.valueOf(sText); }
public void body(String sNamespace, String sName, String sText) throws XMLConfigLoaderException { if (Strings.isEmpty(sText)) { throw new XMLConfigLoaderException( "config > controller-mapping > default-handler-method: must specify a valid method name"); } _sDefaultHandlerMethodName = sText; }
public void end(String sNamespace, String sName) throws XMLConfigLoaderException { if (_oIgnoreMethodNameCase != null) { _oControllerMapping.setIgnoreMethodNameCase(_oIgnoreMethodNameCase.booleanValue()); } if (!Strings.isEmpty(_sDefaultHandlerMethodName)) { _oControllerMapping.setDefaultHandlerMethodName(_sDefaultHandlerMethodName); } }