com.japisoft.xmlpad.helper.model
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
 TagDescriptor addTagDescriptor(TagDescriptor tag)
          add a new descriptor
 java.lang.String getSource()
           
 TagDescriptor getTag(SimpleNode node)
           
 TagDescriptor[] getTags()
           
 void setLocation(SimpleNode locationPath, int offset)
          Reset the current location for computing available tags
 void setNamespace(java.lang.String namespace)
           
 
Methods inherited from interface com.japisoft.xmlpad.helper.model.Helper
dispose, getNamespace, getTitle, setEditor, show
 

Method Detail

setNamespace

public void setNamespace(java.lang.String namespace)

getTags

public TagDescriptor[] getTags()
Returns:
available tags

getTag

public TagDescriptor getTag(SimpleNode node)
Returns:
a tag descriptor for this tag name

addTagDescriptor

public TagDescriptor addTagDescriptor(TagDescriptor tag)
add a new descriptor


setLocation

public void setLocation(SimpleNode locationPath,
                        int offset)
Reset the current location for computing available tags

Specified by:
setLocation in interface Helper

getSource

public java.lang.String getSource()
Returns:
the initial schema location


Copyright © 2006 JAPISoft. All Rights Reserved.