Searched refs:feature (Results 1 - 22 of 22) sorted by path

/libcore/dom/src/test/java/org/w3c/domts/
H A DBatikTestDocumentBuilderFactory.java172 * 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 DDOM4JTestDocumentBuilderFactory.java130 public boolean hasFeature(String feature, String version) { argument
131 return domImpl.hasFeature(feature, version);
H A DDOMTest.java63 public boolean hasFeature(String feature, String version) { argument
64 return factory.hasFeature(feature, version);
H A DDOMTestDocumentBuilderFactory.java62 public abstract boolean hasFeature(String feature, String version); argument
H A DDOMTestFramework.java29 String feature,
27 hasFeature( DocumentBuilder docBuilder, String feature, String version) argument
H A DDOMTestIncompatibleException.java50 public static DOMTestIncompatibleException incompatibleFeature(String feature, argument
53 "Implementation does not support feature \"");
54 buf.append(feature);
H A DJAXPDOMTestDocumentBuilderFactory.java143 public boolean hasFeature(String feature, String version) { argument
144 return builder.getDOMImplementation().hasFeature(feature, version);
H A DJTidyDOMImplementation.java29 * 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 DJTidyDocumentBuilderFactory.java108 public boolean hasFeature(String feature, String version) { argument
109 return domImpl.hasFeature(feature, version);
H A DJUnitTestCaseAdapter.java172 String feature,
174 return docBuilder.getDOMImplementation().hasFeature(feature,version);
171 hasFeature(DocumentBuilder docBuilder, String feature, String version) argument
H A DLSDocumentBuilderFactory.java353 * 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 DXercesHTML2DocumentBuilderFactory.java218 public boolean hasFeature(String feature, String version) { argument
219 return domImpl.hasFeature(feature, version);
H A DXercesHTMLDocumentBuilderFactory.java218 public boolean hasFeature(String feature, String version) { argument
219 return domImpl.hasFeature(feature, version);
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DDOMImplementationImpl.java52 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 DNodeImpl.java148 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/main/java/org/w3c/dom/
H A DDOMImplementation.java23 * 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 DNode.java464 * 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/test/java/libcore/xml/
H A DDomTest.java563 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));
H A DSaxTest.java158 * 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));
/libcore/luni/src/test/java/tests/org/w3c/dom/
H A DDOMDocumentBuilderFactory.java51 public boolean hasFeature(String feature, String version) { argument
52 return builder.getDOMImplementation().hasFeature(feature, version);
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DUnixFileStore.java218 * Returns status to indicate if file system supports a given feature
220 FeatureStatus checkIfFeaturePresent(String feature) { argument
239 if (s.equals(feature)) {
244 if (s.equals(feature)) {
/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlParser.java1761 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...]

Completed in 245 milliseconds