eu.larkc.core.data
Class XMLDocumentImpl
java.lang.Object
eu.larkc.core.data.XMLDocumentImpl
- All Implemented Interfaces:
- InformationSet, XMLDocument, java.io.Serializable
public class XMLDocumentImpl
- extends java.lang.Object
- implements XMLDocument
Implementation of XMLDocument interface.
Given the location of an XML file as input it retrieves the document.
- Author:
- Daniele Dell'Aglio
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLDocumentImpl
public XMLDocumentImpl(java.lang.String url)
XMLDocumentImpl
public XMLDocumentImpl(java.net.URL url)
getURL
public java.net.URL getURL()
- Specified by:
getURL
in interface XMLDocument
setXslt
public void setXslt(java.net.URL xslt)
- Specified by:
setXslt
in interface XMLDocument
getXslt
public java.net.URL getXslt()
- Specified by:
getXslt
in interface XMLDocument
getDocument
public java.lang.String getDocument()
- Specified by:
getDocument
in interface XMLDocument
getGraphName
public java.lang.String getGraphName()
- Specified by:
getGraphName
in interface XMLDocument
setGraphName
public void setGraphName(java.lang.String gn)
- Specified by:
setGraphName
in interface XMLDocument
toRDF
public SetOfStatements toRDF(SetOfStatements data)
- Description copied from interface:
InformationSet
- Serializes this object to SetOfStatements.
- Specified by:
toRDF
in interface InformationSet
- Parameters:
data
- is stream to serialize this object to.
- Returns:
- reference to the set of statements that contains the serialized
data.