public void setFeature(String name, boolean value)
			throws SAXNotRecognizedException, SAXNotSupportedException {
		if (SAX_FEATURE_NAMESPACE_PREFIXES.equals(name)) {
			// Namespace prefix declarations.
			this.setReportNamespaceDeclarations(value);
		} else {
			if (SAX_FEATURE_NAMESPACES.equals(name)) {
				if (value != true) {
					// Namespaces feature always supported by SAXOutputter.
					throw new SAXNotSupportedException(name);
				}
				// Else: true is OK!
			} else {
				if (SAX_FEATURE_VALIDATION.equals(name)) {
					// Report DTD events.
					this.setReportDTDEvents(value);
				} else {
					// Not a supported feature.
					throw new SAXNotRecognizedException(name);
				}
			}
		}
	}