com.japisoft.xmlappkit.editor
Class BasicXMLEditingChoices

java.lang.Object
  extended bycom.japisoft.xmlappkit.editor.BasicXMLEditingChoices
All Implemented Interfaces:
XMLEditingChoice

public class BasicXMLEditingChoices
extends java.lang.Object
implements XMLEditingChoice

Facility for choosing which tags can be edited

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

Field Summary
 
Fields inherited from interface com.japisoft.xmlappkit.editor.XMLEditingChoice
ANY_TAGS
 
Constructor Summary
BasicXMLEditingChoices(java.lang.String[] tags)
           
 
Method Summary
 java.lang.String[] getEditingTags()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicXMLEditingChoices

public BasicXMLEditingChoices(java.lang.String[] tags)
Parameters:
tags - Editing tags
Method Detail

getEditingTags

public java.lang.String[] getEditingTags()
Specified by:
getEditingTags in interface XMLEditingChoice
Returns:
the set of editing tag. It means the editor will be activated each time the use select on of this node. If the user can this editor edit any node, then you must return ALL_TAGS