![JAR search and dependency download from the Maven repository](/logo.png)
org.yangcentral.yangkit.data.codec.xml.NotificationDataXmlCodec Maven / Gradle / Ivy
package org.yangcentral.yangkit.data.codec.xml;
import org.dom4j.Element;
import org.yangcentral.yangkit.common.api.validate.ValidatorResultBuilder;
import org.yangcentral.yangkit.data.api.builder.YangDataBuilderFactory;
import org.yangcentral.yangkit.data.api.model.NotificationData;
import org.yangcentral.yangkit.data.api.model.YangData;
import org.yangcentral.yangkit.model.api.stmt.Notification;
class NotificationDataXmlCodec extends YangDataXmlCodec {
protected NotificationDataXmlCodec(Notification schemaNode) {
super(schemaNode);
}
@Override
protected NotificationData buildData(Element element, ValidatorResultBuilder validatorResultBuilder) {
NotificationData notificationData = (NotificationData) YangDataBuilderFactory.getBuilder().getYangData(getSchemaNode(),null);
return notificationData;
}
@Override
protected void buildElement(Element element, YangData> yangData) {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy