| Package | Description |
|---|---|
| javax.xml.parsers | |
| javax.xml.validation |
| Modifier and Type | Method and Description |
|---|---|
Schema |
SAXParserFactory.getSchema()
Gets the
Schema object specified through
the SAXParserFactory.setSchema(Schema schema) method. |
Schema |
SAXParser.getSchema()
Get a reference to the the
Schema being used by
the XML processor. |
Schema |
DocumentBuilderFactory.getSchema()
Gets the
Schema object specified through
the DocumentBuilderFactory.setSchema(Schema schema) method. |
Schema |
DocumentBuilder.getSchema()
Get a reference to the the
Schema being used by
the XML processor. |
| Modifier and Type | Method and Description |
|---|---|
void |
SAXParserFactory.setSchema(Schema schema)
Set the
Schema to be used by parsers created
from this factory. |
void |
DocumentBuilderFactory.setSchema(Schema schema)
Set the
Schema to be used by parsers created
from this factory. |
| Modifier and Type | Method and Description |
|---|---|
abstract Schema |
SchemaFactory.newSchema()
Creates a special
Schema object. |
Schema |
SchemaFactory.newSchema(java.io.File schema)
Parses the specified
File as a schema and returns it as a Schema. |
Schema |
SchemaFactory.newSchema(Source schema)
Parses the specified source as a schema and returns it as a schema.
|
abstract Schema |
SchemaFactory.newSchema(Source[] schemas)
Parses the specified source(s) as a schema and returns it as a schema.
|
Schema |
SchemaFactory.newSchema(java.net.URL schema)
Parses the specified
URL as a schema and returns it as a Schema. |
Copyright © 2014 Apache XML Project. All Rights Reserved.