net.sf.vex.css
Class PseudoElement

java.lang.Object
  |
  +--net.sf.vex.dom.Node
        |
        +--net.sf.vex.dom.Element
              |
              +--net.sf.vex.css.PseudoElement

public class PseudoElement
extends Element

Represents a :before or :after pseudo-element.


Nested Class Summary
 
Nested classes inherited from class net.sf.vex.dom.Element
Element.AttributeChangeEdit
 
Field Summary
static java.lang.String AFTER
           
static java.lang.String BEFORE
           
 
Constructor Summary
PseudoElement(Element parent, java.lang.String name)
          Class constructor.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 
Methods inherited from class net.sf.vex.dom.Element
getAttribute, getAttributeNames, getChildElements, getChildIterator, getChildNodes, getDocument, getName, getParent, isEmpty, removeAttribute, setAttribute, setParent, toString
 
Methods inherited from class net.sf.vex.dom.Node
getContent, getEndOffset, getEndPosition, getStartOffset, getStartPosition, getText
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

AFTER

public static final java.lang.String AFTER
See Also:
Constant Field Values

BEFORE

public static final java.lang.String BEFORE
See Also:
Constant Field Values
Constructor Detail

PseudoElement

public PseudoElement(Element parent,
                     java.lang.String name)
Class constructor.

Parameters:
parent - Parent element to this pseudo-element.
name - Name of this pseudo-element, e.g. PseudoElement.BEFORE.
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()