|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.informatica.doc.style.css.dom.SelectorMatcher
public abstract class SelectorMatcher
CSS Selector matcher.
| Constructor Summary | |
|---|---|
SelectorMatcher()
|
|
| Method Summary | |
|---|---|
abstract String |
getAttributeValue(String attrName)
Gets the value of the given attribute in the element associated to this selector matcher. |
abstract String |
getId()
Gets the 'id' attribute of the element associated to this selector matcher. |
abstract String |
getLanguage()
Gets the language of the element associated to this selector matcher. |
abstract SelectorMatcher |
getParentSelectorMatcher()
Gets the selector matcher for the parent element. |
abstract SelectorMatcher |
getPreviousSiblingSelectorMatcher()
Gets the selector matcher for the previous sibling. |
String |
getPseudoElement()
|
String |
getTagName()
Gets the name of the tag to which this selector applies. |
abstract boolean |
hasAttribute(String attrName)
Checks if is defined the given attribute in the element associated to this selector matcher. |
abstract boolean |
isFirstChild()
The element in this matcher is the first child? |
boolean |
match(org.w3c.css.sac.Selector selector)
Does this matcher match the given selector? |
int |
match(org.w3c.css.sac.SelectorList selist)
Does this selector match the given selector list? |
protected void |
setClassAttribute(String classAttr)
|
protected void |
setParentTagname(String parentTagname)
|
void |
setPseudoElement(String pseudoElt)
|
protected void |
setTagname(String tagname)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SelectorMatcher()
| Method Detail |
|---|
public String getTagName()
protected void setClassAttribute(String classAttr)
protected void setTagname(String tagname)
protected void setParentTagname(String parentTagname)
public String getPseudoElement()
public void setPseudoElement(String pseudoElt)
public int match(org.w3c.css.sac.SelectorList selist)
selist - the list of selectors to which this matcher will compare.
public boolean match(org.w3c.css.sac.Selector selector)
selector - the selector to be tested.
public abstract SelectorMatcher getParentSelectorMatcher()
public abstract SelectorMatcher getPreviousSiblingSelectorMatcher()
public abstract boolean isFirstChild()
public abstract String getAttributeValue(String attrName)
attrName - the attribute name.
public abstract boolean hasAttribute(String attrName)
attrName - the attribute name.
public abstract String getId()
public abstract String getLanguage()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||