| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private GrammarReaderController2 | |
| private Map |
| Access | Constructor and Description |
|---|---|
| public | WSDLGrammarReaderController(GrammarReaderController2 nextController, String
URI of the WSDL. baseURI, Map<String, EmbeddedSchema> sources)create the resolving controller. |
| Modifier and Type | Method and Description |
|---|---|
| public void | error(Locator[] locs, String msg, Exception nestedException)
Implements com. |
| public LSResourceResolver | |
| public InputSource | resolveEntity(String
The public identifier of the external entity
being referenced, or null if none was supplied. publicId, String The system identifier of the external entity
being referenced. systemId)Implements org. |
| public LSInput | resolveResource(String
The type of the resource being resolved. For XML [XML 1.0] resources
(i.e. entities), applications must use the value
type, String "http://www.w3.org/TR/REC-xml". For XML Schema [XML Schema Part 1]
, applications must use the value
"http://www.w3.org/2001/XMLSchema". Other types of
resources are outside the scope of this specification and therefore
should recommend an absolute URI in order to use this method.The namespace of the resource being resolved,
e.g. the target namespace of the XML Schema [XML Schema Part 1]
when resolving XML Schema resources. namespaceURI, String The public identifier of the external entity being
referenced, or publicId, String null if no public identifier was
supplied or if the resource is not an entity.The system identifier, a URI reference [IETF RFC 2396], of the
external resource being referenced, or systemId, String null if no
system identifier was supplied.The absolute base URI of the resource being parsed, or
baseURI)null if there is no base URI.Implements org. |
| public void | warning(Locator[] locs, String errorMessage)
Implements com. |
| baseURI | back to summary |
|---|---|
| private String baseURI | |
| nextController | back to summary |
|---|---|
| private GrammarReaderController2 nextController | |
| schemas | back to summary |
|---|---|
| private Map<String, EmbeddedSchema> schemas | |
| WSDLGrammarReaderController | back to summary |
|---|---|
| public WSDLGrammarReaderController(GrammarReaderController2 nextController, String baseURI, Map<String, EmbeddedSchema> sources) create the resolving controller.
| |
| error | back to summary |
|---|---|
| public void error(Locator[] locs, String msg, Exception nestedException) Implements com. | |
| getLSResourceResolver | back to summary |
|---|---|
| public LSResourceResolver getLSResourceResolver() Implements com. | |
| resolveEntity | back to summary |
|---|---|
| public InputSource resolveEntity(String publicId, String systemId) Implements org. Doc from org. Allow the application to resolve external entities. The parser will call this method before opening any external entity except the top-level document entity. Such entities include the external DTD subset and external parameter entities referenced within the DTD (in either case, only if the parser reads external parameter entities), and external general entities referenced within the document element (if the parser reads external general entities). The application may request that the parser locate the entity itself, that it use an alternative URI, or that it use data provided by the application (as a character or byte input stream). Application writers can use this method to redirect external system identifiers to secure and/or local URIs, to look up public identifiers in a catalogue, or to read an entity from a database or other input source (including, for example, a dialog box). Neither XML nor SAX specifies a preferred policy for using public or system IDs to resolve resources. However, SAX specifies how to interpret any InputSource returned by this method, and that if none is returned, then the system ID will be dereferenced as a URL. If the system identifier is a URL, the SAX parser must resolve it fully before reporting it to the application.
| |
| resolveResource | back to summary |
|---|---|
| public LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI) Implements org. Doc from org. Allow the application to resolve external resources.
| |
| warning | back to summary |
|---|---|
| public void warning(Locator[] locs, String errorMessage) Implements com. | |