All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.yangcentral.yangkit.data.codec.xml.NotificationDataXmlCodec Maven / Gradle / Ivy

There is a newer version: 1.4.5
Show newest version
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