public class DaliExampleReader
extends java.lang.Object
Instances of this class are not thread-safe.
Constructor and Description |
---|
DaliExampleReader()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DaliExample |
createExample(org.w3c.dom.Element exEl,
java.net.URL docUrl)
Creates an example from a given DOM element.
|
static void |
main(java.lang.String[] args)
Reports basic information about the examples in a document at a
URL supplied on the command line.
|
DaliExample[] |
readExamples(java.net.URL url)
Reads a list of examples from a document at a given URL.
|
public DaliExample[] readExamples(java.net.URL url) throws java.io.IOException
url
- location of examples documentjava.io.IOException
public DaliExample createExample(org.w3c.dom.Element exEl, java.net.URL docUrl) throws java.io.IOException
exEl
- element node with DALI RDFa example contentdocUrl
- base URL of host documentjava.io.IOException
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.