java.lang.Object | |
↳ | com.microstrategy.web.app.XMLValidator |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
XMLValidator() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static boolean | validate(AppContext appContext) | ||||||||||
static boolean |
validate(String rootPath)
validates the pageConfig xml file.
| ||||||||||
static boolean | validate(String rootPath, String pageConfigPath, String styleCatalogPath, String validationScriptPath) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
validates the pageConfig xml file.
rootPath | specifies the rootPath for the configuration and script files. The page config file is assumed to be located in the path WEB-INF\xml\pageConfig.xml relative to the rootPath. The style catalog is assumed to be located in the path WEB-INF\xml\styleCatalog.xml relative to the rootPath. Similarly script validation file is assumed to be located in the path WEB-INF\xml\pageConfigValidator.xml relative to the rootPath. For validation rules related file existence, rootPath is assumed to be the root for the relative paths specified in the node values. |
---|
WebAppException | if an error happens during validation |
---|
WebAppException |
---|