public class XMLSchema extends Object implements XMLProcessor
Constructor and Description |
---|
XMLSchema(String aSystemId,
LSResourceResolver aResolver) |
XMLSchema(URI aUri) |
Modifier and Type | Method and Description |
---|---|
DOMSource |
process(DOMSource aDocument)
Processes a document.
|
static XMLSchema |
schema(String aSystemId,
LSResourceResolver aResolver) |
static XMLSchema |
schema(URI aUri) |
void |
validate(DOMSource aDocument) |
void |
validate(XMLDocument aDocument) |
public XMLSchema(URI aUri) throws XMLException
XMLException
public XMLSchema(String aSystemId, LSResourceResolver aResolver) throws XMLException
XMLException
public static XMLSchema schema(URI aUri) throws XMLException
XMLException
public static XMLSchema schema(String aSystemId, LSResourceResolver aResolver) throws XMLException
XMLException
public void validate(XMLDocument aDocument) throws XMLException
XMLException
public void validate(DOMSource aDocument) throws XMLException
XMLException
public DOMSource process(DOMSource aDocument) throws XMLException
XMLProcessor
process
in interface XMLProcessor
aDocument
- Document to process.XMLException
- In case of problems.Copyright © 2024. All rights reserved.