|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.bbk.dcs.automed.xml.wrappers.XMLDSSFromXMLSchema
public class XMLDSSFromXMLSchema
Parses an XML Schema and creates the corresponding XMLDSS in DOM format.
IMPORTANT: an XML Schema that passes through this algorithm with no exceptions/errors is not to be considered valid!
Features not yet supported:Model groups: all model group declarations are treated as 'all' model group declarations, as this is the way the XMLDSS of a given XML file would be created. This means that the special behaviour of choice group and this of nesting model groups is ignored.
Wildcards: if the XML Schema contains any element or attribute wildcards, it will obviously ignore them, as it will not know what content to create.
Ignored declarations: the following declarations are ignored, as they obviously do not contribute to the XMLDSS content.
Should any unexpected behaviour of the algorithm occur (error/exception/unexpected XMLDSS) please contact the author of the class, specifying the problem and supplying the XML Schema used.
| Field Summary | |
|---|---|
protected static java.util.logging.Logger |
logger
|
| Method Summary | |
|---|---|
static org.w3c.dom.Document |
getXMLDSSDoc(java.lang.String URI,
java.lang.String schemaName,
java.lang.String xsdRootName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static java.util.logging.Logger logger
| Method Detail |
|---|
public static org.w3c.dom.Document getXMLDSSDoc(java.lang.String URI,
java.lang.String schemaName,
java.lang.String xsdRootName)
throws XMLException
XMLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||