xml
Class MvnXmlParsedData
java.lang.Object
sidekick.SideKickParsedData
xml.XmlParsedData
xml.MvnXmlParsedData
public class MvnXmlParsedData
- extends XmlParsedData
Special version of XmlParsedData for Maven pom.xml files. Pom files have very
few tags with attributes, and the interesting things to see in the SideKick
tree are generally hidden from view, This class renames those nodes with a
child node named 'name' or 'artifactId' so that the name is more readily
visible in the tree.
| Fields inherited from class sidekick.SideKickParsedData |
expansionModel, root, tree |
|
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 |
MvnXmlParsedData
public MvnXmlParsedData(java.lang.String filename,
boolean html)
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