public class ComponentMatchCtx
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Component |
getComponent()
Return the component.
|
int |
getComponentChildIndex()
Return the child index of the component.
|
int |
getComponentSiblingSize()
Return the count of total siblings of the component, including itself.
|
ComponentMatchCtx |
getParent()
Return the parent context
|
boolean |
isMatched()
Return true if the component matched the last position of any selectors
in the list.
|
boolean |
isMatched(int selectorIndex)
Return true if the component matched the last position of the given
selector.
|
boolean |
isQualified(int selectorIndex,
int position)
Return true if the component matched the given position of the given
selector.
|
boolean |
match(SimpleSelectorSequence seq,
java.util.Map<java.lang.String,PseudoClassDef> defs)
Return true if the component qualifies the local properties of a given
SimpleSelectorSequence.
|
java.lang.String |
toString() |
public ComponentMatchCtx getParent()
public Component getComponent()
public int getComponentChildIndex()
public int getComponentSiblingSize()
public boolean isQualified(int selectorIndex, int position)
selectorIndex
- position
- public boolean isMatched()
public boolean isMatched(int selectorIndex)
selectorIndex
- public boolean match(SimpleSelectorSequence seq, java.util.Map<java.lang.String,PseudoClassDef> defs)
seq
- defs
- public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.