public class SchemaDocument extends Object
Constructor and Description |
---|
SchemaDocument(DocumentInfo doc)
Create a SchemaDocument from a given document.
|
Modifier and Type | Method and Description |
---|---|
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
|
public SchemaDocument(DocumentInfo doc)
doc
- the document containing the xs:schema elementpublic DocumentInfo getDocument()
public XSDSchema getXSDSchema()
public String getTargetNamespace()
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.