com.japisoft.xmlpad.helper.relaxng
Class RelaxNGTagHelper

java.lang.Object
  extended bycom.japisoft.xmlpad.helper.model.AbstractHelper
      extended bycom.japisoft.xmlpad.helper.model.AbstractTagHelper
          extended bycom.japisoft.xmlpad.helper.relaxng.RelaxNGTagHelper
All Implemented Interfaces:
Helper, SchemaNodable, TagHelper

public class RelaxNGTagHelper
extends AbstractTagHelper
implements SchemaNodable

RelaxNG tag helper

Author:
(c) 2003 JAPISoft / A.Brillant

Field Summary
 
Fields inherited from class com.japisoft.xmlpad.helper.model.AbstractTagHelper
addedSystemTag, currentDocumentLocation, currentDocumentNode, lastLocation, location, locationPath
 
Fields inherited from class com.japisoft.xmlpad.helper.model.AbstractHelper
editor, namespace, WIN
 
Constructor Summary
RelaxNGTagHelper(SimpleNode root)
           
 
Method Summary
 SchemaNode getSchemaNode()
           
 SchemaNode getSecondarySchemaNode()
           
 TagDescriptor getTag(SimpleNode node)
           
protected  void notifyLocation()
          Prepare for tag list for the current location
 
Methods inherited from class com.japisoft.xmlpad.helper.model.AbstractTagHelper
addSystemTag, addTag, addTagDescriptor, completeContentForElementWithoutPrefix, fillList, flush, getAttributeHelperForNode, getLostCharacter, getSource, getTags, getTitle, hasElements, setLocation, setSource, translateNode
 
Methods inherited from class com.japisoft.xmlpad.helper.model.AbstractHelper
dispose, getListCellRenderer, getNamespace, insertResult, prepareDocumentBeforeInserting, setEditor, setNamespace, show, show
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.japisoft.xmlpad.helper.model.TagHelper
setNamespace
 
Methods inherited from interface com.japisoft.xmlpad.helper.model.Helper
dispose, getNamespace, setEditor, show
 

Constructor Detail

RelaxNGTagHelper

public RelaxNGTagHelper(SimpleNode root)
Method Detail

getTag

public TagDescriptor getTag(SimpleNode node)
Specified by:
getTag in interface TagHelper
Returns:
a tag descriptor for this tag name

notifyLocation

protected void notifyLocation()
Description copied from class: AbstractTagHelper
Prepare for tag list for the current location

Overrides:
notifyLocation in class AbstractTagHelper

getSchemaNode

public SchemaNode getSchemaNode()
Specified by:
getSchemaNode in interface SchemaNodable
Returns:
a schema node

getSecondarySchemaNode

public SchemaNode getSecondarySchemaNode()


Copyright © 2006 JAPISoft. All Rights Reserved.