public class SchemaDocument
extends java.lang.Object
Constructor and Description |
---|
SchemaDocument(TreeInfo doc)
Create a SchemaDocument from a given document.
|
Modifier and Type | Method and Description |
---|---|
TreeInfo |
getDocument()
Get the document wrapped by this SchemaDocument
|
java.lang.String |
getTargetNamespace()
Get the target namespace of the schema document
|
XSDSchema |
getXSDSchema()
Get the xs:schema element within the schema document
|
boolean |
isCompiledSchemaDocument()
Ask if this is a compiled (SCM) schema document
|
boolean |
isSourceSchemaDocument()
Ask if this is a source schema document
|
public SchemaDocument(TreeInfo doc)
doc
- the document containing the xs:schema elementpublic TreeInfo getDocument()
public boolean isSourceSchemaDocument()
public boolean isCompiledSchemaDocument()
public XSDSchema getXSDSchema()
public java.lang.String getTargetNamespace()
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.