http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Installation
Build

API Docs
Samples
Programming
Migration
FAQs

Releases
Feedback
Bug-Todo

Download
CVS Repository
Mail Archive

API Docs for SAX and DOM
 

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

StdInInputSource Class Reference

This class is a derivative of the standard InputSource class. More...

#include <StdInInputSource.hpp>

Inheritance diagram for StdInInputSource

Inheritance graph
[legend]
Collaboration diagram for StdInInputSource:

Collaboration graph
[legend]
List of all members.

Public Methods

Constructor
 StdInInputSource ()
 Since the standard input is a canned source, the constructor is very simple. More...

Destructor
 ~StdInInputSource ()
Virtual methods
BinInputStreammakeStream () const
 This method will return a binary input stream derivative that will parse from the standard input of the local host. More...


Detailed Description

This class is a derivative of the standard InputSource class.

It provides for the parser access to data via the standard input. This input source is not commonly used, but can be useful when implementing such things as pipe based tools which exchange XML data.

As with all InputSource derivatives. The primary objective of an input source is to create an input stream via which the parser can spool in data from the referenced source.


Constructor & Destructor Documentation

StdInInputSource::StdInInputSource ( )
 

Since the standard input is a canned source, the constructor is very simple.

It just uses local platform services to open up the standard input source as file, a new handleof which it gives to each new stream it creates.

StdInInputSource::~StdInInputSource ( )
 


Member Function Documentation

BinInputStream * StdInInputSource::makeStream ( ) const [virtual]
 

This method will return a binary input stream derivative that will parse from the standard input of the local host.

Returns:
A dynamically allocated binary input stream derivative that can parse from the standardinput.

Reimplemented from InputSource.


The documentation for this class was generated from the following file:


Copyright © 2000 The Apache Software Foundation. All Rights Reserved.