public final boolean supports(String feature,String version){
  return implementation.hasFeature(feature,version);
}

public final boolean supports ( String feature , String version ) { return implementation . hasFeature ( feature , version ) ; }
ask whether we support a given dom feature . in fact , we do not _fully_ support any dom feature - - we ' re a read - only subset - - so arguably we should always return false . or we could say that we support dom core level 2 but all nodes are read - only . unclear which answer is least misleading . non - dom method . this was present in early drafts of dom level 2 , but was renamed issupported . it ' s present here only because it ' s cheap , harmless , and might help some poor fool who is still trying to use an early working draft of the dom .
