xml
Class TldXmlParsedData

java.lang.Object
  extended by sidekick.SideKickParsedData
      extended by xml.XmlParsedData
          extended by xml.TldXmlParsedData

public class TldXmlParsedData
extends XmlParsedData

Special version of XmlParsedData for tld files. Tld files have very few tags with attributes, and the interesting things to see in the SideKick tree are generally hidden from view, like the 'name' child tag of a 'tag' or 'function' node, This class renames those nodes with a child node named 'name' so that the name is more readily visible in the tree.


Field Summary
 
Fields inherited from class xml.XmlParsedData
allNamespacesBindingsAtTop, entities, entityHash, html, ids, SORT_BY_LINE, SORT_BY_NAME, SORT_BY_TYPE, sortDown
 
Fields inherited from class sidekick.SideKickParsedData
expansionModel, root, tree
 
Constructor Summary
TldXmlParsedData(java.lang.String filename, boolean html)
           
 
Method Summary
protected  sidekick.ExpansionModel createExpansionModel()
           
 void done(org.gjt.sp.jedit.View view)
          Rename the assets contained in the tree nodes to use the value contained in the body of any child tags named 'name'.
protected  java.util.Comparator<javax.swing.tree.DefaultMutableTreeNode> getSorter()
           
 
Methods inherited from class xml.XmlParsedData
addEntity, getAllowedElements, getAllowedElements, getCompletionInfo, getElementDecl, getElementLocalName, getElementNamePrefix, getIDDecl, getNamespaceBindings, getNoNamespaceCompletionInfo, getObjectsTo, getParsedData, getSortBy, getSortedIds, getXPathForPosition, setCompletionInfo, setSortBy, setSortDirection, sort
 
Methods inherited from class sidekick.SideKickParsedData
canAddToPath, getAsset, getAssetAtOffset, getAssetAtPosition, getFoldHandler, getNodeAt, getParsedData, getTreePathForPosition, setParsedData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TldXmlParsedData

public TldXmlParsedData(java.lang.String filename,
                        boolean html)
Method Detail

done

public void done(org.gjt.sp.jedit.View view)
Rename the assets contained in the tree nodes to use the value contained in the body of any child tags named 'name'.

Overrides:
done in class XmlParsedData

getSorter

protected java.util.Comparator<javax.swing.tree.DefaultMutableTreeNode> getSorter()
Overrides:
getSorter in class XmlParsedData

createExpansionModel

protected sidekick.ExpansionModel createExpansionModel()
Overrides:
createExpansionModel in class XmlParsedData