com.steadystate.css.parser.selectors
Class GeneralAdjacentSelectorImpl

java.lang.Object
  extended by com.steadystate.css.parser.LocatableImpl
      extended by com.steadystate.css.parser.selectors.GeneralAdjacentSelectorImpl
All Implemented Interfaces:
Locatable, Serializable, org.w3c.css.sac.Selector, org.w3c.css.sac.SiblingSelector

public class GeneralAdjacentSelectorImpl
extends LocatableImpl
implements org.w3c.css.sac.SiblingSelector, Serializable

Author:
Ahmed Ashour, rbri
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.w3c.css.sac.SiblingSelector
ANY_NODE
 
Fields inherited from interface org.w3c.css.sac.Selector
SAC_ANY_NODE_SELECTOR, SAC_CDATA_SECTION_NODE_SELECTOR, SAC_CHILD_SELECTOR, SAC_COMMENT_NODE_SELECTOR, SAC_CONDITIONAL_SELECTOR, SAC_DESCENDANT_SELECTOR, SAC_DIRECT_ADJACENT_SELECTOR, SAC_ELEMENT_NODE_SELECTOR, SAC_NEGATIVE_SELECTOR, SAC_PROCESSING_INSTRUCTION_NODE_SELECTOR, SAC_PSEUDO_ELEMENT_SELECTOR, SAC_ROOT_NODE_SELECTOR, SAC_TEXT_NODE_SELECTOR
 
Constructor Summary
GeneralAdjacentSelectorImpl(short nodeType, org.w3c.css.sac.Selector child, org.w3c.css.sac.SimpleSelector directAdjacent)
           
 
Method Summary
 short getNodeType()
           
 org.w3c.css.sac.Selector getSelector()
           
 short getSelectorType()
           
 org.w3c.css.sac.SimpleSelector getSiblingSelector()
           
 void setNodeType(short nodeType)
           
 void setSelector(org.w3c.css.sac.Selector child)
           
 void setSiblingSelector(org.w3c.css.sac.SimpleSelector directAdjacent)
           
 String toString()
           
 
Methods inherited from class com.steadystate.css.parser.LocatableImpl
getLocator, setLocator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GeneralAdjacentSelectorImpl

public GeneralAdjacentSelectorImpl(short nodeType,
                                   org.w3c.css.sac.Selector child,
                                   org.w3c.css.sac.SimpleSelector directAdjacent)
Method Detail

setNodeType

public void setNodeType(short nodeType)

setSelector

public void setSelector(org.w3c.css.sac.Selector child)

setSiblingSelector

public void setSiblingSelector(org.w3c.css.sac.SimpleSelector directAdjacent)

getNodeType

public short getNodeType()
Specified by:
getNodeType in interface org.w3c.css.sac.SiblingSelector

getSelectorType

public short getSelectorType()
Specified by:
getSelectorType in interface org.w3c.css.sac.Selector

getSelector

public org.w3c.css.sac.Selector getSelector()
Specified by:
getSelector in interface org.w3c.css.sac.SiblingSelector

getSiblingSelector

public org.w3c.css.sac.SimpleSelector getSiblingSelector()
Specified by:
getSiblingSelector in interface org.w3c.css.sac.SiblingSelector

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All rights reserved.