public class CombinedSelectorImpl extends AbstractRule<Selector> implements CombinedSelector
| Modifier and Type | Class and Description |
|---|---|
static class |
CombinedSelectorImpl.SpecificityImpl |
CombinedSelector.Specificityhash, listmodCount| Modifier | Constructor and Description |
|---|---|
protected |
CombinedSelectorImpl() |
| Modifier and Type | Method and Description |
|---|---|
CombinedSelector.Specificity |
computeSpecificity()
Computes specificity of selector
|
Selector |
getLastSelector()
Gets last Selector stored in list,
so its values are easily read
|
Selector.PseudoDeclaration |
getPseudoElement()
Reads the pseudo element of the last simple selector as defined in the CSS specs
|
String |
toString() |
String |
toString(int depth) |
add, add, asList, equals, get, hashCode, iterator, remove, replaceAll, set, size, unlockaddAll, clear, indexOf, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitasList, replaceAll, unlockpublic Selector getLastSelector() throws UnsupportedOperationException
CombinedSelectorgetLastSelector in interface CombinedSelectorUnsupportedOperationExceptionpublic Selector.PseudoDeclaration getPseudoElement()
CombinedSelectorgetPseudoElement in interface CombinedSelectorpublic CombinedSelector.Specificity computeSpecificity()
computeSpecificity in interface CombinedSelectorpublic String toString(int depth)
public String toString()
toString in class AbstractCollection<Selector>Copyright © 2014. All rights reserved.