org.w3c.css.sac.DescendantSelector Java Examples

The following examples show how to use org.w3c.css.sac.DescendantSelector. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CSSSelectorFactory.java    From tm4e with Eclipse Public License 1.0 4 votes vote down vote up
@Override
public DescendantSelector createChildSelector(Selector arg0, SimpleSelector arg1) throws CSSException {
	throw new UnsupportedOperationException();
}
 
Example #2
Source File: CSSSelectorFactory.java    From tm4e with Eclipse Public License 1.0 4 votes vote down vote up
@Override
public DescendantSelector createDescendantSelector(Selector arg0, SimpleSelector arg1) throws CSSException {
	throw new UnsupportedOperationException();
}
 
Example #3
Source File: FixNamespaceSelectorFactory.java    From pentaho-reporting with GNU Lesser General Public License v2.1 4 votes vote down vote up
public DescendantSelector createDescendantSelector( final Selector parent,
                                                    final SimpleSelector descendant )
  throws
  CSSException {
  return this.parent.createDescendantSelector( parent, descendant );
}
 
Example #4
Source File: FixNamespaceSelectorFactory.java    From pentaho-reporting with GNU Lesser General Public License v2.1 4 votes vote down vote up
public DescendantSelector createChildSelector( final Selector parent,
                                               final SimpleSelector child )
  throws
  CSSException {
  return this.parent.createChildSelector( parent, child );
}
 
Example #5
Source File: FixNamespaceSelectorFactory.java    From pentaho-reporting with GNU Lesser General Public License v2.1 4 votes vote down vote up
public DescendantSelector createDescendantSelector( final Selector parent, final SimpleSelector descendant )
  throws CSSException {
  return this.parent.createDescendantSelector( parent, descendant );
}
 
Example #6
Source File: FixNamespaceSelectorFactory.java    From pentaho-reporting with GNU Lesser General Public License v2.1 4 votes vote down vote up
public DescendantSelector createChildSelector( final Selector parent, final SimpleSelector child )
  throws CSSException {
  return this.parent.createChildSelector( parent, child );
}
 
Example #7
Source File: SelectorFactoryImpl.java    From pentaho-reporting with GNU Lesser General Public License v2.1 2 votes vote down vote up
/**
 * Creates a descendant selector.
 *
 * @param parent     the parent selector
 * @param descendant the descendant selector
 * @return the combinator selector.
 * @throws CSSException If this selector is not supported.
 */
public DescendantSelector createDescendantSelector( Selector parent,
                                                    SimpleSelector descendant )
  throws CSSException {
  return new DescendantSelectorImpl( parent, descendant );
}
 
Example #8
Source File: SelectorFactoryImpl.java    From pentaho-reporting with GNU Lesser General Public License v2.1 2 votes vote down vote up
/**
 * Creates a child selector.
 *
 * @param parent the parent selector
 * @param child  the child selector
 * @return the combinator selector.
 * @throws CSSException If this selector is not supported.
 */
public DescendantSelector createChildSelector( Selector parent,
                                               SimpleSelector child )
  throws CSSException {
  return new ChildSelectorImpl( parent, child );
}
 
Example #9
Source File: CSSSelectorFactory.java    From pentaho-reporting with GNU Lesser General Public License v2.1 2 votes vote down vote up
/**
 * Creates a descendant selector.
 *
 * @param parent     the parent selector
 * @param descendant the descendant selector
 * @return the combinator selector.
 * @throws CSSException If this selector is not supported.
 */
public DescendantSelector createDescendantSelector( Selector parent,
                                                    SimpleSelector descendant )
  throws CSSException {
  return new CSSDescendantSelector( descendant, parent, false );
}
 
Example #10
Source File: CSSSelectorFactory.java    From pentaho-reporting with GNU Lesser General Public License v2.1 2 votes vote down vote up
/**
 * Creates a child selector.
 *
 * @param parent the parent selector
 * @param child  the child selector
 * @return the combinator selector.
 * @throws CSSException If this selector is not supported.
 */
public DescendantSelector createChildSelector( Selector parent,
                                               SimpleSelector child )
  throws CSSException {
  return new CSSDescendantSelector( child, parent, true );
}
 
Example #11
Source File: CSSSelectorFactory.java    From pentaho-reporting with GNU Lesser General Public License v2.1 2 votes vote down vote up
/**
 * Creates a descendant selector.
 *
 * @param parent
 *          the parent selector
 * @param descendant
 *          the descendant selector
 * @return the combinator selector.
 * @throws CSSException
 *           If this selector is not supported.
 */
public DescendantSelector createDescendantSelector( final Selector parent, final SimpleSelector descendant )
  throws CSSException {
  return new CSSDescendantSelector( descendant, parent, false );
}
 
Example #12
Source File: CSSSelectorFactory.java    From pentaho-reporting with GNU Lesser General Public License v2.1 2 votes vote down vote up
/**
 * Creates a child selector.
 *
 * @param parent
 *          the parent selector
 * @param child
 *          the child selector
 * @return the combinator selector.
 * @throws CSSException
 *           If this selector is not supported.
 */
public DescendantSelector createChildSelector( final Selector parent, final SimpleSelector child )
  throws CSSException {
  return new CSSDescendantSelector( child, parent, true );
}