Home
last modified time | relevance | path

Searched refs:feature (Results 1 – 23 of 23) sorted by relevance

/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DDOMImplementationImpl.java52 public boolean hasFeature(String feature, String version) { in hasFeature() argument
54 if (feature.startsWith("+")) { in hasFeature()
55 feature = feature.substring(1); in hasFeature()
62 if (feature.equalsIgnoreCase("Core")) { in hasFeature()
64 } else if (feature.equalsIgnoreCase("XML")) { in hasFeature()
66 } else if (feature.equalsIgnoreCase("XMLVersion")) { in hasFeature()
87 public Object getFeature(String feature, String version) { in getFeature() argument
88 return hasFeature(feature, version) ? this : null; in getFeature()
DNodeImpl.java148 public boolean isSupported(String feature, String version) { in isSupported() argument
149 return DOMImplementationImpl.getInstance().hasFeature(feature, version); in isSupported()
694 public final Object getFeature(String feature, String version) { in getFeature() argument
695 return isSupported(feature, version) ? this : null; in getFeature()
/libcore/dom/src/test/java/org/w3c/domts/
DJTidyDOMImplementation.java43 public boolean hasFeature(String feature, in hasFeature() argument
45 if (feature.equals("Core")) { in hasFeature()
123 public DOMImplementation getInterface(String feature) { in getInterface() argument
127 public Object getFeature(String feature, String version) { in getFeature() argument
DDOMTestIncompatibleException.java50 public static DOMTestIncompatibleException incompatibleFeature(String feature, in incompatibleFeature() argument
54 buf.append(feature); in incompatibleFeature()
DJTidyDocumentBuilderFactory.java108 public boolean hasFeature(String feature, String version) { in hasFeature() argument
109 return domImpl.hasFeature(feature, version); in hasFeature()
DDOM4JTestDocumentBuilderFactory.java130 public boolean hasFeature(String feature, String version) { in hasFeature() argument
131 return domImpl.hasFeature(feature, version); in hasFeature()
DBatikTestDocumentBuilderFactory.java177 public boolean hasFeature(String feature, String version) { in hasFeature() argument
178 return getDOMImplementation().hasFeature(feature, version); in hasFeature()
DJAXPDOMTestDocumentBuilderFactory.java143 public boolean hasFeature(String feature, String version) { in hasFeature() argument
144 return builder.getDOMImplementation().hasFeature(feature, version); in hasFeature()
DDOMTest.java63 public boolean hasFeature(String feature, String version) { in hasFeature() argument
64 return factory.hasFeature(feature, version); in hasFeature()
DXercesHTML2DocumentBuilderFactory.java218 public boolean hasFeature(String feature, String version) { in hasFeature() argument
219 return domImpl.hasFeature(feature, version); in hasFeature()
DXercesHTMLDocumentBuilderFactory.java218 public boolean hasFeature(String feature, String version) { in hasFeature() argument
219 return domImpl.hasFeature(feature, version); in hasFeature()
DLSDocumentBuilderFactory.java358 public boolean hasFeature(String feature, String version) { in hasFeature() argument
359 return getDOMImplementation().hasFeature(feature, version); in hasFeature()
DDOMTestDocumentBuilderFactory.java62 public abstract boolean hasFeature(String feature, String version); in hasFeature() argument
DDOMTestFramework.java29 String feature, in hasFeature() argument
DJUnitTestCaseAdapter.java172 String feature, in hasFeature() argument
174 return docBuilder.getDOMImplementation().hasFeature(feature,version); in hasFeature()
/libcore/luni/src/main/java/org/w3c/dom/
DDOMImplementation.java30 public boolean hasFeature(String feature, in hasFeature() argument
133 public Object getFeature(String feature, in getFeature() argument
DNode.java472 public boolean isSupported(String feature, in isSupported() argument
869 public Object getFeature(String feature, in getFeature() argument
/libcore/luni/src/test/java/tests/org/w3c/dom/
DDOMDocumentBuilderFactory.java51 public boolean hasFeature(String feature, String version) { in hasFeature() argument
52 return builder.getDOMImplementation().hasFeature(feature, version); in hasFeature()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixFileStore.java221 FeatureStatus checkIfFeaturePresent(String feature) { in checkIfFeaturePresent() argument
240 if (s.equals(feature)) { in checkIfFeaturePresent()
245 if (s.equals(feature)) { in checkIfFeaturePresent()
/libcore/luni/src/test/java/libcore/xml/
DSaxTest.java186 private void testDisableExternalEntities(String feature, String xml) throws Exception { in testDisableExternalEntities() argument
189 reader.setFeature(feature, false); in testDisableExternalEntities()
190 assertFalse(reader.getFeature(feature)); in testDisableExternalEntities()
DDomTest.java563 private void assertFeature(String feature, String version) { in assertFeature() argument
565 + feature + " v. " + version + " but does not."; in assertFeature()
566 assertTrue(message, domImplementation.hasFeature(feature, version)); in assertFeature()
567 assertNotNull(message, domImplementation.getFeature(feature, version)); in assertFeature()
570 private void assertNoFeature(String feature, String version) { in assertNoFeature() argument
571 assertFalse(domImplementation.hasFeature(feature, version)); in assertNoFeature()
572 assertNull(domImplementation.getFeature(feature, version)); in assertNoFeature()
/libcore/xml/src/main/java/com/android/org/kxml2/io/
DKXmlParser.java1761 public boolean getFeature(String feature) { in getFeature() argument
1762 if (XmlPullParser.FEATURE_PROCESS_NAMESPACES.equals(feature)) { in getFeature()
1764 } else if (FEATURE_RELAXED.equals(feature)) { in getFeature()
1766 } else if (FEATURE_PROCESS_DOCDECL.equals(feature)) { in getFeature()
2094 public void setFeature(String feature, boolean value) throws XmlPullParserException { in setFeature() argument
2095 if (XmlPullParser.FEATURE_PROCESS_NAMESPACES.equals(feature)) { in setFeature()
2097 } else if (XmlPullParser.FEATURE_PROCESS_DOCDECL.equals(feature)) { in setFeature()
2099 } else if (FEATURE_RELAXED.equals(feature)) { in setFeature()
2102 throw new XmlPullParserException("unsupported feature: " + feature, this, null); in setFeature()
/libcore/expectations/
Dknownfailures.txt166 …description: "Not supported feature, Ticket 98. Broken because NUMERIC_FUNCTIONS not complete. Whe…
1629 …substring: "The 'namespace-prefix' feature is not supported while the 'namespaces' feature is enab…