com.vaadin.sass.internal.selector
Class SimpleSelector

java.lang.Object
  extended by com.vaadin.sass.internal.selector.SimpleSelector
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AttributeSelector, ClassSelector, IdSelector, PlaceholderSelector, PseudoClassSelector, PseudoElementSelector, TypeSelector

public abstract class SimpleSelector
extends Object
implements Serializable

Simple CSS3 selector such as an id selector or an attribute selector. SimpleSelector instances are immutable and replaceVariable(VariableNode) returns a modified copy of the selector if necessary. Multiple concatenated simple selectors are grouped in SimpleSelectorSequence and multiple sequences of selectors joined with combinators are then joined into Selector.

See Also:
Serialized Form

Constructor Summary
SimpleSelector()
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 SimpleSelector replaceVariable(VariableNode var)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSelector

public SimpleSelector()
Method Detail

replaceVariable

public SimpleSelector replaceVariable(VariableNode var)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013–2014 Vaadin. All rights reserved.