net.sourceforge.xwing.dom
Class NodeTextSourceSink

java.lang.Object
  extended bynet.sourceforge.xwing.dom.NodeTextSourceSink
All Implemented Interfaces:
SourceSink

public class NodeTextSourceSink
extends Object
implements SourceSink


Constructor Summary
NodeTextSourceSink(Node node)
           
NodeTextSourceSink(NodeSourceSink nss)
           
 
Method Summary
 void addChangeListener(ChangeListener l)
          Add the specified listener to the list of interested change listeners.
 Object get()
          Retrieve some value.
 void removeChangeListener(ChangeListener l)
          Remove the specified listener from the list of interested change listeners.
 void set(Object value)
          Store some value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeTextSourceSink

public NodeTextSourceSink(NodeSourceSink nss)
                   throws Exception

NodeTextSourceSink

public NodeTextSourceSink(Node node)
                   throws Exception
Method Detail

get

public Object get()
Description copied from interface: SourceSink
Retrieve some value.

Specified by:
get in interface SourceSink
Returns:
a value.

set

public void set(Object value)
Description copied from interface: SourceSink
Store some value.

Specified by:
set in interface SourceSink
Parameters:
value - The value to be stored. In general, if a value is stored via set(), the value retrieved by a subsequent get() call will equal the set value as defined by the value's equals() method.

addChangeListener

public void addChangeListener(ChangeListener l)
Description copied from interface: SourceSink
Add the specified listener to the list of interested change listeners. In general, whenever our value changes (either a new value is set via the set() method or the existing value's internal state changes), all subscribed listeners are notified with a ChangeEvent.

Specified by:
addChangeListener in interface SourceSink
Parameters:
l - The listener to add.

removeChangeListener

public void removeChangeListener(ChangeListener l)
Description copied from interface: SourceSink
Remove the specified listener from the list of interested change listeners.

Specified by:
removeChangeListener in interface SourceSink
Parameters:
l - The listener to remove.


Copyright © 2003 The Xwing Project. All Rights Reserved.