dk.brics.dsd
Class Schema
java.lang.Object
|
+--dk.brics.dsd.Rule
|
+--dk.brics.dsd.Schema
- All Implemented Interfaces:
- Comparable
- public class Schema
- extends dk.brics.dsd.Rule
Internal representation of DSD documents.
Constructor Summary |
Schema(Document xml)
Constructs a Schema from a JDOM XML Document . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Schema
public Schema(Document xml)
throws SchemaErrorException
- Constructs a
Schema
from a JDOM XML Document
.
It is assumed that XInclude expansion has been performed on the input document.
- Parameters:
xml
- XML document
- Throws:
SchemaErrorException
- if a fatal error in the DSD is encountered
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
Copyright © 2002 Anders Møller.