Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 143 for NewInstance (0.06 sec)

  1. src/main/java/org/codelibs/core/xml/SAXParserFactoryUtil.java

        /**
         * {@link SAXParserFactory}の新しいインスタンスを作成します。
         *
         * @return {@link SAXParserFactory}の新しいインスタンス
         */
        public static SAXParserFactory newInstance() {
            final SAXParserFactory factory = SAXParserFactory.newInstance();
            try {
                factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
                factory.setFeature("http://xml.org/sax/features/external-general-entities", false);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java

            assertThat(ctor.getParameterTypes().length, is(0));
            assertThat(ctor.isPublic(), is(true));
            final MyBean myBean = ctor.newInstance();
            assertThat(myBean, is(notNullValue()));
            assertThat(myBean.s, is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @SuppressWarnings("rawtypes")
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGeneratorFactory.java

        public static final String NAME = "plugins";
    
        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, InstallRequest request) {
            return new PluginsMetadataGenerator(session, request);
        }
    
        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, DeployRequest request) {
            return new PluginsMetadataGenerator(session, request);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/SnapshotMetadataGeneratorFactory.java

        public static final String NAME = "snapshot";
    
        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, InstallRequest request) {
            return new LocalSnapshotMetadataGenerator(session, request);
        }
    
        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, DeployRequest request) {
            return new RemoteSnapshotMetadataGenerator(session, request);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGeneratorFactory.java

        public static final String NAME = "versions";
    
        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, InstallRequest request) {
            return new VersionsMetadataGenerator(session, request);
        }
    
        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, DeployRequest request) {
            return new VersionsMetadataGenerator(session, request);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

            return new File(Paths.get(BASE_DIR, name + ".xml").toString()).getAbsoluteFile();
        }
    
        @Test
        void testCompleteWiring() throws Exception {
            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setProcessPlugins(true);
            request.setPomFile(getPom("simple"));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

    abstract class XmlSpecification extends Specification {
        final Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument()
    
        def parse(String str, Document document = null) {
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance()
            factory.setNamespaceAware(true)
            DocumentBuilder builder = factory.newDocumentBuilder()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

        val callbackHandler = ConsoleCallbackHandler
    
        val builderList: List<KeyStore.Builder> =
          listOf(
            KeyStore.Builder.newInstance("PKCS11", null, KeyStore.CallbackHandlerProtection(callbackHandler)),
            // Example if you want to combine multiple keystore types
            // KeyStore.Builder.newInstance("PKCS12", null, File("keystore.p12"), PasswordProtection("rosebud".toCharArray()))
          )
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      private ReentrantLock lock02;
      private ReentrantLock lock03;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        CycleDetectingLockFactory factory = CycleDetectingLockFactory.newInstance(Policies.THROW);
        lockA = factory.newReentrantLock("LockA");
        lockB = factory.newReentrantLock("LockB");
        lockC = factory.newReentrantLock("LockC");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      private ReentrantLock lock02;
      private ReentrantLock lock03;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        CycleDetectingLockFactory factory = CycleDetectingLockFactory.newInstance(Policies.THROW);
        lockA = factory.newReentrantLock("LockA");
        lockB = factory.newReentrantLock("LockB");
        lockC = factory.newReentrantLock("LockC");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top