com.japisoft.xmlpad.helper.schema
Class SchemaTagHelper

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

public class SchemaTagHelper
extends AbstractTagHelper
implements SchemaNodable

Syntax helper part for schema

Version:
1.0
Author:
(c) 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
SchemaTagHelper(java.lang.String rootName, SimpleNode node, java.lang.String currentDocument)
           
 
Method Summary
 SchemaNode getSchemaNode()
           
 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

SchemaTagHelper

public SchemaTagHelper(java.lang.String rootName,
                       SimpleNode node,
                       java.lang.String currentDocument)
Method Detail

getTag

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

getSchemaNode

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

notifyLocation

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

Overrides:
notifyLocation in class AbstractTagHelper


Copyright © 2006 JAPISoft. All Rights Reserved.