APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xerces.internal.util

public final Class XMLInputSourceAdaptor

extends Object
implements Source
Class Inheritance
All Implemented Interfaces
javax.xml.transform.Source
Imports
javax.xml.transform.Source, com.sun.org.apache.xerces.internal.impl.XMLEntityManager, com.sun.org.apache.xerces.internal.util.URI.MalformedURIException, com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource

Source that represents an XMLInputSource.

Ideally, we should be able to have XMLInputSource derive from Source, but the way the XMLInputSource#getSystemId() method works is different from the way Source#getSystemId() method works.

In a long run, we should make them consistent so that we can get rid of this awkward adaptor class.

Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
public final XMLInputSource
fSource

the actual source information.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getSystemId()

Implements javax.xml.transform.Source.getSystemId.

Get the system identifier that was set with setSystemId.

public void
setSystemId(String systemId)

Implements javax.xml.transform.Source.setSystemId.

Set the system identifier for this Source.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fSourceback to summary
public final XMLInputSource fSource

the actual source information.

Constructor Detail

XMLInputSourceAdaptorback to summary
public XMLInputSourceAdaptor(XMLInputSource core)

Method Detail

getSystemIdback to summary
public String getSystemId()

Implements javax.xml.transform.Source.getSystemId.

Doc from javax.xml.transform.Source.getSystemId.

Get the system identifier that was set with setSystemId.

setSystemIdback to summary
public void setSystemId(String systemId)

Implements javax.xml.transform.Source.setSystemId.

Doc from javax.xml.transform.Source.setSystemId.

Set the system identifier for this Source.

The system identifier is optional if the source does not get its data from a URL, but it may still be useful to provide one. The application can use a system identifier, for example, to resolve relative URIs and to include in error messages and warnings.