Lines Matching defs:feature

255   /** Ask whether we support a given DOM feature.
256 * In fact, we do not _fully_ support any DOM feature -- we're a
266 * @param feature
271 public final boolean supports(String feature, String version)
273 return implementation.hasFeature(feature,version);
277 /** Ask whether we support a given DOM feature.
278 * In fact, we do not _fully_ support any DOM feature -- we're a
281 * @param feature
288 public final boolean isSupported(String feature, String version)
290 return implementation.hasFeature(feature,version);
1566 /** Ask whether we support a given DOM feature.
1568 * In fact, we do not _fully_ support any DOM feature -- we're a
1576 public boolean hasFeature(String feature,String version)
1578 if( ("CORE".equals(feature.toUpperCase()) || "XML".equals(feature.toUpperCase()))
1587 * specialized APIs of the specified feature and version. The
1591 * @param feature The name of the feature requested (case-insensitive).
1592 * @param version This is the version number of the feature to test. If
1594 * any version of the feature will cause the method to return an
1595 * object that supports at least one version of the feature.
1597 * the specified feature and version, if any, or <code>null</code> if
1599 * feature. If the <code>DOMObject</code> returned by this method
1607 public Object getFeature(String feature, String version) {
1610 //return hasFeature(feature, version) ? this : null;
1642 * specialized APIs of the specified feature and version. The
1645 * @param feature The name of the feature requested (case-insensitive).
1646 * @param version This is the version number of the feature to test. If
1648 * any version of the feature will cause the method to return an
1649 * object that supports at least one version of the feature.
1651 * the specified feature and version, if any, or <code>null</code> if
1653 * feature. If the <code>DOMObject</code> returned by this method
1661 public Object getFeature(String feature, String version) {
1664 return isSupported(feature, version) ? this : null;
2138 * <code>Document</code> supports the feature "HTML" , the base URI is
2196 /** DOM Level 3 feature: documentURI */
2210 * <br>Beware that when the <code>Document</code> supports the feature
2220 /**DOM Level 3 feature: Document actualEncoding */