/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | DOMTestIncompatibleException.java | 50 public static DOMTestIncompatibleException incompatibleFeature(String feature, argument 53 "Implementation does not support feature \""); 54 buf.append(feature);
|
H A D | JTidyDOMImplementation.java | 29 * Test if the DOM implementation implements a specific feature. 30 * @param feature The name of the feature to test (case-insensitive). The 36 * @param version This is the version number of the feature to test. In 38 * not specified, supporting any version of the feature causes the 40 * @return <code>true</code> if the feature is implemented in the 43 public boolean hasFeature(String feature, argument 45 if (feature.equals("Core")) { 69 * not support the <code>"XML"</code> feature, if they choose not to 73 * the feature t 123 getInterface(String feature) argument 127 getFeature(String feature, String version) argument [all...] |
H A D | BatikTestDocumentBuilderFactory.java | 172 * Determines if the implementation supports the specified feature. 173 * @param feature Feature 175 * @return true if implementation supports the feature 177 public boolean hasFeature(String feature, String version) { argument 178 return getDOMImplementation().hasFeature(feature, version);
|
H A D | DOM4JTestDocumentBuilderFactory.java | 130 public boolean hasFeature(String feature, String version) { argument 131 return domImpl.hasFeature(feature, version);
|
H A D | DOMTestDocumentBuilderFactory.java | 62 public abstract boolean hasFeature(String feature, String version); argument
|
H A D | JTidyDocumentBuilderFactory.java | 108 public boolean hasFeature(String feature, String version) { argument 109 return domImpl.hasFeature(feature, version);
|
H A D | DOMTest.java | 63 public boolean hasFeature(String feature, String version) { argument 64 return factory.hasFeature(feature, version);
|
H A D | DOMTestFramework.java | 29 String feature, 27 hasFeature( DocumentBuilder docBuilder, String feature, String version) argument
|
H A D | JAXPDOMTestDocumentBuilderFactory.java | 143 public boolean hasFeature(String feature, String version) { argument 144 return builder.getDOMImplementation().hasFeature(feature, version);
|
H A D | JUnitTestCaseAdapter.java | 172 String feature, 174 return docBuilder.getDOMImplementation().hasFeature(feature,version); 171 hasFeature(DocumentBuilder docBuilder, String feature, String version) argument
|
H A D | LSDocumentBuilderFactory.java | 353 * Determines if the implementation supports the specified feature 354 * @param feature Feature 356 * @return true if implementation supports the feature 358 public boolean hasFeature(String feature, String version) { argument 359 return getDOMImplementation().hasFeature(feature, version);
|
H A D | XercesHTML2DocumentBuilderFactory.java | 218 public boolean hasFeature(String feature, String version) { argument 219 return domImpl.hasFeature(feature, version);
|
H A D | XercesHTMLDocumentBuilderFactory.java | 218 public boolean hasFeature(String feature, String version) { argument 219 return domImpl.hasFeature(feature, version);
|
/libcore/luni/src/main/java/org/w3c/dom/ |
H A D | DOMImplementation.java | 23 * Test if the DOM implementation implements a specific feature and 25 * @param feature The name of the feature to test. 26 * @param version This is the version number of the feature to test. 27 * @return <code>true</code> if the feature is implemented in the 30 public boolean hasFeature(String feature, argument 49 * support the feature "XML" and the language exposed through the 95 * <code>"XML"</code> feature but a non-null namespace URI was 101 * support the feature "XML" and the language exposed through the 112 * specialized APIs of the specified feature an 133 getFeature(String feature, String version) argument [all...] |
H A D | Node.java | 464 * Tests whether the DOM implementation implements a specific feature and 465 * that feature is supported by this node, as specified in . 466 * @param feature The name of the feature to test. 467 * @param version This is the version number of the feature to test. 468 * @return Returns <code>true</code> if the specified feature is 472 public boolean isSupported(String feature, argument 575 * supports the feature "HTML" [<a href='http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109'>DOM Level 2 HTML</a>] 849 * specialized APIs of the specified feature and version, as specified 855 * @param feature Th 869 getFeature(String feature, String version) argument [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | DOMImplementationImpl.java | 52 public boolean hasFeature(String feature, String version) { argument 54 if (feature.startsWith("+")) { 55 feature = feature.substring(1); 62 if (feature.equalsIgnoreCase("Core")) { 64 } else if (feature.equalsIgnoreCase("XML")) { 66 } else if (feature.equalsIgnoreCase("XMLVersion")) { 87 public Object getFeature(String feature, String version) { argument 88 return hasFeature(feature, version) ? this : null;
|
H A D | NodeImpl.java | 148 public boolean isSupported(String feature, String version) { argument 149 return DOMImplementationImpl.getInstance().hasFeature(feature, version); 694 public final Object getFeature(String feature, String version) { argument 695 return isSupported(feature, version) ? this : null;
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
H A D | DOMDocumentBuilderFactory.java | 51 public boolean hasFeature(String feature, String version) { argument 52 return builder.getDOMImplementation().hasFeature(feature, version);
|
/libcore/luni/src/test/java/libcore/xml/ |
H A D | SaxTest.java | 158 * Test that the external-general-entities feature can be disabled. 170 * Test that the external-parameter-entities feature can be disabled. 183 * Disables the named feature and then parses the supplied XML. The content 186 private void testDisableExternalEntities(String feature, String xml) throws Exception { argument 189 reader.setFeature(feature, false); 190 assertFalse(reader.getFeature(feature));
|
H A D | DomTest.java | 563 private void assertFeature(String feature, String version) { argument 565 + feature + " v. " + version + " but does not."; 566 assertTrue(message, domImplementation.hasFeature(feature, version)); 567 assertNotNull(message, domImplementation.getFeature(feature, version)); 570 private void assertNoFeature(String feature, String version) { argument 571 assertFalse(domImplementation.hasFeature(feature, version)); 572 assertNull(domImplementation.getFeature(feature, version));
|
/libcore/xml/src/main/java/org/kxml2/io/ |
H A D | KXmlParser.java | 1761 public boolean getFeature(String feature) { argument 1762 if (XmlPullParser.FEATURE_PROCESS_NAMESPACES.equals(feature)) { 1764 } else if (FEATURE_RELAXED.equals(feature)) { 1766 } else if (FEATURE_PROCESS_DOCDECL.equals(feature)) { 2094 public void setFeature(String feature, boolean value) throws XmlPullParserException { argument 2095 if (XmlPullParser.FEATURE_PROCESS_NAMESPACES.equals(feature)) { 2097 } else if (XmlPullParser.FEATURE_PROCESS_DOCDECL.equals(feature)) { 2099 } else if (FEATURE_RELAXED.equals(feature)) { 2102 throw new XmlPullParserException("unsupported feature: " + feature, thi [all...] |