⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 elementparent2propertydomain.java

📁 normkit is a set of tools supporting ontology learning. from xml,xsd to rdfs.
💻 JAVA
字号:
package it.itc.ectrl.normkit.cnorm.heuristics;

import oracle.xml.parser.schema.*;

import it.itc.ectrl.normkit.cnorm.XSModel.NestedElement;
import it.itc.ectrl.normkit.cnorm.impl.C_NormalisationImpl;

/**
 * Governs creation of a RDFS property out of Attribute Declaration XML Schema component.
 * @author Oliver Fodor (fodor@itc.it)
 */
public class ElementParent2PropertyDomain extends NormalisationHeuristic {

    NestedElement m_nestedElement;

    public ElementParent2PropertyDomain(NestedElement element, C_NormalisationImpl c_norm) {

        super( c_norm );
        m_nestedElement = element;
    }

    public void run() throws Exception {

        runDomainInformationExtraction();

    }


    private void runDomainInformationExtraction() throws Exception {

        String normalizedEntityURI = m_c_norm.getNormalizedEntityFirstURI(m_nestedElement.getParentsHashCode());

        m_c_norm.addPropertyDomainToTargetModel(m_nestedElement.getElementsHashCode(), normalizedEntityURI);

    }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -