Class ConfigurationUnmarshaller
java.lang.Object
org.exoplatform.container.configuration.ConfigurationUnmarshaller
Unmarshall a configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if the configuration file is valid according to its schema declaration.unmarshall(URL url)
-
Constructor Details
-
ConfigurationUnmarshaller
-
ConfigurationUnmarshaller
public ConfigurationUnmarshaller()
-
-
Method Details
-
isValid
Returns true if the configuration file is valid according to its schema declaration. If the file does not have any schema declaration, the file will be reported as valid.- Parameters:
url- the url of the configuration to validate- Returns:
- true if the configuration file is valid
- Throws:
IOException- any IOException thrown by using the provided URLNullPointerException- if the provided URL is null
-
unmarshall
- Throws:
Exception
-