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.
 
Method Summary
 int compareTo(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable


Copyright © 2002 Anders Møller.