|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.itextpdf.tool.xml.css.CssSelector
public class CssSelector
| Constructor Summary | |
|---|---|
CssSelector()
|
|
| Method Summary | |
|---|---|
Set<String> |
createAllSelectors(Tag t)
Calls each method in this class and returns an aggregated list of selectors. |
Set<String> |
createClassSelectors(Tag t)
Creates the class selectors, each class is prepended with a ".". |
Set<String> |
createIdSelector(Tag t)
Creates the selector for id, the id is prepended with '#'. |
Set<String> |
createTagSelectors(Tag t)
Creates selectors for a given tag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CssSelector()
| Method Detail |
|---|
public Set<String> createAllSelectors(Tag t)
t - the tag
public Set<String> createTagSelectors(Tag t)
t - the tag to create selectors for.
public Set<String> createClassSelectors(Tag t)
t - the tag
public Set<String> createIdSelector(Tag t)
t - the tag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||