Class XmlTree.DefaultNodeName

  • All Implemented Interfaces:
    XmlTree.NodeName
    Enclosing class:
    XmlTree

    public static class XmlTree.DefaultNodeName
    extends java.lang.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

      Constructors 
      Constructor Description
      DefaultNodeName()  
      DefaultNodeName​(java.lang.String attribute, java.lang.String dflt)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName​(XmlTree.Node n)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DefaultNodeName

        public DefaultNodeName()
      • DefaultNodeName

        public DefaultNodeName​(java.lang.String attribute,
                               java.lang.String dflt)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object