com.japisoft.xmlappkit.editor
Interface XMLEditingContext


public interface XMLEditingContext

Context for editing an XML node. User can get the selected node and update its content.

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com

Method Summary
 void commit()
          Confirm that you have updated the selected node.
 com.japisoft.fastparser.node.SimpleNode getRootNode()
           
 com.japisoft.fastparser.node.SimpleNode getSelectedNode()
           
 XMLAppContainer getSource()
           
 

Method Detail

getSource

public XMLAppContainer getSource()
Returns:
the main container for this editor

getSelectedNode

public com.japisoft.fastparser.node.SimpleNode getSelectedNode()
Returns:
an XML node due to the selected node.

getRootNode

public com.japisoft.fastparser.node.SimpleNode getRootNode()
Returns:
the current XML document root node

commit

public void commit()
Confirm that you have updated the selected node. It can only be called once