public final class XSLoaderImpl extends Object implements XSLoader, DOMConfiguration
An implementation of XSLoader which wraps XMLSchemaLoader.
| Constructor and Description |
|---|
XSLoaderImpl()
No-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSetParameter(String name,
Object value) |
DOMConfiguration |
getConfig()
The configuration of a document.
|
Object |
getParameter(String name) |
DOMStringList |
getParameterNames() |
XSModel |
load(LSInput is)
Parse an XML Schema document from a resource identified by a
LSInput . |
XSModel |
loadInputList(LSInputList is)
Parses the content of XML Schema documents specified as a list of
LSInputs. |
XSModel |
loadURI(String uri)
Parse an XML Schema document from a location identified by a URI
reference.
|
XSModel |
loadURIList(StringList uriList)
Parses the content of XML Schema documents specified as the list of URI
references.
|
void |
setParameter(String name,
Object value) |
public DOMConfiguration getConfig()
DOMConfiguration interface:
error-handler (DOMErrorHandler) and
resource-resolver (LSResourceResolver).
"validate"truefalsepublic XSModel loadURIList(StringList uriList)
loadURIList in interface XSLoaderuriList - The list of URI locations.public XSModel loadInputList(LSInputList is)
LSInputs.loadInputList in interface XSLoaderis - The list of LSInputs from which the XML
Schema documents are to be read.public XSModel loadURI(String uri)
public XSModel load(LSInput is)
LSInput .public void setParameter(String name, Object value) throws DOMException
setParameter in interface DOMConfigurationDOMExceptionpublic Object getParameter(String name) throws DOMException
getParameter in interface DOMConfigurationDOMExceptionpublic boolean canSetParameter(String name, Object value)
canSetParameter in interface DOMConfigurationpublic DOMStringList getParameterNames()
getParameterNames in interface DOMConfigurationCopyright © 2018 JBoss by Red Hat. All rights reserved.