Package org.w3c.css.sac

Examples of org.w3c.css.sac.CSSException


     *
     * @return the any node selector.
     * @exception CSSException If this selector is not supported.
     */   
    public SimpleSelector createAnyNodeSelector() throws CSSException {
  throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
    }
View Full Code Here


     *
     * @return the root node selector.
     * @exception CSSException If this selector is not supported.
     */   
    public SimpleSelector createRootNodeSelector() throws CSSException {
  throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
    }
View Full Code Here

     * @return the negative selector.
     * @exception CSSException If this selector is not supported.
     */   
    public NegativeSelector createNegativeSelector(SimpleSelector selector)
      throws CSSException {
  throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
    }
View Full Code Here

     * @exception CSSException If this selector is not supported.
     */   
    public ElementSelector createElementSelector(String namespaceURI, String localName)
      throws CSSException {
  if (namespaceURI != null) {
      throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
  } else {
      return new ElementSelectorImpl(localName);
  }
    }
View Full Code Here

     * @return the text node selector
     * @exception CSSException If this selector is not supported.
     */   
    public CharacterDataSelector createTextNodeSelector(String data)
      throws CSSException {
  throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
    }
View Full Code Here

     * @return the cdata section node selector
     * @exception CSSException If this selector is not supported.
     */   
    public CharacterDataSelector createCDataSectionSelector(String data)
      throws CSSException {
  throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
    }
View Full Code Here

     */   
    public ProcessingInstructionSelector
  createProcessingInstructionSelector(String target,
              String data)
      throws CSSException {
  throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
    }
View Full Code Here

     * @return the comment node selector
     * @exception CSSException If this selector is not supported.
     */   
    public CharacterDataSelector createCommentSelector(String data)
      throws CSSException {
  throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
    }
View Full Code Here

     */   
    public ElementSelector createPseudoElementSelector(String namespaceURI,
            String pseudoName)
      throws CSSException {
  if (namespaceURI != null) {
      throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
  } else {
      return new PseudoElementSelectorImpl(pseudoName);
  }
    }
View Full Code Here

    public SiblingSelector createDirectAdjacentSelector(short nodeType,
              Selector child,
              SimpleSelector directAdjacent)
      throws CSSException {
  if (nodeType != 1) {     
      throw new CSSException(CSSException.SAC_NOT_SUPPORTED_ERR);
  } else {
      return new DirectAdjacentSelectorImpl(child, directAdjacent);
  }
    }
View Full Code Here

TOP

Related Classes of org.w3c.css.sac.CSSException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.