|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.saxonica.schema.sdoc.SchemaDocument
public class SchemaDocument
An XML document containing a module of an XML Schema. This object is a simple wrapper around the document node of the tree representing the parsed XML schema document, and is used to provide type-safety and a level of abstraction for the interfaces that use it.
Constructor Summary | |
---|---|
SchemaDocument(DocumentInfo doc)
Create a SchemaDocument from a given document. |
Method Summary | |
---|---|
DocumentInfo |
getDocument()
Get the document wrapped by this SchemaDocument |
String |
getTargetNamespace()
Get the target namespace of the schema document |
XSDSchema |
getXSDSchema()
Get the xs:schema element within the 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 String getTargetNamespace()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |