public class DaliExampleReader extends Object
Instances of this class are not thread-safe.
| Constructor and Description |
|---|
DaliExampleReader()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DaliExample |
createExample(Element exEl,
URL docUrl)
Creates an example from a given DOM element.
|
static void |
main(String[] args)
Reports basic information about the examples in a document at a
URL supplied on the command line.
|
List<Tree<DaliExample>> |
readExamples(URL url)
Reads a list of examples from a document at a given URL.
|
public List<Tree<DaliExample>> readExamples(URL url) throws IOException
Any fragment identifier on the URL is ignored.
url - location of examples documentIOExceptionpublic DaliExample createExample(Element exEl, URL docUrl) throws IOException
exEl - element node with DALI RDFa example contentdocUrl - base URL of host documentIOExceptionpublic static void main(String[] args) throws IOException
IOExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.