code: public void setFeature(String name, boolean state) throws IllegalArgumentException, IllegalStateException {
  		if (name == null) {
  			throw new IllegalArgumentException("feature name can not be null");
  		}
  		if (FEATURE_NAMES_INTERNED.equals(name)) {
  			namesInterned = state;
  		} else if (FEATURE_SERIALIZER_ATTVALUE_USE_APOSTROPHE.equals(name)) {
  			attributeUseApostrophe = state;
  		} else {
  			throw new IllegalStateException("unsupported feature " + name);
  		}
  	}
docs: Sets the feature.
  
  @param name the name
  @param state the state
  @throws IllegalArgumentException the illegal argument exception
  @throws IllegalStateException the illegal state exception