public void setProperty(String name, Object value)
			throws SAXNotRecognizedException, SAXNotSupportedException {
		if ((SAX_PROPERTY_LEXICAL_HANDLER.equals(name))
				|| (SAX_PROPERTY_LEXICAL_HANDLER_ALT.equals(name))) {
			this.setLexicalHandler((LexicalHandler) value);
		} else {
			if ((SAX_PROPERTY_DECLARATION_HANDLER.equals(name))
					|| (SAX_PROPERTY_DECLARATION_HANDLER_ALT.equals(name))) {
				this.setDeclHandler((DeclHandler) value);
			} else {
				throw new SAXNotRecognizedException(name);
			}
		}
	}