HPSearch

cgl.hpsearch.common.xml
Class StreamComponent

java.lang.Object
  extended bycgl.hpsearch.common.xml.StreamComponent
All Implemented Interfaces:
Serializable

public class StreamComponent
extends Object
implements Serializable

Class StreamComponent.

Version:
$Revision: 1.1 $ $Date: 2005/10/16 14:40:44 $
See Also:
Serialized Form

Constructor Summary
StreamComponent()
           
 
Method Summary
 String getDest()
          Returns the value of field 'dest'.
 String getSource()
          Returns the value of field 'source'.
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 void setDest(String dest)
          Sets the value of field 'dest'.
 void setSource(String source)
          Sets the value of field 'source'.
static Object unmarshal(Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamComponent

public StreamComponent()
Method Detail

getDest

public String getDest()
Returns the value of field 'dest'.

Returns:
the value of field 'dest'.

getSource

public String getSource()
Returns the value of field 'source'.

Returns:
the value of field 'source'.

isValid

public boolean isValid()
Method isValid


marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setDest

public void setDest(String dest)
Sets the value of field 'dest'.

Parameters:
dest - the value of field 'dest'.

setSource

public void setSource(String source)
Sets the value of field 'source'.

Parameters:
source - the value of field 'source'.

unmarshal

public static Object unmarshal(Reader reader)
                        throws org.exolab.castor.xml.MarshalException,
                               org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException

HPSearch

For comments and suggestions please send e-mail to Harshawardhan Gadgil
Last updated: June 9 2006