com.japisoft.xmlpad.helper
Interface TagHelper

All Superinterfaces:
Helper
All Known Implementing Classes:
AbstractTagHelper

public interface TagHelper
extends Helper

This interface helps the UI to known available tag and required attributes

Author:
(c) 2003 JAPISOFT
See Also:
TagHelper

Method Summary
 void addTagDescriptor(TagDescriptor tag)
          add a new descriptor
 TagDescriptor getTag(java.lang.String tagName)
           
 TagDescriptor[] getTags()
           
 void setForcePrefix(java.lang.String locationPrefix)
          Force a new namespace prefix
 void setLocation(java.lang.String location)
          Reset the current location for computing available tags
 
Methods inherited from interface com.japisoft.xmlpad.helper.Helper
dispose, prepare, show
 

Method Detail

getTags

public TagDescriptor[] getTags()
Returns:
available tags

getTag

public TagDescriptor getTag(java.lang.String tagName)
Returns:
a tag descriptor for this tag name

addTagDescriptor

public void addTagDescriptor(TagDescriptor tag)
add a new descriptor


setLocation

public void setLocation(java.lang.String location)
Reset the current location for computing available tags


setForcePrefix

public void setForcePrefix(java.lang.String locationPrefix)
Force a new namespace prefix