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
LSInput s. |
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"
true
false
public XSModel loadURIList(StringList uriList)
loadURIList
in interface XSLoader
uriList
- The list of URI locations.public XSModel loadInputList(LSInputList is)
LSInput
s.loadInputList
in interface XSLoader
is
- The list of LSInput
s 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 DOMConfiguration
DOMException
public Object getParameter(String name) throws DOMException
getParameter
in interface DOMConfiguration
DOMException
public boolean canSetParameter(String name, Object value)
canSetParameter
in interface DOMConfiguration
public DOMStringList getParameterNames()
getParameterNames
in interface DOMConfiguration
Copyright © 2017 JBoss by Red Hat. All rights reserved.