Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for setFeature (0.19 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/features/SetFeature.java

     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum SetFeature implements Feature<Set> {
      GENERAL_PURPOSE(CollectionFeature.GENERAL_PURPOSE);
    
      private final Set<Feature<? super Set>> implied;
    
      SetFeature(Feature<? super Set>... implied) {
        this.implied = Helpers.copyToSet(implied);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/features/SetFeature.java

     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum SetFeature implements Feature<Set> {
      GENERAL_PURPOSE(CollectionFeature.GENERAL_PURPOSE);
    
      private final Set<Feature<? super Set>> implied;
    
      SetFeature(Feature<? super Set>... implied) {
        this.implied = Helpers.copyToSet(implied);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/xml/XmlFactories.java

    @NonNullApi
    public final class XmlFactories {
    
        public static DocumentBuilderFactory newDocumentBuilderFactory() {
            try {
                DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
                dbf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
                return dbf;
            } catch (ParserConfigurationException e) {
                throw new RuntimeException(errorMessageFor("DocumentBuilderFactory"), e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 25 23:24:49 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/googletest/GoogleTestTestResults.groovy

            this.testResultsFile = testResultsFile
            final XmlParser parser = new XmlParser(false, false)
            parser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
            parser.setFeature("http://xml.org/sax/features/namespaces", false)
            parser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false)
            this.resultsNode = parser.parse(testResultsFile)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

                        factory.setFeature(org.codelibs.fess.crawler.Constants.FEATURE_SECURE_PROCESSING, true);
                        factory.setFeature(org.codelibs.fess.crawler.Constants.FEATURE_EXTERNAL_GENERAL_ENTITIES, false);
                        factory.setFeature(org.codelibs.fess.crawler.Constants.FEATURE_EXTERNAL_PARAMETER_ENTITIES, false);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitTestResults.groovy

            this.testResultsFile = testResultsFile
            final XmlParser parser = new XmlParser(false, false)
            parser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
            parser.setFeature("http://xml.org/sax/features/namespaces", false)
            parser.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false)
            this.resultsNode = parser.parse(testResultsFile)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

            // create a sax instance
            final SAXParserFactory spfactory = SAXParserFactory.newInstance();
            try {
                spfactory.setFeature(Constants.FEATURE_SECURE_PROCESSING, true);
                spfactory.setFeature(Constants.FEATURE_EXTERNAL_GENERAL_ENTITIES, false);
                spfactory.setFeature(Constants.FEATURE_EXTERNAL_PARAMETER_ENTITIES, false);
                // create a sax parser
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/xml/SAXParserFactoryUtil.java

            final SAXParserFactory factory = SAXParserFactory.newInstance();
            try {
                factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
                factory.setFeature("http://xml.org/sax/features/external-general-entities", false);
                factory.setFeature("http://xml.org/sax/features/external-parameter-entities", false);
            } catch (SAXNotRecognizedException | SAXNotSupportedException e) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/xml/DocumentBuilderFactoryUtil.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to set a property.", e);
                    }
                }
            }
            try {
                factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
            } catch (final ParserConfigurationException e) {
                throw new ParserConfigurationRuntimeException(e);
            }
            return factory;
        }
    
        /**
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. platforms/jvm/jacoco/src/testFixtures/groovy/org/gradle/testing/jacoco/plugins/fixtures/JacocoReportXmlFixture.groovy

        private final List<Coverage> classes
    
        JacocoReportXmlFixture(TestFile reportXmlFile) {
            reportXmlFile.assertIsFile()
            def slurper = new XmlSlurper(false, false, true)
            slurper.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false)
            this.xml = slurper.parse(reportXmlFile)
            this.classes = []
            xml*.'package'.each { pkg ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top