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
XMLExceptionpublic XMLSchema(String aSystemId, LSResourceResolver aResolver) throws XMLException
XMLExceptionpublic static XMLSchema schema(URI aUri) throws XMLException
XMLExceptionpublic static XMLSchema schema(String aSystemId, LSResourceResolver aResolver) throws XMLException
XMLExceptionpublic void validate(XMLDocument aDocument) throws XMLException
XMLExceptionpublic void validate(DOMSource aDocument) throws XMLException
XMLExceptionpublic DOMSource process(DOMSource aDocument) throws XMLException
XMLProcessorprocess in interface XMLProcessoraDocument - Document to process.XMLException - In case of problems.Copyright © 2025. All rights reserved.