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.
Field Summary |
static java.lang.String |
AFTER
|
static java.lang.String |
BEFORE
|
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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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
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.
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()