|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.saxonica.sdoc.SchemaDocument
An XML document containing a module of an XML Schema
Constructor Summary | |
SchemaDocument(DocumentInfo doc)
Create a SchemaDocument from a given document. |
Method Summary | |
DocumentInfo |
getDocument()
Get the document wrapped by this SchemaDocument |
XSDSchema |
getXSDSchema()
Get the xs:schema element within the schema document |
PreparedSchema |
validate(javax.xml.transform.ErrorListener listener)
Validate the schema represented by this schema document |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SchemaDocument(DocumentInfo doc)
doc
- the document containing the xs:schema elementMethod Detail |
public DocumentInfo getDocument()
public XSDSchema getXSDSchema()
public PreparedSchema validate(javax.xml.transform.ErrorListener listener) throws SchemaException
listener
- the ErrorListener: any error messages will be directed to this ErrorListener
SchemaException
- if the schema is invalid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |