|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.apache.xerces.xni.parser.XMLInputSource
public class XMLInputSource
This class represents an input source for an XML document. The basic properties of an input source are the following:
Field Summary | |
---|---|
protected String |
fBaseSystemId
Deprecated. Base system identifier. |
protected InputStream |
fByteStream
Deprecated. Byte stream. |
protected Reader |
fCharStream
Deprecated. Character stream. |
protected String |
fEncoding
Deprecated. Encoding. |
protected String |
fPublicId
Deprecated. Public identifier. |
protected String |
fSystemId
Deprecated. System identifier. |
Constructor Summary | |
---|---|
XMLInputSource(String publicId,
String systemId,
String baseSystemId)
Deprecated. Constructs an input source from just the public and system identifiers, leaving resolution of the entity and opening of the input stream up to the caller. |
|
XMLInputSource(String publicId,
String systemId,
String baseSystemId,
InputStream byteStream,
String encoding)
Deprecated. Constructs an input source from a byte stream. |
|
XMLInputSource(String publicId,
String systemId,
String baseSystemId,
Reader charStream,
String encoding)
Deprecated. Constructs an input source from a character stream. |
|
XMLInputSource(XMLResourceIdentifier resourceIdentifier)
Deprecated. Constructs an input source from a XMLResourceIdentifier object, leaving resolution of the entity and opening of the input stream up to the caller. |
Method Summary | |
---|---|
String |
getBaseSystemId()
Deprecated. Returns the base system identifier. |
InputStream |
getByteStream()
Deprecated. Returns the byte stream. |
Reader |
getCharacterStream()
Deprecated. Returns the character stream. |
String |
getEncoding()
Deprecated. Returns the encoding of the stream, or null if not known. |
String |
getPublicId()
Deprecated. Returns the public identifier. |
String |
getSystemId()
Deprecated. Returns the system identifier. |
void |
setBaseSystemId(String baseSystemId)
Deprecated. Sets the base system identifier. |
void |
setByteStream(InputStream byteStream)
Deprecated. Sets the byte stream. |
void |
setCharacterStream(Reader charStream)
Deprecated. Sets the character stream. |
void |
setEncoding(String encoding)
Deprecated. Sets the encoding of the stream. |
void |
setPublicId(String publicId)
Deprecated. Sets the public identifier. |
void |
setSystemId(String systemId)
Deprecated. Sets the system identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String fPublicId
protected String fSystemId
protected String fBaseSystemId
protected InputStream fByteStream
protected Reader fCharStream
protected String fEncoding
Constructor Detail |
---|
public XMLInputSource(String publicId, String systemId, String baseSystemId)
publicId
- The public identifier, if known.systemId
- The system identifier. This value should
always be set, if possible, and can be
relative or absolute. If the system identifier
is relative, then the base system identifier
should be set.baseSystemId
- The base system identifier. This value should
always be set to the fully expanded URI of the
base system identifier, if possible.public XMLInputSource(XMLResourceIdentifier resourceIdentifier)
resourceIdentifier
- the XMLResourceIdentifier containing the informationpublic XMLInputSource(String publicId, String systemId, String baseSystemId, InputStream byteStream, String encoding)
publicId
- The public identifier, if known.systemId
- The system identifier. This value should
always be set, if possible, and can be
relative or absolute. If the system identifier
is relative, then the base system identifier
should be set.baseSystemId
- The base system identifier. This value should
always be set to the fully expanded URI of the
base system identifier, if possible.byteStream
- The byte stream.encoding
- The encoding of the byte stream, if known.public XMLInputSource(String publicId, String systemId, String baseSystemId, Reader charStream, String encoding)
publicId
- The public identifier, if known.systemId
- The system identifier. This value should
always be set, if possible, and can be
relative or absolute. If the system identifier
is relative, then the base system identifier
should be set.baseSystemId
- The base system identifier. This value should
always be set to the fully expanded URI of the
base system identifier, if possible.charStream
- The character stream.encoding
- The original encoding of the byte stream
used by the reader, if known.Method Detail |
---|
public void setPublicId(String publicId)
publicId
- The new public identifier.public String getPublicId()
public void setSystemId(String systemId)
systemId
- The new system identifier.public String getSystemId()
public void setBaseSystemId(String baseSystemId)
baseSystemId
- The new base system identifier.public String getBaseSystemId()
public void setByteStream(InputStream byteStream)
byteStream
- The new byte stream.public InputStream getByteStream()
public void setCharacterStream(Reader charStream)
charStream
- The new character stream.XMLInputSource.setEncoding(java.lang.String)
public Reader getCharacterStream()
public void setEncoding(String encoding)
encoding
- The new encoding.public String getEncoding()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs92 Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |