public class SchemaManager extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SchemaManager.Builder |
Modifier and Type | Field and Description |
---|---|
static String |
VERSION_ATTRIBUTE |
Modifier and Type | Method and Description |
---|---|
Optional<Schema> |
getSchema(Document document) |
Optional<Schema> |
getSchema(String ns,
String version) |
(package private) static Schema |
loadSchema(String resource) |
<E extends Exception> |
requireSchema(Document document,
Function<String,E> exc) |
<T> T |
unmarshal(InputSource input,
Class<T> type) |
public static final String VERSION_ATTRIBUTE
Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.