@sitevision/api 2023.2.2-beta.1 → 2023.2.2-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/package.json +1 -1
  2. package/server/ArraysInstance/index.d.ts +1 -1
  3. package/server/CollectionsInstance/index.d.ts +1 -1
  4. package/server/NodeTypeUtil/index.d.ts +1 -1
  5. package/server/PermissionUtil/index.d.ts +3 -3
  6. package/server/Properties/index.d.ts +7 -4
  7. package/server/TagUtil/index.d.ts +1 -1
  8. package/types/java/io/File/index.d.ts +0 -120
  9. package/types/java/io/File/index.js +0 -2
  10. package/types/java/io/PrintStream/index.d.ts +4 -4
  11. package/types/java/io/PrintWriter/index.d.ts +4 -4
  12. package/types/java/lang/Boolean/index.d.ts +0 -123
  13. package/types/java/lang/Boolean/index.js +1 -8
  14. package/types/java/lang/Class/index.d.ts +9 -97
  15. package/types/java/lang/Class/index.js +0 -1
  16. package/types/java/lang/ClassLoader/index.d.ts +0 -91
  17. package/types/java/lang/ClassLoader/index.js +0 -5
  18. package/types/java/lang/Double/index.d.ts +0 -541
  19. package/types/java/lang/Double/index.js +2 -13
  20. package/types/java/lang/Enum/index.d.ts +0 -23
  21. package/types/java/lang/Enum/index.js +0 -1
  22. package/types/java/lang/Float/index.d.ts +0 -494
  23. package/types/java/lang/Float/index.js +2 -13
  24. package/types/java/lang/Integer/index.d.ts +0 -780
  25. package/types/java/lang/Integer/index.js +2 -29
  26. package/types/java/lang/Long/index.d.ts +0 -788
  27. package/types/java/lang/Long/index.js +2 -28
  28. package/types/java/lang/Package/index.d.ts +0 -28
  29. package/types/java/lang/Package/index.js +0 -2
  30. package/types/java/lang/String/index.d.ts +0 -193
  31. package/types/java/lang/String/index.js +0 -4
  32. package/types/java/lang/reflect/AccessibleObject/index.d.ts +0 -25
  33. package/types/java/lang/reflect/Constructor/index.d.ts +1 -1
  34. package/types/java/lang/reflect/Method/index.d.ts +1 -1
  35. package/types/java/math/BigDecimal/index.d.ts +1 -40
  36. package/types/java/math/BigDecimal/index.js +0 -1
  37. package/types/java/math/BigInteger/index.d.ts +0 -25
  38. package/types/java/math/BigInteger/index.js +0 -2
  39. package/types/java/net/InetAddress/index.d.ts +0 -134
  40. package/types/java/net/InetAddress/index.js +1 -6
  41. package/types/java/net/NetworkInterface/index.d.ts +0 -50
  42. package/types/java/net/NetworkInterface/index.js +0 -4
  43. package/types/java/net/URI/index.d.ts +0 -22
  44. package/types/java/net/URI/index.js +0 -1
  45. package/types/java/net/URL/index.d.ts +0 -23
  46. package/types/java/net/URL/index.js +1 -2
  47. package/types/java/net/URLConnection/index.d.ts +0 -125
  48. package/types/java/net/URLConnection/index.js +1 -10
  49. package/types/java/nio/channels/AsynchronousFileChannel/index.d.ts +0 -136
  50. package/types/java/nio/channels/AsynchronousFileChannel/index.js +0 -1
  51. package/types/java/nio/channels/FileChannel/index.d.ts +0 -128
  52. package/types/java/nio/channels/FileChannel/index.js +0 -1
  53. package/types/java/nio/charset/Charset/index.d.ts +1 -58
  54. package/types/java/nio/charset/Charset/index.js +0 -4
  55. package/types/java/nio/file/FileSystem/index.d.ts +1 -1
  56. package/types/java/nio/file/Path/index.d.ts +3 -3
  57. package/types/java/nio/file/Watchable/index.d.ts +2 -2
  58. package/types/java/nio/file/spi/FileSystemProvider/index.d.ts +18 -26
  59. package/types/java/nio/file/spi/FileSystemProvider/index.js +0 -1
  60. package/types/java/text/DateFormat/index.d.ts +0 -130
  61. package/types/java/text/DateFormat/index.js +0 -5
  62. package/types/java/text/DateFormatSymbols/index.d.ts +7 -52
  63. package/types/java/text/DateFormatSymbols/index.js +0 -2
  64. package/types/java/text/NumberFormat/index.d.ts +0 -123
  65. package/types/java/text/NumberFormat/index.js +0 -6
  66. package/types/java/time/Clock/index.d.ts +1 -162
  67. package/types/java/time/Clock/index.js +0 -8
  68. package/types/java/time/Duration/index.d.ts +3 -193
  69. package/types/java/time/Duration/index.js +0 -10
  70. package/types/java/time/Instant/index.d.ts +0 -101
  71. package/types/java/time/Instant/index.js +0 -5
  72. package/types/java/time/LocalDate/index.d.ts +4 -134
  73. package/types/java/time/LocalDate/index.js +0 -6
  74. package/types/java/time/LocalDateTime/index.d.ts +7 -285
  75. package/types/java/time/LocalDateTime/index.js +0 -6
  76. package/types/java/time/LocalTime/index.d.ts +2 -146
  77. package/types/java/time/LocalTime/index.js +0 -6
  78. package/types/java/time/OffsetDateTime/index.d.ts +7 -177
  79. package/types/java/time/OffsetDateTime/index.js +0 -6
  80. package/types/java/time/OffsetTime/index.d.ts +3 -141
  81. package/types/java/time/OffsetTime/index.js +0 -5
  82. package/types/java/time/Period/index.d.ts +1 -135
  83. package/types/java/time/Period/index.js +0 -8
  84. package/types/java/time/ZoneId/index.d.ts +1 -121
  85. package/types/java/time/ZoneId/index.js +0 -5
  86. package/types/java/time/ZoneOffset/index.d.ts +1 -104
  87. package/types/java/time/ZoneOffset/index.js +0 -6
  88. package/types/java/time/ZonedDateTime/index.d.ts +6 -284
  89. package/types/java/time/ZonedDateTime/index.js +0 -7
  90. package/types/java/time/format/DateTimeFormatter/index.d.ts +4 -217
  91. package/types/java/time/format/DateTimeFormatter/index.js +0 -6
  92. package/types/java/time/format/DecimalStyle/index.d.ts +0 -34
  93. package/types/java/time/format/DecimalStyle/index.js +0 -3
  94. package/types/java/time/temporal/ValueRange/index.d.ts +0 -43
  95. package/types/java/time/temporal/ValueRange/index.js +0 -1
  96. package/types/java/time/zone/ZoneOffsetTransition/index.d.ts +2 -19
  97. package/types/java/time/zone/ZoneOffsetTransition/index.js +0 -1
  98. package/types/java/time/zone/ZoneRules/index.d.ts +2 -28
  99. package/types/java/time/zone/ZoneRules/index.js +0 -1
  100. package/types/java/util/Calendar/index.d.ts +2 -67
  101. package/types/java/util/Calendar/index.js +0 -3
  102. package/types/java/util/Comparator/index.d.ts +16 -16
  103. package/types/java/util/Currency/index.d.ts +0 -38
  104. package/types/java/util/Currency/index.js +0 -2
  105. package/types/java/util/Date/index.d.ts +0 -160
  106. package/types/java/util/Date/index.js +0 -3
  107. package/types/java/util/Locale/index.d.ts +0 -344
  108. package/types/java/util/Locale/index.js +1 -11
  109. package/types/java/util/Optional/index.d.ts +0 -27
  110. package/types/java/util/Optional/index.js +0 -3
  111. package/types/java/util/OptionalDouble/index.d.ts +0 -15
  112. package/types/java/util/OptionalDouble/index.js +0 -2
  113. package/types/java/util/OptionalInt/index.d.ts +0 -15
  114. package/types/java/util/OptionalInt/index.js +0 -2
  115. package/types/java/util/OptionalLong/index.d.ts +0 -15
  116. package/types/java/util/OptionalLong/index.js +0 -2
  117. package/types/java/util/TimeZone/index.d.ts +0 -65
  118. package/types/java/util/TimeZone/index.js +0 -4
  119. package/types/java/util/stream/Collector/index.d.ts +2 -2
  120. package/types/java/util/stream/DoubleStream/index.d.ts +1 -1
  121. package/types/java/util/stream/IntStream/index.d.ts +1 -1
  122. package/types/java/util/stream/LongStream/index.d.ts +1 -1
  123. package/types/java/util/stream/Stream/index.d.ts +1 -1
  124. package/types/javax/jcr/PropertyType/index.d.ts +2 -18
  125. package/types/javax/jcr/PropertyType/index.js +1 -4
  126. package/types/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +1 -1
  127. package/types/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +1 -1
  128. package/types/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +2 -2
  129. package/types/javax/jcr/observation/ObservationManager/index.d.ts +4 -4
  130. package/types/javax/jcr/version/OnParentVersionAction/index.d.ts +2 -19
  131. package/types/javax/jcr/version/OnParentVersionAction/index.js +1 -4
  132. package/types/java/net/ContentHandler/index.d.ts +0 -70
  133. package/types/java/net/ContentHandler/index.js +0 -10
  134. package/types/java/net/ContentHandlerFactory/index.d.ts +0 -26
  135. package/types/java/net/ContentHandlerFactory/index.js +0 -10
  136. package/types/java/net/FileNameMap/index.d.ts +0 -16
  137. package/types/java/net/FileNameMap/index.js +0 -10
  138. package/types/java/net/URLStreamHandler/index.d.ts +0 -199
  139. package/types/java/net/URLStreamHandler/index.js +0 -19
  140. package/types/java/net/URLStreamHandlerFactory/index.d.ts +0 -24
  141. package/types/java/net/URLStreamHandlerFactory/index.js +0 -10
  142. package/types/java/time/format/FormatStyle/index.d.ts +0 -14
  143. package/types/java/time/format/FormatStyle/index.js +0 -13
  144. package/types/java/util/Locale.Category/index.d.ts +0 -12
  145. package/types/java/util/Locale.Category/index.js +0 -11
  146. package/types/java/util/Locale.FilteringMode/index.d.ts +0 -97
  147. package/types/java/util/Locale.FilteringMode/index.js +0 -14
@@ -457,47 +457,6 @@ export type ClassLoader = Object & {
457
457
  */
458
458
  findResources(name: String | string): Enumeration;
459
459
 
460
- /**
461
- * Registers the caller as parallel capable.
462
- * The registration succeeds if and only if all of the following
463
- * conditions are met:
464
- * <ol>
465
- * <li> no instance of the caller has been created</li>
466
- * <li> all of the super classes (except class Object) of the caller are
467
- * registered as parallel capable</li>
468
- * </ol>
469
- * <p>Note that once a class loader is registered as parallel capable, there
470
- * is no way to change it back.</p>
471
- * @return true if the caller is successfully registered as&#xA; parallel capable and false if otherwise.
472
- * @since 1.7
473
- */
474
- registerAsParallelCapable(): boolean;
475
-
476
- /**
477
- * Find a resource of the specified name from the search path used to load
478
- * classes. This method locates the resource through the system class
479
- * loader (see {@link #getSystemClassLoader()}).
480
- * @param name&#xA; The resource name
481
- * @return A {@link java.net.URL <tt>URL</tt>} object for reading the&#xA; resource, or <tt>null</tt> if the resource could not be found
482
- * @since 1.1
483
- */
484
- getSystemResource(name: String | string): URL;
485
-
486
- /**
487
- * Finds all resources of the specified name from the search path used to
488
- * load classes. The resources thus found are returned as an
489
- * {@link java.util.Enumeration <tt>Enumeration</tt>} of {@link
490
- * java.net.URL <tt>URL</tt>} objects.
491
- *
492
- * <p> The search order is described in the documentation for {@link
493
- * #getSystemResource(String)}. </p>
494
- * @param name&#xA; The resource name
495
- * @return An enumeration of resource {@link java.net.URL <tt>URL</tt>}&#xA; objects
496
- * @throws IOException&#xA; If I/O errors occur
497
- * @since 1.2
498
- */
499
- getSystemResources(name: String | string): Enumeration;
500
-
501
460
  /**
502
461
  * Returns an input stream for reading the specified resource.
503
462
  *
@@ -509,16 +468,6 @@ export type ClassLoader = Object & {
509
468
  */
510
469
  getResourceAsStream(name: String | string): InputStream;
511
470
 
512
- /**
513
- * Open for reading, a resource of the specified name from the search path
514
- * used to load classes. This method locates the resource through the
515
- * system class loader (see {@link #getSystemClassLoader()}).
516
- * @param name&#xA; The resource name
517
- * @return An input stream for reading the resource, or <tt>null</tt>&#xA; if the resource could not be found
518
- * @since 1.1
519
- */
520
- getSystemResourceAsStream(name: String | string): InputStream;
521
-
522
471
  /**
523
472
  * Returns the parent class loader for delegation. Some implementations may
524
473
  * use <tt>null</tt> to represent the bootstrap class loader. This method
@@ -540,46 +489,6 @@ export type ClassLoader = Object & {
540
489
  */
541
490
  getParent(): ClassLoader;
542
491
 
543
- /**
544
- * Returns the system class loader for delegation. This is the default
545
- * delegation parent for new <tt>ClassLoader</tt> instances, and is
546
- * typically the class loader used to start the application.
547
- *
548
- * <p> This method is first invoked early in the runtime's startup
549
- * sequence, at which point it creates the system class loader and sets it
550
- * as the context class loader of the invoking <tt>Thread</tt>.
551
- *
552
- * <p> The default system class loader is an implementation-dependent
553
- * instance of this class.
554
- *
555
- * <p> If the system property "<tt>java.system.class.loader</tt>" is defined
556
- * when this method is first invoked then the value of that property is
557
- * taken to be the name of a class that will be returned as the system
558
- * class loader. The class is loaded using the default system class loader
559
- * and must define a public constructor that takes a single parameter of
560
- * type <tt>ClassLoader</tt> which is used as the delegation parent. An
561
- * instance is then created using this constructor with the default system
562
- * class loader as the parameter. The resulting class loader is defined
563
- * to be the system class loader.
564
- *
565
- * <p> If a security manager is present, and the invoker's class loader is
566
- * not <tt>null</tt> and the invoker's class loader is not the same as or
567
- * an ancestor of the system class loader, then this method invokes the
568
- * security manager's {@link
569
- * SecurityManager#checkPermission(java.security.Permission)
570
- * <tt>checkPermission</tt>} method with a {@link
571
- * RuntimePermission#RuntimePermission(String)
572
- * <tt>RuntimePermission("getClassLoader")</tt>} permission to verify
573
- * access to the system class loader. If not, a
574
- * <tt>SecurityException</tt> will be thrown. </p>
575
- * @return The system <tt>ClassLoader</tt> for delegation, or&#xA; <tt>null</tt> if none
576
- * @throws SecurityException&#xA; If a security manager exists and its <tt>checkPermission</tt>&#xA; method doesn't allow access to the system class loader.
577
- * @throws IllegalStateException&#xA; If invoked recursively during the construction of the class&#xA; loader specified by the "<tt>java.system.class.loader</tt>"&#xA; property.
578
- * @throws Error&#xA; If the system property "<tt>java.system.class.loader</tt>"&#xA; is defined but the named class could not be loaded, the&#xA; provider class does not define the required constructor, or an&#xA; exception is thrown by that constructor when it is invoked. The&#xA; underlying cause of the error can be retrieved via the&#xA; {@link Throwable#getCause()} method.
579
- * @revised 1.4
580
- */
581
- getSystemClassLoader(): ClassLoader;
582
-
583
492
  /**
584
493
  * Defines a package by name in this <tt>ClassLoader</tt>. This allows
585
494
  * class loaders to define the packages for their classes. Packages must
@@ -17,13 +17,8 @@ var _default = {
17
17
  getResources: function getResources() {},
18
18
  findResource: function findResource() {},
19
19
  findResources: function findResources() {},
20
- registerAsParallelCapable: function registerAsParallelCapable() {},
21
- getSystemResource: function getSystemResource() {},
22
- getSystemResources: function getSystemResources() {},
23
20
  getResourceAsStream: function getResourceAsStream() {},
24
- getSystemResourceAsStream: function getSystemResourceAsStream() {},
25
21
  getParent: function getParent() {},
26
- getSystemClassLoader: function getSystemClassLoader() {},
27
22
  definePackage: function definePackage() {},
28
23
  getPackage: function getPackage() {},
29
24
  getPackages: function getPackages() {},