Class ConditionReaderV1
- java.lang.Object
-
- net.n2oapp.framework.config.reader.tools.ConditionReaderV1
-
- All Implemented Interfaces:
ElementClassAware<N2oFieldCondition>,ElementNameAware,ElementReader<N2oFieldCondition>,TypedElementReader<N2oFieldCondition>
public class ConditionReaderV1 extends Object implements TypedElementReader<N2oFieldCondition>
Считывает condition валидации в объекте
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <C extends N2oFieldCondition>
CgetCondition(org.jdom.Element element, C res)Class<N2oFieldCondition>getElementClass()StringgetElementName()static ConditionReaderV1getInstance()N2oFieldConditionread(org.jdom.Element element)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.n2oapp.framework.api.metadata.aware.ElementClassAware
newInstance
-
-
-
-
Method Detail
-
getInstance
public static ConditionReaderV1 getInstance()
-
read
public N2oFieldCondition read(org.jdom.Element element)
- Specified by:
readin interfaceElementReader<N2oFieldCondition>
-
getCondition
public <C extends N2oFieldCondition> C getCondition(org.jdom.Element element, C res)
-
getElementClass
public Class<N2oFieldCondition> getElementClass()
- Specified by:
getElementClassin interfaceElementClassAware<N2oFieldCondition>
-
getElementName
public String getElementName()
- Specified by:
getElementNamein interfaceElementNameAware
-
-