Package io.jmix.ui.xml.layout
Class LoaderSupport
java.lang.Object
io.jmix.ui.xml.layout.LoaderSupport
Facilitates parsing data from XML.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionloadBoolean
(org.dom4j.Element element, String attributeName) Returns anOptional
with the attribute value from the given element for the attribute with the given name, otherwise an emptyOptional
.Returns anOptional
with the attribute value from the given element for the attribute with the given name, otherwise an emptyOptional
.loadInteger
(org.dom4j.Element element, String attributeName) Returns anOptional
with the attribute value from the given element for the attribute with the given name, otherwise an emptyOptional
.loadString
(org.dom4j.Element element, String attributeName) Returns anOptional
with the attribute value from the given element for the attribute with the given name, otherwise an emptyOptional
.
-
Constructor Details
-
LoaderSupport
public LoaderSupport()
-
-
Method Details
-
loadString
Returns anOptional
with the attribute value from the given element for the attribute with the given name, otherwise an emptyOptional
. -
loadBoolean
Returns anOptional
with the attribute value from the given element for the attribute with the given name, otherwise an emptyOptional
. -
loadInteger
Returns anOptional
with the attribute value from the given element for the attribute with the given name, otherwise an emptyOptional
. -
loadEnum
public <T extends Enum<T>> Optional<T> loadEnum(org.dom4j.Element element, Class<T> type, String attributeName) Returns anOptional
with the attribute value from the given element for the attribute with the given name, otherwise an emptyOptional
.
-