软件包 | 描述 |
---|---|
javax.xml.bind |
为客户端应用程序提供包括解包,编组运行时绑定框架,和验证能力。
|
javax.xml.bind.helpers |
只有使用JAXB提供商:一些的
javax.xml.bind接口提供了部分的默认实现。
|
javax.xml.parsers |
提供允许处理XML文档的类。
|
javax.xml.validation |
这个软件包提供了一个用于验证XML文档的API。
|
Modifier and Type | Method and Description |
---|---|
Schema |
Unmarshaller.getSchema()
把JAXP 1.3
Schema 对象所使用的编码解码时间验证。
|
Schema |
Marshaller.getSchema()
把JAXP 1.3
Schema 对象被用来执行元帅的时间验证。
|
abstract Schema |
Binder.getSchema()
最后
Schema 对象(包括零)的
Binder.setSchema(Schema) 方法。
|
Modifier and Type | Method and Description |
---|---|
void |
Unmarshaller.setSchema(Schema schema)
指定JAXP 1.3
Schema 对象,可以用来验证数据的后续行动。
|
void |
Marshaller.setSchema(Schema schema)
指定JAXP 1.3
Schema 对象应该用来验证后续元帅作战。
|
abstract void |
Binder.setSchema(Schema schema)
指定是否元帅、分解和更新方法对XML内容的验证。
|
Modifier and Type | Method and Description |
---|---|
Schema |
AbstractUnmarshallerImpl.getSchema() |
Schema |
AbstractMarshallerImpl.getSchema() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractUnmarshallerImpl.setSchema(Schema schema) |
void |
AbstractMarshallerImpl.setSchema(Schema schema) |
Modifier and Type | Method and Description |
---|---|
Schema |
DocumentBuilderFactory.getSchema()
|
Schema |
DocumentBuilder.getSchema()
得到一个参考的
Schema 由XML处理器。
|
Schema |
SAXParserFactory.getSchema()
通过
SAXParserFactory.setSchema(Schema schema) 方法中指定的
Schema 对象。
|
Schema |
SAXParser.getSchema()
得到一个参考的
Schema 由XML处理器。
|
Modifier and Type | Method and Description |
---|---|
void |
DocumentBuilderFactory.setSchema(Schema schema)
设置
Schema 被从这个工厂创建解析器使用。
|
void |
SAXParserFactory.setSchema(Schema schema)
设置
Schema 被从这个工厂创建解析器使用。
|
Modifier and Type | Method and Description |
---|---|
abstract Schema |
SchemaFactory.newSchema()
创建一个特殊的
Schema 对象。
|
Schema |
SchemaFactory.newSchema(File schema)
将指定的
File 作为一个模式,并将其作为
Schema 。
|
Schema |
SchemaFactory.newSchema(Source schema)
将指定的源作为一个模式,并将其作为模式。
|
abstract Schema |
SchemaFactory.newSchema(Source[] schemas)
将指定的源(S)作为一个模式,并将其作为模式。
|
Schema |
SchemaFactory.newSchema(URL schema)
将指定的
URL 作为一个模式,并将其作为
Schema 。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.