FileDocCategorySizeDatePackage
XIncludeInputSource.javaAPI DocJava SE 5 API7493Fri Aug 26 14:55:56 BST 2005com.sun.org.apache.xerces.internal.xinclude

XIncludeInputSource

public class XIncludeInputSource extends XMLInputSource

Fields Summary
Properties
props
Constructors Summary
public XIncludeInputSource(String publicId, String systemId, String baseSystemId)
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.

param
publicId The public identifier, if known.
param
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.
param
baseSystemId The base system identifier. This value should always be set to the fully expanded URI of the base system identifier, if possible.

    
	                                                                                                                                                                                                                                
          
                            
		super(publicId,systemId,baseSystemId);
		props = new Properties();
    
public XIncludeInputSource(XMLResourceIdentifier resourceIdentifier)
Constructs an input source from a XMLResourceIdentifier object, leaving resolution of the entity and opening of the input stream up to the caller.

param
resourceIdentifier the XMLResourceIdentifier containing the information

		super(resourceIdentifier);
		props = new Properties();
    
public XIncludeInputSource(String publicId, String systemId, String baseSystemId, InputStream byteStream, String encoding)
Constructs an input source from a byte stream.

param
publicId The public identifier, if known.
param
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.
param
baseSystemId The base system identifier. This value should always be set to the fully expanded URI of the base system identifier, if possible.
param
byteStream The byte stream.
param
encoding The encoding of the byte stream, if known.

			super(publicId,systemId,baseSystemId,byteStream,encoding);
		props = new Properties();
    
public XIncludeInputSource(String publicId, String systemId, String baseSystemId, Reader charStream, String encoding)
Constructs an input source from a character stream.

param
publicId The public identifier, if known.
param
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.
param
baseSystemId The base system identifier. This value should always be set to the fully expanded URI of the base system identifier, if possible.
param
charStream The character stream.
param
encoding The original encoding of the byte stream used by the reader, if known.

		super(publicId,systemId,baseSystemId,charStream,encoding);
		props = new Properties();
    
public XIncludeInputSource(StreamSource source)
Constructs an input source from {@link StreamSource}.

		super(source);
		props = new Properties();
    
Methods Summary
public java.lang.ObjectgetProperty(java.lang.String propName)
get Accept,Accept-Charset, Accept-Language HTTP request property

			if(propName != null)
				return props.get(propName);
			
			return null;
	
public voidsetProperty(java.lang.String propName, java.lang.String propValue)
store Accept,Accept-Charset, Accept-Language HTTP request property

		if(propName!= null && propValue != null){
			props.put(propName,propValue);
		}