com.vaadin.sass.internal.selector
Class SimpleSelector
java.lang.Object
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
SimpleSelector
public SimpleSelector()
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.