sunlabs.brazil.sunlabs

Class XmlTree.DefaultNodeName

public static class XmlTree.DefaultNodeName extends Object implements XmlTree.NodeName

The node is named by the specified attribute. If no attribute is specified, use the tag name instead, followed by the index in ().
Constructor Summary
DefaultNodeName()
DefaultNodeName(String attribute, String dflt)
Method Summary
StringgetName(XmlTree.Node n)
StringtoString()

Constructor Detail

DefaultNodeName

public DefaultNodeName()

DefaultNodeName

public DefaultNodeName(String attribute, String dflt)

Method Detail

getName

public String getName(XmlTree.Node n)

toString

public String toString()