@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.
- package/package.json +1 -1
- package/server/ArraysInstance/index.d.ts +1 -1
- package/server/CollectionsInstance/index.d.ts +1 -1
- package/server/NodeTypeUtil/index.d.ts +1 -1
- package/server/PermissionUtil/index.d.ts +3 -3
- package/server/Properties/index.d.ts +7 -4
- package/server/TagUtil/index.d.ts +1 -1
- package/types/java/io/File/index.d.ts +0 -120
- package/types/java/io/File/index.js +0 -2
- package/types/java/io/PrintStream/index.d.ts +4 -4
- package/types/java/io/PrintWriter/index.d.ts +4 -4
- package/types/java/lang/Boolean/index.d.ts +0 -123
- package/types/java/lang/Boolean/index.js +1 -8
- package/types/java/lang/Class/index.d.ts +9 -97
- package/types/java/lang/Class/index.js +0 -1
- package/types/java/lang/ClassLoader/index.d.ts +0 -91
- package/types/java/lang/ClassLoader/index.js +0 -5
- package/types/java/lang/Double/index.d.ts +0 -541
- package/types/java/lang/Double/index.js +2 -13
- package/types/java/lang/Enum/index.d.ts +0 -23
- package/types/java/lang/Enum/index.js +0 -1
- package/types/java/lang/Float/index.d.ts +0 -494
- package/types/java/lang/Float/index.js +2 -13
- package/types/java/lang/Integer/index.d.ts +0 -780
- package/types/java/lang/Integer/index.js +2 -29
- package/types/java/lang/Long/index.d.ts +0 -788
- package/types/java/lang/Long/index.js +2 -28
- package/types/java/lang/Package/index.d.ts +0 -28
- package/types/java/lang/Package/index.js +0 -2
- package/types/java/lang/String/index.d.ts +0 -193
- package/types/java/lang/String/index.js +0 -4
- package/types/java/lang/reflect/AccessibleObject/index.d.ts +0 -25
- package/types/java/lang/reflect/Constructor/index.d.ts +1 -1
- package/types/java/lang/reflect/Method/index.d.ts +1 -1
- package/types/java/math/BigDecimal/index.d.ts +1 -40
- package/types/java/math/BigDecimal/index.js +0 -1
- package/types/java/math/BigInteger/index.d.ts +0 -25
- package/types/java/math/BigInteger/index.js +0 -2
- package/types/java/net/InetAddress/index.d.ts +0 -134
- package/types/java/net/InetAddress/index.js +1 -6
- package/types/java/net/NetworkInterface/index.d.ts +0 -50
- package/types/java/net/NetworkInterface/index.js +0 -4
- package/types/java/net/URI/index.d.ts +0 -22
- package/types/java/net/URI/index.js +0 -1
- package/types/java/net/URL/index.d.ts +0 -23
- package/types/java/net/URL/index.js +1 -2
- package/types/java/net/URLConnection/index.d.ts +0 -125
- package/types/java/net/URLConnection/index.js +1 -10
- package/types/java/nio/channels/AsynchronousFileChannel/index.d.ts +0 -136
- package/types/java/nio/channels/AsynchronousFileChannel/index.js +0 -1
- package/types/java/nio/channels/FileChannel/index.d.ts +0 -128
- package/types/java/nio/channels/FileChannel/index.js +0 -1
- package/types/java/nio/charset/Charset/index.d.ts +1 -58
- package/types/java/nio/charset/Charset/index.js +0 -4
- package/types/java/nio/file/FileSystem/index.d.ts +1 -1
- package/types/java/nio/file/Path/index.d.ts +3 -3
- package/types/java/nio/file/Watchable/index.d.ts +2 -2
- package/types/java/nio/file/spi/FileSystemProvider/index.d.ts +18 -26
- package/types/java/nio/file/spi/FileSystemProvider/index.js +0 -1
- package/types/java/text/DateFormat/index.d.ts +0 -130
- package/types/java/text/DateFormat/index.js +0 -5
- package/types/java/text/DateFormatSymbols/index.d.ts +7 -52
- package/types/java/text/DateFormatSymbols/index.js +0 -2
- package/types/java/text/NumberFormat/index.d.ts +0 -123
- package/types/java/text/NumberFormat/index.js +0 -6
- package/types/java/time/Clock/index.d.ts +1 -162
- package/types/java/time/Clock/index.js +0 -8
- package/types/java/time/Duration/index.d.ts +3 -193
- package/types/java/time/Duration/index.js +0 -10
- package/types/java/time/Instant/index.d.ts +0 -101
- package/types/java/time/Instant/index.js +0 -5
- package/types/java/time/LocalDate/index.d.ts +4 -134
- package/types/java/time/LocalDate/index.js +0 -6
- package/types/java/time/LocalDateTime/index.d.ts +7 -285
- package/types/java/time/LocalDateTime/index.js +0 -6
- package/types/java/time/LocalTime/index.d.ts +2 -146
- package/types/java/time/LocalTime/index.js +0 -6
- package/types/java/time/OffsetDateTime/index.d.ts +7 -177
- package/types/java/time/OffsetDateTime/index.js +0 -6
- package/types/java/time/OffsetTime/index.d.ts +3 -141
- package/types/java/time/OffsetTime/index.js +0 -5
- package/types/java/time/Period/index.d.ts +1 -135
- package/types/java/time/Period/index.js +0 -8
- package/types/java/time/ZoneId/index.d.ts +1 -121
- package/types/java/time/ZoneId/index.js +0 -5
- package/types/java/time/ZoneOffset/index.d.ts +1 -104
- package/types/java/time/ZoneOffset/index.js +0 -6
- package/types/java/time/ZonedDateTime/index.d.ts +6 -284
- package/types/java/time/ZonedDateTime/index.js +0 -7
- package/types/java/time/format/DateTimeFormatter/index.d.ts +4 -217
- package/types/java/time/format/DateTimeFormatter/index.js +0 -6
- package/types/java/time/format/DecimalStyle/index.d.ts +0 -34
- package/types/java/time/format/DecimalStyle/index.js +0 -3
- package/types/java/time/temporal/ValueRange/index.d.ts +0 -43
- package/types/java/time/temporal/ValueRange/index.js +0 -1
- package/types/java/time/zone/ZoneOffsetTransition/index.d.ts +2 -19
- package/types/java/time/zone/ZoneOffsetTransition/index.js +0 -1
- package/types/java/time/zone/ZoneRules/index.d.ts +2 -28
- package/types/java/time/zone/ZoneRules/index.js +0 -1
- package/types/java/util/Calendar/index.d.ts +2 -67
- package/types/java/util/Calendar/index.js +0 -3
- package/types/java/util/Comparator/index.d.ts +16 -16
- package/types/java/util/Currency/index.d.ts +0 -38
- package/types/java/util/Currency/index.js +0 -2
- package/types/java/util/Date/index.d.ts +0 -160
- package/types/java/util/Date/index.js +0 -3
- package/types/java/util/Locale/index.d.ts +0 -344
- package/types/java/util/Locale/index.js +1 -11
- package/types/java/util/Optional/index.d.ts +0 -27
- package/types/java/util/Optional/index.js +0 -3
- package/types/java/util/OptionalDouble/index.d.ts +0 -15
- package/types/java/util/OptionalDouble/index.js +0 -2
- package/types/java/util/OptionalInt/index.d.ts +0 -15
- package/types/java/util/OptionalInt/index.js +0 -2
- package/types/java/util/OptionalLong/index.d.ts +0 -15
- package/types/java/util/OptionalLong/index.js +0 -2
- package/types/java/util/TimeZone/index.d.ts +0 -65
- package/types/java/util/TimeZone/index.js +0 -4
- package/types/java/util/stream/Collector/index.d.ts +2 -2
- package/types/java/util/stream/DoubleStream/index.d.ts +1 -1
- package/types/java/util/stream/IntStream/index.d.ts +1 -1
- package/types/java/util/stream/LongStream/index.d.ts +1 -1
- package/types/java/util/stream/Stream/index.d.ts +1 -1
- package/types/javax/jcr/PropertyType/index.d.ts +2 -18
- package/types/javax/jcr/PropertyType/index.js +1 -4
- package/types/javax/jcr/nodetype/NodeDefinitionTemplate/index.d.ts +1 -1
- package/types/javax/jcr/nodetype/NodeTypeTemplate/index.d.ts +1 -1
- package/types/javax/jcr/nodetype/PropertyDefinitionTemplate/index.d.ts +2 -2
- package/types/javax/jcr/observation/ObservationManager/index.d.ts +4 -4
- package/types/javax/jcr/version/OnParentVersionAction/index.d.ts +2 -19
- package/types/javax/jcr/version/OnParentVersionAction/index.js +1 -4
- package/types/java/net/ContentHandler/index.d.ts +0 -70
- package/types/java/net/ContentHandler/index.js +0 -10
- package/types/java/net/ContentHandlerFactory/index.d.ts +0 -26
- package/types/java/net/ContentHandlerFactory/index.js +0 -10
- package/types/java/net/FileNameMap/index.d.ts +0 -16
- package/types/java/net/FileNameMap/index.js +0 -10
- package/types/java/net/URLStreamHandler/index.d.ts +0 -199
- package/types/java/net/URLStreamHandler/index.js +0 -19
- package/types/java/net/URLStreamHandlerFactory/index.d.ts +0 -24
- package/types/java/net/URLStreamHandlerFactory/index.js +0 -10
- package/types/java/time/format/FormatStyle/index.d.ts +0 -14
- package/types/java/time/format/FormatStyle/index.js +0 -13
- package/types/java/util/Locale.Category/index.d.ts +0 -12
- package/types/java/util/Locale.Category/index.js +0 -11
- package/types/java/util/Locale.FilteringMode/index.d.ts +0 -97
- 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
 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
 The resource name
|
|
481
|
-
* @return A {@link java.net.URL <tt>URL</tt>} object for reading the
 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
 The resource name
|
|
495
|
-
* @return An enumeration of resource {@link java.net.URL <tt>URL</tt>}
 objects
|
|
496
|
-
* @throws IOException
 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
 The resource name
|
|
517
|
-
* @return An input stream for reading the resource, or <tt>null</tt>
 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
 <tt>null</tt> if none
|
|
576
|
-
* @throws SecurityException
 If a security manager exists and its <tt>checkPermission</tt>
 method doesn't allow access to the system class loader.
|
|
577
|
-
* @throws IllegalStateException
 If invoked recursively during the construction of the class
 loader specified by the "<tt>java.system.class.loader</tt>"
 property.
|
|
578
|
-
* @throws Error
 If the system property "<tt>java.system.class.loader</tt>"
 is defined but the named class could not be loaded, the
 provider class does not define the required constructor, or an
 exception is thrown by that constructor when it is invoked. The
 underlying cause of the error can be retrieved via the
 {@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() {},
|