public class SchemaDocument extends 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
|
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 String getTargetNamespace()
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.