- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for newInstance (0.3 sec)
-
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java
* * <p>Example usage:</p> * <pre> * XmlNode node = XmlNode.newBuilder() * .name("configuration") * .attribute("version", "1.0") * .child(XmlNode.newInstance("property", "value")) * .build(); * </pre> * * @since 4.0.0 */ @Experimental @ThreadSafe @Immutable public interface XmlNode { /** * @deprecated since 4.0.0.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Dec 17 15:20:44 UTC 2025 - 18.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
* * @param type the component type * @param length the length of the new array */ @GwtIncompatible // Array.newInstance(Class, int) @SuppressWarnings("unchecked") public static <T extends @Nullable Object> T[] newArray(Class<@NonNull T> type, int length) { return (T[]) Array.newInstance(type, length); } /** * Returns a new array of the given length with the same type as a reference array. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:48:28 UTC 2025 - 8.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ObjectArrays.java
* * @param type the component type * @param length the length of the new array */ @GwtIncompatible // Array.newInstance(Class, int) @SuppressWarnings("unchecked") public static <T extends @Nullable Object> T[] newArray(Class<@NonNull T> type, int length) { return (T[]) Array.newInstance(type, length); } /** * Returns a new array of the given length with the same type as a reference array. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:48:28 UTC 2025 - 8.9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/BinaryCompatibilityHelper.groovy
def projectRootDirPath = projectRootDir.asFile.path richReport = project.provider { RichReport richReport = project.objects.newInstance(RichReport.class, new Object[0]); richReport.getDestinationDir().convention(project.layout.buildDirectory.dir("reports")); configureReport.execute(richReport) richReport.tap {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 30 10:14:25 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/AbstractDataStore.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 7.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
LocalRepository localRepo = new LocalRepository(request.getLocalRepository().getBasedir()); session.setLocalRepositoryManager(new SimpleLocalRepositoryManagerFactory().newInstance(session, localRepo)); LegacySupport legacySupport = container.lookup(LegacySupport.class); DefaultMavenExecutionRequest mavenExecutionRequest = new DefaultMavenExecutionRequest();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
} continue; } try (InputStream is = Files.newInputStream(xmlPath)) { final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setFeature(org.codelibs.fess.crawler.Constants.FEATURE_SECURE_PROCESSING, true); factory.setFeature(org.codelibs.fess.crawler.Constants.FEATURE_EXTERNAL_GENERAL_ENTITIES, false);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
} // create handler final DocHandler handler = new DocHandler(); // 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);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 9.5K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 11.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java
*/ protected SitemapSet parseXmlSitemaps(final InputStream in) { final XmlSitemapsHandler handler = new XmlSitemapsHandler(); try { final SAXParserFactory spfactory = SAXParserFactory.newInstance(); spfactory.setNamespaceAware(true); // Enable namespace awareness spfactory.setFeature(Constants.FEATURE_SECURE_PROCESSING, true);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 13:19:40 UTC 2025 - 34.9K bytes - Viewed (0)