com.japisoft.xmlpad.helper
Class SyntaxHelper

java.lang.Object
  extended bycom.japisoft.xmlpad.helper.SyntaxHelper

public class SyntaxHelper
extends java.lang.Object

SyntaxHelper This classes is a method factory for finding helper for the current XMLPad context usage. This is for tags or entities.

Version:
1.2
Author:
(c) 2003 JAPISOFT

Constructor Summary
SyntaxHelper()
           
 
Method Summary
 void addTagDescriptor(TagDescriptor tag)
           
 EntityHelper getEntityHelper()
           
 SystemHelper getSystemHelper()
           
 TagHelper getTagHelperForLocation(java.lang.String location)
           
 boolean hasTagHelper()
           
 void setDTDLocation(java.lang.String currentDocument, java.lang.String location, java.lang.String rootElement)
          Reset the current DTD location
 void setRelaxNGLocation(java.lang.String location)
          Reset the current RelaxNGLocation
 void setSchemaLocation(java.lang.String currentDocument, java.lang.String location, java.lang.String rootElement)
          Reset the current Schema location
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyntaxHelper

public SyntaxHelper()
Method Detail

addTagDescriptor

public void addTagDescriptor(TagDescriptor tag)

hasTagHelper

public boolean hasTagHelper()
Returns:
true if a tag helper is available

setRelaxNGLocation

public void setRelaxNGLocation(java.lang.String location)
Reset the current RelaxNGLocation


setSchemaLocation

public void setSchemaLocation(java.lang.String currentDocument,
                              java.lang.String location,
                              java.lang.String rootElement)
Reset the current Schema location


setDTDLocation

public void setDTDLocation(java.lang.String currentDocument,
                           java.lang.String location,
                           java.lang.String rootElement)
Reset the current DTD location


getTagHelperForLocation

public TagHelper getTagHelperForLocation(java.lang.String location)
Returns:
set of Tags definition

getEntityHelper

public EntityHelper getEntityHelper()
Returns:
a set of Entities definition

getSystemHelper

public SystemHelper getSystemHelper()
Returns:
a set of System element