be.ugent.rml.records.XMLRecord Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rmlmapper Show documentation
Show all versions of rmlmapper Show documentation
The RMLMapper executes RML rules to generate high quality Linked Data from multiple originally (semi-)structured data sources.
package be.ugent.rml.records;
import java.util.ArrayList;
import java.util.List;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import javax.xml.xpath.XPath;
import javax.xml.xpath.XPathConstants;
import javax.xml.xpath.XPathExpressionException;
import javax.xml.xpath.XPathFactory;
/**
* This class is a specific implementation of a record for XML.
* Every record corresponds with an XML element in a data source.
*/
public class XMLRecord extends Record {
private Node node;
public XMLRecord(Node node) {
this.node = node;
}
/**
* This method returns the objects for a reference (XPath) in the record.
* @param value the reference for which objects need to be returned.
* @return a list of objects for the reference.
*/
@Override
public List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy