public class BasePreferenceLoader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
log |
protected java.net.URI |
prefs |
Constructor and Description |
---|
BasePreferenceLoader() |
Modifier and Type | Method and Description |
---|---|
java.net.URI |
getPreferencesURI() |
void |
setPreferencesURI(java.net.URI uri) |
LoaderPreferences |
unmarshal(java.lang.Class<?> preferencesType) |
protected boolean |
validate(java.net.URI prefs,
java.net.URL schema)
Validates an XML Preferences file against a given XSD schema
|
public LoaderPreferences unmarshal(java.lang.Class<?> preferencesType) throws LgConvertException
LgConvertException
protected boolean validate(java.net.URI prefs, java.net.URL schema)
prefs
- The location of the XML preferences file.schema
- The location of the XSD to validate against.public java.net.URI getPreferencesURI()
public void setPreferencesURI(java.net.URI uri)