public interface XmlInputMethodsFromFile extends XmlInputMethods
XmlInputMethods.isLoadOk()
and if the class loads directly
from a file with a XSD you should also implement the following methods:
ConfigFetch
).Modifier and Type | Method and Description |
---|---|
default boolean |
loadFile(java.io.File file)
Should set
XmlInputMethods.isLoadOk() return value. |
default boolean |
loadFile(java.lang.String url)
Should set
XmlInputMethods.isLoadOk() return value. |
isLoadOk, load, load
default boolean loadFile(java.lang.String url)
XmlInputMethods.isLoadOk()
return value.
You should also call the XSD validation(you can use
XMLValidator
).url
- default boolean loadFile(java.io.File file)
XmlInputMethods.isLoadOk()
return value.
You should also call the XSD validation(you can use
XMLValidator
).file
- Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.