Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.thaiopensource.validate.schematron;
 
abstract class XMLReaderImpl implements XMLReader {
  private DTDHandler dtdHandler;
  public void parse(String systemId)
          throws SAXExceptionIOException {
    parse(new InputSource(systemId));
  }
    return ;
  }
  public void setErrorHandler(ErrorHandler errorHandler) {
    this. = errorHandler;
  }
  public void setDTDHandler(DTDHandler handler) {
    this. = handler;
  }
  public DTDHandler getDTDHandler() {
    return ;
  }
  public void setEntityResolver(EntityResolver resolver) {
    this. = resolver;
  }
    return ;
  }
  public Object getProperty(String name)
          throws SAXNotRecognizedExceptionSAXNotSupportedException {
    throw new SAXNotRecognizedException(name);
  }
  public void setProperty(String nameObject value)
          throws SAXNotRecognizedExceptionSAXNotSupportedException {
    throw new SAXNotRecognizedException(name);
  }
  public boolean getFeature(String name)
          throws SAXNotRecognizedExceptionSAXNotSupportedException {
    if (name.equals("http://xml.org/sax/features/namespaces"))
      return true;
    if (name.equals("http://xml.org/sax/features/namespace-prefixes"))
      return false;
    throw new SAXNotRecognizedException(name);
  }
  public void setFeature(String nameboolean value)
          throws SAXNotRecognizedExceptionSAXNotSupportedException {
    if (name.equals("http://xml.org/sax/features/namespaces")) {
      if (value == true)
        return;
      throw new SAXNotSupportedException(name);
    }
    if (name.equals("http://xml.org/sax/features/namespace-prefixes")) {
      if (value == false)
        return;
      throw new SAXNotSupportedException(name);
    }
    throw new SAXNotRecognizedException(name);
  }
New to GrepCode? Check out our FAQ X