org.apache.batik.css
Class AbstractViewCSS.ComputedStyleCache.Entry

java.lang.Object
  |
  +--org.apache.batik.css.AbstractViewCSS.ComputedStyleCache.Entry
Enclosing class:
AbstractViewCSS.ComputedStyleCache

protected static class AbstractViewCSS.ComputedStyleCache.Entry
extends java.lang.Object

To manage collisions in the table.


Field Summary
 java.lang.ref.SoftReference computedStyleReference
          The computed style.
 Element element
          The element.
 int hash
          The hash code
 AbstractViewCSS.ComputedStyleCache.Entry next
          The next entry.
 java.lang.String pseudoElement
          The pseudo-element.
 
Constructor Summary
AbstractViewCSS.ComputedStyleCache.Entry(int h, Element e, java.lang.String pe, java.lang.ref.SoftReference sd, AbstractViewCSS.ComputedStyleCache.Entry n)
          Creates a new entry.
 
Method Summary
 boolean match(Element e, java.lang.String pe)
          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

element

public Element element
The element.

pseudoElement

public java.lang.String pseudoElement
The pseudo-element.

computedStyleReference

public java.lang.ref.SoftReference computedStyleReference
The computed style.

next

public AbstractViewCSS.ComputedStyleCache.Entry next
The next entry.
Constructor Detail

AbstractViewCSS.ComputedStyleCache.Entry

public AbstractViewCSS.ComputedStyleCache.Entry(int h,
                                                Element e,
                                                java.lang.String pe,
                                                java.lang.ref.SoftReference sd,
                                                AbstractViewCSS.ComputedStyleCache.Entry n)
Creates a new entry.
Method Detail

match

public boolean match(Element e,
                     java.lang.String pe)
Whether this entry match the given keys.


Copyright © 2001 Apache Software Foundation. All Rights Reserved.