public class RulePageImpl extends AbstractRuleBlock<Rule<?>> implements RulePage
RuleBlock.Priority| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected String |
pseudo |
priority, stylesheethash, listmodCount| Modifier | Constructor and Description |
|---|---|
protected |
RulePageImpl(RuleBlock.Priority priority) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Rule<?> element) |
boolean |
equals(Object obj) |
String |
getName()
Gets name of the page
|
String |
getPseudo()
Gets pseudo-class of the page
|
int |
hashCode() |
RulePage |
setName(String name)
Sets name of the page
|
RulePage |
setPseudo(String pseudo)
Sets pseudo-class of the page
|
String |
toString() |
String |
toString(int depth)
Pretty output of CSS definition using indentation
|
compareTo, getPriority, getStyleSheet, setPriority, setStyleSheetadd, asList, get, 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, waitgetPriority, getStyleSheet, setPriority, setStyleSheetasList, replaceAll, unlockadd, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArraycompareToprotected RulePageImpl(RuleBlock.Priority priority)
public String getName()
public String getPseudo()
public boolean add(Rule<?> element)
add in interface Collection<Rule<?>>add in interface List<Rule<?>>add in class AbstractRule<Rule<?>>public String toString()
toString in class AbstractCollection<Rule<?>>public String toString(int depth)
PrettyOutputtoString in interface PrettyOutputdepth - Number of times output is indentedOutputUtilpublic int hashCode()
hashCode in interface Collection<Rule<?>>hashCode in interface List<Rule<?>>hashCode in class AbstractRuleBlock<Rule<?>>public boolean equals(Object obj)
equals in interface Collection<Rule<?>>equals in interface List<Rule<?>>equals in class AbstractRuleBlock<Rule<?>>Copyright © 2014. All rights reserved.