Package io.jmix.core.querycondition
Class ConditionXmlLoader
java.lang.Object
io.jmix.core.querycondition.ConditionXmlLoader
Loads the tree of 
Conditions from XML.
 
 Use addFactory(String, Function) method to add your own functions creating conditions from XML elements.
 By default, LogicalCondition and JpqlCondition are supported.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddFactory(String name, Function<org.dom4j.Element, Condition> factory) Adds a function creating a condition from XML element.Creates a conditions tree from XML string.fromXml(org.dom4j.Element element) Creates a conditions tree from XML element.voidremoveFactory(String name) Removes a factory by its name.
- 
Constructor Details- 
ConditionXmlLoaderpublic ConditionXmlLoader()
 
- 
- 
Method Details- 
addFactoryAdds a function creating a condition from XML element.- Parameters:
- name- name that can be used later in- removeFactory(String)method to remove the function
- factory- function creating a condition from XML element
 
- 
removeFactoryRemoves a factory by its name.
- 
fromXmlCreates a conditions tree from XML string.
- 
fromXmlCreates a conditions tree from XML element.
 
-