Class AbstractElement.Entry

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    AbstractElement

    protected static class AbstractElement.Entry
    extends java.lang.Object
    implements java.io.Serializable
    To manage collisions in the attributes map. Implements a linked list of Node-objects.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int hash
      The hash code, must not change after creation.
      java.lang.String name
      The node name.
      java.lang.String namespaceURI
      The namespace URI
      AbstractElement.Entry next
      The next entry
      org.w3c.dom.Node value
      The value
    • Constructor Summary

      Constructors 
      Constructor Description
      Entry​(int hash, java.lang.String ns, java.lang.String nm, org.w3c.dom.Node value, AbstractElement.Entry next)
      Creates a new entry
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean match​(java.lang.String ns, java.lang.String nm)
      Whether this entry match the given keys.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • hash

        public int hash
        The hash code, must not change after creation.
      • namespaceURI

        public java.lang.String namespaceURI
        The namespace URI
      • name

        public java.lang.String name
        The node name.
      • value

        public org.w3c.dom.Node value
        The value
    • Constructor Detail

      • Entry

        public Entry​(int hash,
                     java.lang.String ns,
                     java.lang.String nm,
                     org.w3c.dom.Node value,
                     AbstractElement.Entry next)
        Creates a new entry
    • Method Detail

      • match

        public boolean match​(java.lang.String ns,
                             java.lang.String nm)
        Whether this entry match the given keys.