| Package | Description |
|---|---|
| javax.xml.bind |
Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.
|
| javax.xml.bind.helpers |
JAXB Provider Use Only: Provides partial default implementations for some of the
javax.xml.bind interfaces.
|
| javax.xml.parsers |
Provides classes allowing the processing of XML documents.
|
| javax.xml.validation |
This package provides an API for validation of XML documents.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Schema |
Binder.getSchema()
Gets the last
Schema object (including null) set by the
Binder method.
|
Schema |
Marshaller.getSchema()
Get the JAXP 1.3
Schema object being used to perform marshal-time validation.
|
Schema |
Unmarshaller.getSchema()
Get the JAXP 1.3
Schema object being used to perform unmarshal-time validation.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Binder.setSchema(Schema
Specifies whether marshal, unmarshal and update methods performs validation on their XML content.
|
void |
Marshaller.setSchema(Schema
Specify the JAXP 1.3
Schema object that should be used to validate subsequent marshal operations against.
|
void |
Unmarshaller.setSchema(Schema
Specify the JAXP 1.3
Schema object that should be used to validate subsequent unmarshal operations against.
|
| Modifier and Type | Method and Description |
|---|---|
Schema |
AbstractMarshallerImpl.getSchema()
|
Schema |
AbstractUnmarshallerImpl.getSchema()
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractMarshallerImpl.setSchema(Schema
|
void |
AbstractUnmarshallerImpl.setSchema(Schema
|
| Modifier and Type | Method and Description |
|---|---|
Schema |
DocumentBuilderFactory.getSchema()
Gets the
Schema object specified through the
DocumentBuilderFactory method.
|
Schema |
SAXParser.getSchema()
Get a reference to the the
Schema being used by the XML processor.
|
Schema |
SAXParserFactory.getSchema()
Gets the
Schema object specified through the
SAXParserFactory method.
|
Schema |
DocumentBuilder.getSchema()
Get a reference to the the
Schema being used by the XML processor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DocumentBuilderFactory.setSchema(Schema
Set the
Schema to be used by parsers created from this factory.
|
void |
SAXParserFactory.setSchema(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(File
Parses the specified
File as a schema and returns it as a
Schema.
|
Schema |
SchemaFactory.newSchema(Source
Parses the specified source as a schema and returns it as a schema.
|
abstract Schema |
SchemaFactory.newSchema(Source
Parses the specified source(s) as a schema and returns it as a schema.
|
Schema |
SchemaFactory.newSchema(URL
Parses the specified
URL as a schema and returns it as a
Schema.
|