public class SafeXmlSchema extends Schema
Constructor and Description |
---|
SafeXmlSchema() |
Modifier and Type | Method and Description |
---|---|
Validator |
newValidator() |
ValidatorHandler |
newValidatorHandler() |
static Schema |
read(InputStream stream)
Reads an XML Schema from the supplied stream.
|
static Schema |
read(XMLStreamReader reader)
Reads an XML Schema from the supplied TextReader.
|
public SafeXmlSchema()
public Validator newValidator()
newValidator
in class Schema
public ValidatorHandler newValidatorHandler()
newValidatorHandler
in class Schema
public static Schema read(InputStream stream) throws XMLStreamException
stream
- The supplied data stream.XMLStreamException
public static Schema read(XMLStreamReader reader) throws XMLStreamException
reader
- The TextReader containing the XML Schema to readXMLStreamException
Copyright © 2012–2015 Microsoft. All rights reserved.