Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Package | Description |
---|---|
java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images. |
java.awt.datatransfer | Provides interfaces and classes for transferring data between and within applications. |
java.awt.dnd | Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. |
java.awt.image.renderable | Provides classes and interfaces for producing rendering-independent images. |
java.beans | Contains classes related to developing beans -- components based on the JavaBeansTM architecture. |
java.beans.beancontext | Provides classes and interfaces relating to bean context. |
java.dyn | PROVISIONAL API, WORK IN PROGRESS: This package contains dynamic language support provided directly by the Java core class libraries and virtual machine. |
java.io | Provides for system input and output through data streams, serialization and the file system. |
java.lang | Provides classes that are fundamental to the design of the Java programming language. |
java.lang.annotation | Provides library support for the Java programming language annotation facility. |
java.lang.instrument | Provides services that allow Java programming language agents to instrument programs running on the JVM. |
java.lang.management | Provides the management interface for monitoring and management of the Java virtual machine as well as the operating system on which the Java virtual machine is running. |
java.lang.reflect | Provides classes and interfaces for obtaining reflective information about classes and objects. |
java.net | Provides the classes for implementing networking applications. |
java.nio.file | Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems. |
java.rmi.server | Provides classes and interfaces for supporting the server side of RMI. |
java.security | Provides the classes and interfaces for the security framework. |
java.sql | Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language. |
java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). |
java.util.concurrent.atomic | A small toolkit of classes that support lock-free thread-safe programming on single variables. |
java.util.prefs | This package allows applications to store and retrieve user and system preference and configuration data. |
javax.activation | |
javax.annotation.processing | Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment. |
javax.crypto | Provides the classes and interfaces for cryptographic operations. |
javax.imageio.metadata | A package of the Java Image I/O API dealing with reading and writing metadata. |
javax.imageio.spi | A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry. |
javax.lang.model.element | Interfaces used to model elements of the Java programming language. |
javax.management | Provides the core classes for the Java Management Extensions. |
javax.management.loading | Provides the classes which implement advanced dynamic loading. |
javax.management.openmbean | Provides the open data types and Open MBean descriptor classes. |
javax.naming.spi | Provides the means for dynamically plugging in support for accessing naming and directory services through the javax.naming and related packages. |
javax.print | Provides the principal classes and interfaces for the JavaTM Print Service API. |
javax.print.attribute | Provides classes and interfaces that describe the types of JavaTM Print Service attributes and how they can be collected into attribute sets. |
javax.print.attribute.standard | Package javax.print.attribute.standard contains classes for specific printing attributes. |
javax.rmi | Contains user APIs for RMI-IIOP. |
javax.rmi.CORBA | Contains portability APIs for RMI-IIOP. |
javax.script | The scripting API consists of interfaces and classes that define Java TM Scripting Engines and provides a framework for their use in Java applications. |
javax.security.auth | This package provides a framework for authentication and authorization. |
javax.sound.midi | Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data. |
javax.sound.sampled | Provides interfaces and classes for capture, processing, and playback of sampled audio data. |
javax.sql | Provides the API for server side data source access and processing from the JavaTM programming language. |
javax.sql.rowset | Standard interfaces and base classes for JDBC RowSet
implementations. |
javax.sql.rowset.serial | Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language. |
javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. |
javax.swing.event | Provides for events fired by Swing components. |
javax.swing.plaf.synth | Synth is a skinnable look and feel in which all painting is delegated. |
javax.swing.table | Provides classes and interfaces for dealing with
javax.swing.JTable . |
javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components. |
javax.swing.tree | Provides classes and interfaces for dealing with
javax.swing.JTree . |
javax.xml.bind | Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities. |
javax.xml.bind.helpers | JAXB Provider Use Only: Provides partial default implementations for some of the javax.xml.bind interfaces. |
javax.xml.ws | This package contains the core JAX-WS APIs. |
javax.xml.ws.spi | This package defines SPIs for JAX-WS. |
org.omg.CORBA | Provides the mapping of the OMG CORBA APIs to the JavaTM programming language, including the class ORB, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB). |
org.omg.CORBA_2_3.portable | Provides methods for the input and output of value types, and contains
other updates to the org/omg/CORBA/portable package. |
org.omg.CORBA.portable | Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB. |
org.omg.DynamicAny | Provides classes and interfaces that enable traversal of the data value
associated with an any at
runtime, and extraction of the primitive constituents of the data value. |
org.omg.PortableServer | Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs. |
Uses of Class in java.awt |
---|
Modifier and Type | Method and Description | |
---|---|---|
|
Toolkit.createDragGestureRecognizer(Class<T> abstractRecognizerClass,
DragSource ds,
Component c,
int srcActions,
DragGestureListener dgl)
Creates a concrete, platform dependent, subclass of the abstract DragGestureRecognizer class requested, and associates it with the DragSource, Component and DragGestureListener specified. |
|
|
CheckboxMenuItem.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this CheckboxMenuItem . |
|
|
Choice.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this Choice . |
|
|
Scrollbar.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this Scrollbar . |
|
|
Checkbox.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this Checkbox . |
|
|
List.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this List . |
|
|
TextComponent.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this TextComponent . |
|
|
TextField.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this TextField . |
|
|
Button.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this Button . |
|
|
Window.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this Window . |
|
|
MenuItem.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this MenuItem . |
|
|
Container.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this Container . |
|
|
Component.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this Component . |
|
static
|
AWTEventMulticaster.getListeners(EventListener l,
Class<T> listenerType)
Returns an array of all the objects chained as FooListener s by the specified
java.util.EventListener . |
|
protected static void |
AWTKeyStroke.registerSubclass(Class<?> subclass)
Registers a new class which the factory methods in AWTKeyStroke will use when generating new
instances of AWTKeyStroke s. |
Uses of Class in java.awt.datatransfer |
---|
Modifier and Type | Method and Description |
---|---|
Class<?> |
DataFlavor.getDefaultRepresentationClass()
|
Class<?> |
DataFlavor.getRepresentationClass()
Returns the Class which objects supporting this
DataFlavor will return when this DataFlavor
is requested. |
protected static Class<?> |
DataFlavor.tryToLoadClass(String className,
ClassLoader fallback)
Tries to load a class from: the bootstrap loader, the system loader, the context loader (if one is present) and finally the loader specified. |
Constructor and Description |
---|
DataFlavor(Class<?> representationClass,
String humanPresentableName)
Constructs a DataFlavor that represents a Java class. |
Uses of Class in java.awt.dnd |
---|
Modifier and Type | Method and Description | |
---|---|---|
|
DragSource.createDragGestureRecognizer(Class<T> recognizerAbstractClass,
Component c,
int actions,
DragGestureListener dgl)
Creates a new DragGestureRecognizer
that implements the specified
abstract subclass of
DragGestureRecognizer , and
sets the specified Component
and DragGestureListener on
the newly created object. |
|
|
DragSource.getListeners(Class<T> listenerType)
Gets all the objects currently registered as FooListener s upon this DragSource . |
Uses of Class in java.awt.image.renderable |
---|
Modifier and Type | Method and Description |
---|---|
Class[] |
ParameterBlock.getParamClasses()
Returns an array of Class objects describing the types of the parameters. |
Uses of Class in java.beans |
---|
Modifier and Type | Method and Description |
---|---|
Class<?> |
BeanDescriptor.getBeanClass()
Gets the bean's Class object. |
Class<?> |
BeanDescriptor.getCustomizerClass()
Gets the Class object for the bean's customizer. |
Class<?> |
IndexedPropertyDescriptor.getIndexedPropertyType()
Returns the Java type info for the indexed property. |
Class<?> |
EventSetDescriptor.getListenerType()
Gets the Class object for the target interface. |
Class<?> |
PropertyDescriptor.getPropertyEditorClass()
Gets any explicit PropertyEditor Class that has been registered for this property. |
Class<?> |
PropertyDescriptor.getPropertyType()
Returns the Java type info for the property. |
Modifier and Type | Method and Description | |
---|---|---|
static
|
EventHandler.create(Class<T> listenerInterface,
Object target,
String action)
Creates an implementation of listenerInterface in which
all of the methods in the listener interface apply
the handler's action to the target . |
|
static
|
EventHandler.create(Class<T> listenerInterface,
Object target,
String action,
String eventPropertyName)
/** Creates an implementation of listenerInterface in which
all of the methods pass the value of the event
expression, eventPropertyName , to the final method in the
statement, action , which is applied to the target . |
|
static
|
EventHandler.create(Class<T> listenerInterface,
Object target,
String action,
String eventPropertyName,
String listenerMethodName)
Creates an implementation of listenerInterface in which
the method named listenerMethodName
passes the value of the event expression, eventPropertyName ,
to the final method in the statement, action , which
is applied to the target . |
|
static PropertyEditor |
PropertyEditorManager.findEditor(Class<?> targetType)
Locate a value editor for a given target type. |
|
static void |
Introspector.flushFromCaches(Class<?> clz)
Flush the Introspector's internal cached information for a given class. |
|
static BeanInfo |
Introspector.getBeanInfo(Class<?> beanClass)
Introspect on a Java Bean and learn about all its properties, exposed methods, and events. |
|
static BeanInfo |
Introspector.getBeanInfo(Class<?> beanClass,
Class<?> stopClass)
Introspect on a Java bean and learn all about its properties, exposed methods, below a given "stop" point. |
|
static BeanInfo |
Introspector.getBeanInfo(Class<?> beanClass,
Class<?> stopClass)
Introspect on a Java bean and learn all about its properties, exposed methods, below a given "stop" point. |
|
static BeanInfo |
Introspector.getBeanInfo(Class<?> beanClass,
Class<?> stopClass,
int flags)
Introspect on a Java Bean and learn about all its properties, exposed methods and events, below a given stopClass point
subject to some control flags . |
|
static BeanInfo |
Introspector.getBeanInfo(Class<?> beanClass,
Class<?> stopClass,
int flags)
Introspect on a Java Bean and learn about all its properties, exposed methods and events, below a given stopClass point
subject to some control flags . |
|
static BeanInfo |
Introspector.getBeanInfo(Class<?> beanClass,
int flags)
Introspect on a Java bean and learn about all its properties, exposed methods, and events, subject to some control flags. |
|
static Object |
Beans.getInstanceOf(Object bean,
Class<?> targetType)
From a given bean, obtain an object representing a specified type view of that source object. |
|
PersistenceDelegate |
Encoder.getPersistenceDelegate(Class<?> type)
Returns the persistence delegate for the given type. |
|
protected void |
DefaultPersistenceDelegate.initialize(Class<?> type,
Object oldInstance,
Object newInstance,
Encoder out)
This default implementation of the initialize method assumes
all state held in objects of this type is exposed via the
matching pairs of "setter" and "getter" methods in the order
they are returned by the Introspector. |
|
protected void |
PersistenceDelegate.initialize(Class<?> type,
Object oldInstance,
Object newInstance,
Encoder out)
Produce a series of statements with side effects on newInstance
so that the new instance becomes equivalent to oldInstance . |
|
static boolean |
Beans.isInstanceOf(Object bean,
Class<?> targetType)
Check if a bean can be viewed as a given target type. |
|
static void |
PropertyEditorManager.registerEditor(Class<?> targetType,
Class<?> editorClass)
Registers an editor class to edit values of the given target class. |
|
static void |
PropertyEditorManager.registerEditor(Class<?> targetType,
Class<?> editorClass)
Registers an editor class to edit values of the given target class. |
|
void |
Encoder.setPersistenceDelegate(Class<?> type,
PersistenceDelegate delegate)
Associates the specified persistence delegate with the given type. |
|
void |
PropertyDescriptor.setPropertyEditorClass(Class<?> propertyEditorClass)
Normally PropertyEditors will be found using the PropertyEditorManager. |
Constructor and Description |
---|
BeanDescriptor(Class<?> beanClass)
Create a BeanDescriptor for a bean that doesn't have a customizer. |
BeanDescriptor(Class<?> beanClass,
Class<?> customizerClass)
Create a BeanDescriptor for a bean that has a customizer. |
BeanDescriptor(Class<?> beanClass,
Class<?> customizerClass)
Create a BeanDescriptor for a bean that has a customizer. |
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String listenerMethodName)
Creates an EventSetDescriptor assuming that you are following the most simple standard design pattern where a named event "fred" is (1) delivered as a call on the single method of interface FredListener, (2) has a single argument of type FredEvent, and (3) where the FredListener may be registered with a call on an addFredListener method of the source component and removed with a call on a removeFredListener method. |
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String listenerMethodName)
Creates an EventSetDescriptor assuming that you are following the most simple standard design pattern where a named event "fred" is (1) delivered as a call on the single method of interface FredListener, (2) has a single argument of type FredEvent, and (3) where the FredListener may be registered with a call on an addFredListener method of the source component and removed with a call on a removeFredListener method. |
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName)
Creates an EventSetDescriptor from scratch using string names. |
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName)
Creates an EventSetDescriptor from scratch using string names. |
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName,
String getListenerMethodName)
This constructor creates an EventSetDescriptor from scratch using string names. |
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName,
String getListenerMethodName)
This constructor creates an EventSetDescriptor from scratch using string names. |
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
Method[] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod)
Creates an EventSetDescriptor from scratch using java.lang.reflect.Method and java.lang.Class objects. |
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
Method[] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod,
Method getListenerMethod)
This constructor creates an EventSetDescriptor from scratch using java.lang.reflect.Method and java.lang.Class objects. |
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
MethodDescriptor[] listenerMethodDescriptors,
Method addListenerMethod,
Method removeListenerMethod)
Creates an EventSetDescriptor from scratch using java.lang.reflect.MethodDescriptor and java.lang.Class objects. |
IndexedPropertyDescriptor(String propertyName,
Class<?> beanClass)
This constructor constructs an IndexedPropertyDescriptor for a property that follows the standard Java conventions by having getFoo and setFoo accessor methods, for both indexed access and array access. |
IndexedPropertyDescriptor(String propertyName,
Class<?> beanClass,
String readMethodName,
String writeMethodName,
String indexedReadMethodName,
String indexedWriteMethodName)
This constructor takes the name of a simple property, and method names for reading and writing the property, both indexed and non-indexed. |
PropertyDescriptor(String propertyName,
Class<?> beanClass)
Constructs a PropertyDescriptor for a property that follows the standard Java convention by having getFoo and setFoo accessor methods. |
PropertyDescriptor(String propertyName,
Class<?> beanClass,
String readMethodName,
String writeMethodName)
This constructor takes the name of a simple property, and method names for reading and writing the property. |
Uses of Class in java.beans.beancontext |
---|
Modifier and Type | Field and Description |
---|---|
protected Class |
BeanContextServiceAvailableEvent.serviceClass
A Class reference to the newly available service |
protected Class |
BeanContextServiceRevokedEvent.serviceClass
A Class reference to the service that is being revoked. |
Modifier and Type | Method and Description |
---|---|
Class |
BeanContextServiceAvailableEvent.getServiceClass()
Gets the service class that is the subject of this notification. |
Class |
BeanContextServiceRevokedEvent.getServiceClass()
Gets the service class that is the subject of this notification |
Modifier and Type | Method and Description |
---|---|
boolean |
BeanContextServicesSupport.addService(Class serviceClass,
BeanContextServiceProvider bcsp)
add a service |
boolean |
BeanContextServices.addService(Class serviceClass,
BeanContextServiceProvider serviceProvider)
Adds a service to this BeanContext. |
protected boolean |
BeanContextServicesSupport.addService(Class serviceClass,
BeanContextServiceProvider bcsp,
boolean fireEvent)
add a service |
protected static boolean |
BeanContextSupport.classEquals(Class first,
Class second)
Tests to see if two class objects, or their names are equal. |
protected static boolean |
BeanContextSupport.classEquals(Class first,
Class second)
Tests to see if two class objects, or their names are equal. |
protected BeanContextServicesSupport.BCSSServiceProvider |
BeanContextServicesSupport.createBCSSServiceProvider(Class sc,
BeanContextServiceProvider bcsp)
subclasses can override this method to create new subclasses of BCSSServiceProvider without having to overrride addService() in order to instantiate. |
protected void |
BeanContextServicesSupport.fireServiceAdded(Class serviceClass)
Fires a BeanContextServiceEvent notifying of a new service. |
protected void |
BeanContextServicesSupport.fireServiceRevoked(Class serviceClass,
boolean revokeNow)
Fires a BeanContextServiceRevokedEvent indicating that a particular service is no longer available. |
Iterator |
BeanContextServicesSupport.BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices bcs,
Class serviceClass)
|
Iterator |
BeanContextServiceProvider.getCurrentServiceSelectors(BeanContextServices bcs,
Class serviceClass)
Invoked by BeanContextServices , this method
gets the current service selectors for the specified service. |
Iterator |
BeanContextServicesSupport.getCurrentServiceSelectors(Class serviceClass)
|
Iterator |
BeanContextServices.getCurrentServiceSelectors(Class serviceClass)
Gets the list of service dependent service parameters (Service Selectors) for the specified service, by calling getCurrentServiceSelectors() on the underlying BeanContextServiceProvider. |
Object |
BeanContextServicesSupport.getService(BeanContextChild child,
Object requestor,
Class serviceClass,
Object serviceSelector,
BeanContextServiceRevokedListener bcsrl)
obtain a service which may be delegated |
Object |
BeanContextServices.getService(BeanContextChild child,
Object requestor,
Class serviceClass,
Object serviceSelector,
BeanContextServiceRevokedListener bcsrl)
A BeanContextChild , or any arbitrary object
associated with a BeanContextChild , may obtain
a reference to a currently registered service from its
nesting BeanContextServices
via invocation of this method. |
Object |
BeanContextServicesSupport.BCSSProxyServiceProvider.getService(BeanContextServices bcs,
Object requestor,
Class serviceClass,
Object serviceSelector)
|
Object |
BeanContextServiceProvider.getService(BeanContextServices bcs,
Object requestor,
Class serviceClass,
Object serviceSelector)
Invoked by BeanContextServices , this method
requests an instance of a
service from this BeanContextServiceProvider . |
boolean |
BeanContextServicesSupport.hasService(Class serviceClass)
has a service, which may be delegated |
boolean |
BeanContextServices.hasService(Class serviceClass)
Reports whether or not a given service is currently available from this context. |
boolean |
BeanContextServiceRevokedEvent.isServiceClass(Class service)
Checks this event to determine whether or not the service being revoked is of a particular class. |
void |
BeanContextServicesSupport.revokeService(Class serviceClass,
BeanContextServiceProvider bcsp,
boolean revokeCurrentServicesNow)
remove a service |
void |
BeanContextServices.revokeService(Class serviceClass,
BeanContextServiceProvider serviceProvider,
boolean revokeCurrentServicesNow)
BeanContextServiceProviders wishing to remove a currently registered service from this context may do so via invocation of this method. |
Constructor and Description |
---|
BeanContextServiceAvailableEvent(BeanContextServices bcs,
Class sc)
Construct a BeanContextAvailableServiceEvent . |
BeanContextServiceRevokedEvent(BeanContextServices bcs,
Class sc,
boolean invalidate)
Construct a BeanContextServiceEvent . |
Uses of Class in java.dyn |
---|
Modifier and Type | Method and Description |
---|---|
Class<?> |
CallSite.callerClass()
Deprecated. transitional form defined in EDR but removed in PFD |
Class<?> |
MethodHandles.Lookup.lookupClass()
Which class is performing the lookup? It is this class against which checks are performed for visibility and access permissions. |
Class<?>[] |
MethodType.parameterArray()
Convenience method to present the arguments as an array. |
Class<?> |
MethodType.parameterType(int num)
|
Class<?> |
MethodType.returnType()
|
Modifier and Type | Method and Description |
---|---|
List<Class<?>> |
MethodType.parameterList()
Convenience method to present the arguments as a list. |
Modifier and Type | Method and Description | |
---|---|---|
static MethodHandle |
MethodHandles.arrayElementGetter(Class<?> arrayClass)
PROVISIONAL API, WORK IN PROGRESS: Produce a method handle giving read access to elements of an array. |
|
static MethodHandle |
MethodHandles.arrayElementSetter(Class<?> arrayClass)
PROVISIONAL API, WORK IN PROGRESS: Produce a method handle giving write access to elements of an array. |
|
static
|
MethodHandles.asInstance(MethodHandle target,
Class<T> samType)
Produce a wrapper instance of the given "SAM" type which redirects its calls to the given method handle. |
|
static MethodHandle |
MethodHandles.catchException(MethodHandle target,
Class<? extends Throwable> exType,
MethodHandle handler)
PROVISIONAL API, WORK IN PROGRESS: Make a method handle which adapts a target method handle, by running it inside an exception handler. |
|
MethodType |
MethodType.changeParameterType(int num,
Class<?> nptype)
Convenience method for MethodType.methodType(java.lang.Class, java.lang.Class[]) . |
|
MethodType |
MethodType.changeReturnType(Class<?> nrtype)
Convenience method for MethodType.methodType(java.lang.Class, java.lang.Class[]) . |
|
protected abstract T |
ClassValue.computeValue(Class<?> type)
Compute the given class's derived value for this ClassValue . |
|
static MethodHandle |
MethodHandles.dropArguments(MethodHandle target,
int pos,
Class<?>... valueTypes)
|
|
MethodHandle |
MethodHandles.Lookup.findConstructor(Class<?> refc,
MethodType type)
Produce a method handle which creates an object and initializes it, using the constructor of the specified type. |
|
MethodHandle |
MethodHandles.Lookup.findGetter(Class<?> refc,
String name,
Class<?> type)
PROVISIONAL API, WORK IN PROGRESS: Produce a method handle giving read access to a non-static field. |
|
MethodHandle |
MethodHandles.Lookup.findGetter(Class<?> refc,
String name,
Class<?> type)
PROVISIONAL API, WORK IN PROGRESS: Produce a method handle giving read access to a non-static field. |
|
MethodHandle |
MethodHandles.Lookup.findSetter(Class<?> refc,
String name,
Class<?> type)
PROVISIONAL API, WORK IN PROGRESS: Produce a method handle giving write access to a non-static field. |
|
MethodHandle |
MethodHandles.Lookup.findSetter(Class<?> refc,
String name,
Class<?> type)
PROVISIONAL API, WORK IN PROGRESS: Produce a method handle giving write access to a non-static field. |
|
MethodHandle |
MethodHandles.Lookup.findSpecial(Class<?> refc,
String name,
MethodType type,
Class<?> specialCaller)
Produce an early-bound method handle for a virtual method, as if called from an invokespecial
instruction from caller . |
|
MethodHandle |
MethodHandles.Lookup.findSpecial(Class<?> refc,
String name,
MethodType type,
Class<?> specialCaller)
Produce an early-bound method handle for a virtual method, as if called from an invokespecial
instruction from caller . |
|
MethodHandle |
MethodHandles.Lookup.findStatic(Class<?> refc,
String name,
MethodType type)
Produce a method handle for a static method. |
|
MethodHandle |
MethodHandles.Lookup.findStaticGetter(Class<?> refc,
String name,
Class<?> type)
PROVISIONAL API, WORK IN PROGRESS: Produce a method handle giving read access to a static field. |
|
MethodHandle |
MethodHandles.Lookup.findStaticGetter(Class<?> refc,
String name,
Class<?> type)
PROVISIONAL API, WORK IN PROGRESS: Produce a method handle giving read access to a static field. |
|
MethodHandle |
MethodHandles.Lookup.findStaticSetter(Class<?> refc,
String name,
Class<?> type)
PROVISIONAL API, WORK IN PROGRESS: Produce a method handle giving write access to a static field. |
|
MethodHandle |
MethodHandles.Lookup.findStaticSetter(Class<?> refc,
String name,
Class<?> type)
PROVISIONAL API, WORK IN PROGRESS: Produce a method handle giving write access to a static field. |
|
MethodHandle |
MethodHandles.Lookup.findVirtual(Class<?> refc,
String name,
MethodType type)
Produce a method handle for a virtual method. |
|
T |
ClassValue.get(Class<?> type)
Returns the value for the given class. |
|
static MethodHandle |
Linkage.getBootstrapMethod(Class callerClass)
Deprecated. |
|
MethodHandles.Lookup |
MethodHandles.Lookup.in(Class<?> requestedLookupClass)
Create a lookup on the specified new lookup class. |
|
protected MethodHandle |
CallSite.initialTarget(Class<?> callerClass,
String name,
MethodType type)
Deprecated. transitional form defined in EDR but removed in PFD |
|
MethodType |
MethodType.insertParameterType(int num,
Class<?> nptype)
Deprecated. Use MethodType.insertParameterTypes(int, java.lang.Class<?>...) instead. |
|
MethodType |
MethodType.insertParameterTypes(int num,
Class<?>... ptypesToInsert)
Convenience method for MethodType.methodType(java.lang.Class, java.lang.Class[]) . |
|
static Object |
Linkage.invalidateCallerClass(Class<?> callerClass)
PROVISIONAL API, WORK IN PROGRESS: Invalidate all invokedynamic call sites in the bytecodes
of any methods of the given class. |
|
static MethodType |
MethodType.make(Class<?> rtype)
Deprecated. |
|
static MethodType |
MethodType.make(Class<?> rtype,
Class<?> ptype0)
Deprecated. |
|
static MethodType |
MethodType.make(Class<?> rtype,
Class<?> ptype0)
Deprecated. |
|
static MethodType |
MethodType.make(Class<?> rtype,
Class<?>[] ptypes)
Deprecated. |
|
static MethodType |
MethodType.make(Class<?> rtype,
Class<?>[] ptypes)
Deprecated. |
|
static MethodType |
MethodType.make(Class<?> rtype,
Class<?> ptype0,
Class<?>... ptypes)
Deprecated. |
|
static MethodType |
MethodType.make(Class<?> rtype,
Class<?> ptype0,
Class<?>... ptypes)
Deprecated. |
|
static MethodType |
MethodType.make(Class<?> rtype,
Class<?> ptype0,
Class<?>... ptypes)
Deprecated. |
|
static MethodType |
MethodType.make(Class<?> rtype,
List<? extends Class<?>> ptypes)
Deprecated. |
|
static MethodType |
MethodType.make(Class<?> rtype,
MethodType ptypes)
Deprecated. |
|
static MethodType |
MethodType.methodType(Class<?> rtype)
Convenience method for MethodType.methodType(java.lang.Class, java.lang.Class[]) . |
|
static MethodType |
MethodType.methodType(Class<?> rtype,
Class<?> ptype0)
Convenience method for MethodType.methodType(java.lang.Class, java.lang.Class[]) . |
|
static MethodType |
MethodType.methodType(Class<?> rtype,
Class<?> ptype0)
Convenience method for MethodType.methodType(java.lang.Class, java.lang.Class[]) . |
|
static MethodType |
MethodType.methodType(Class<?> rtype,
Class<?>[] ptypes)
Find or create an instance of the given method type. |
|
static MethodType |
MethodType.methodType(Class<?> rtype,
Class<?>[] ptypes)
Find or create an instance of the given method type. |
|
static MethodType |
MethodType.methodType(Class<?> rtype,
Class<?> ptype0,
Class<?>... ptypes)
Convenience method for MethodType.methodType(java.lang.Class, java.lang.Class[]) . |
|
static MethodType |
MethodType.methodType(Class<?> rtype,
Class<?> ptype0,
Class<?>... ptypes)
Convenience method for MethodType.methodType(java.lang.Class, java.lang.Class[]) . |
|
static MethodType |
MethodType.methodType(Class<?> rtype,
Class<?> ptype0,
Class<?>... ptypes)
Convenience method for MethodType.methodType(java.lang.Class, java.lang.Class[]) . |
|
static MethodType |
MethodType.methodType(Class<?> rtype,
List<? extends Class<?>> ptypes)
Convenience method for MethodType.methodType(java.lang.Class, java.lang.Class[]) . |
|
static MethodType |
MethodType.methodType(Class<?> rtype,
MethodType ptypes)
Convenience method for MethodType.methodType(java.lang.Class, java.lang.Class[]) . |
|
static void |
Linkage.registerBootstrapMethod(Class<?> runtime,
String name)
Deprecated. Use @ BootstrapMethod annotations instead |
|
static void |
Linkage.registerBootstrapMethod(Class callerClass,
MethodHandle bootstrapMethod)
Deprecated. Use @ BootstrapMethod annotations instead |
|
void |
ClassValue.remove(Class<?> type)
Removes the associated value for the given class. |
|
static MethodHandle |
MethodHandles.throwException(Class<?> returnType,
Class<? extends Throwable> exType)
Produce a method handle which will throw exceptions of the given exType . |
|
static MethodHandle |
MethodHandles.throwException(Class<?> returnType,
Class<? extends Throwable> exType)
Produce a method handle which will throw exceptions of the given exType . |
|
MethodHandle |
MethodHandles.Lookup.unreflectSpecial(Method m,
Class<?> specialCaller)
PROVISIONAL API, WORK IN PROGRESS: Produce a method handle for a reflected method. |
Modifier and Type | Method and Description |
---|---|
static MethodHandle |
MethodHandles.dropArguments(MethodHandle target,
int pos,
List<Class<?>> valueTypes)
PROVISIONAL API, WORK IN PROGRESS: Produce a method handle which calls the original method handle, after dropping the given argument(s) at the given position. |
MethodType |
MethodType.insertParameterTypes(int num,
List<Class<?>> ptypesToInsert)
Convenience method for MethodType.methodType(java.lang.Class, java.lang.Class[]) . |
static MethodType |
MethodType.make(Class<?> rtype,
List<? extends Class<?>> ptypes)
Deprecated. |
static MethodType |
MethodType.methodType(Class<?> rtype,
List<? extends Class<?>> ptypes)
Convenience method for MethodType.methodType(java.lang.Class, java.lang.Class[]) . |
Constructor and Description |
---|
CallSite(Class<?> caller,
String name,
MethodType type)
Deprecated. transitional form defined in EDR but removed in PFD |
LinkagePermission(String name,
Class<?> clazz)
Create a new LinkagePermission with the given name on the given class. |
Uses of Class in java.io |
---|
Modifier and Type | Method and Description |
---|---|
Class<?> |
ObjectStreamClass.forClass()
Return the class in the local VM that this version is mapped to. |
Class<?> |
ObjectStreamField.getType()
Get the type of the field. |
protected Class<?> |
ObjectInputStream.resolveClass(ObjectStreamClass desc)
Load the local class equivalent of the specified stream class description. |
protected Class<?> |
ObjectInputStream.resolveProxyClass(String[] interfaces)
Returns a proxy class that implements the interfaces named in a proxy class descriptor; subclasses may implement this method to read custom data from the stream along with the descriptors for dynamic proxy classes, allowing them to use an alternate loading mechanism for the interfaces and the proxy class. |
Modifier and Type | Method and Description |
---|---|
protected void |
ObjectOutputStream.annotateClass(Class<?> cl)
Subclasses may implement this method to allow class data to be stored in the stream. |
protected void |
ObjectOutputStream.annotateProxyClass(Class<?> cl)
Subclasses may implement this method to store custom data in the stream along with descriptors for dynamic proxy classes. |
static ObjectStreamClass |
ObjectStreamClass.lookup(Class<?> cl)
Find the descriptor for a class that can be serialized. |
static ObjectStreamClass |
ObjectStreamClass.lookupAny(Class<?> cl)
Returns the descriptor for any class, regardless of whether it implements Serializable . |
Constructor and Description |
---|
ObjectStreamField(String name,
Class<?> type)
Create a Serializable field with the specified type. |
ObjectStreamField(String name,
Class<?> type,
boolean unshared)
Creates an ObjectStreamField representing a serializable field with the given name and type. |
Uses of Class in java.lang |
---|
Modifier and Type | Field and Description |
---|---|
static Class<Short> |
Short.TYPE
The Class instance representing the primitive type
short . |
static Class<Float> |
Float.TYPE
The Class instance representing the primitive type
float . |
static Class<Double> |
Double.TYPE
The Class instance representing the primitive type
double . |
static Class<Byte> |
Byte.TYPE
The Class instance representing the primitive type
byte . |
static Class<Integer> |
Integer.TYPE
The Class instance representing the primitive type
int . |
static Class<Character> |
Character.TYPE
The Class instance representing the primitive type
char . |
static Class<Boolean> |
Boolean.TYPE
The Class object representing the primitive type boolean. |
static Class<Void> |
Void.TYPE
The Class object representing the pseudo-type corresponding to
the keyword void . |
static Class<Long> |
Long.TYPE
The Class instance representing the primitive type
long . |
Modifier and Type | Method and Description | |
---|---|---|
|
Class.asSubclass(Class<U> clazz)
Casts this Class object to represent a subclass of the class
represented by the specified class object. |
|
protected Class<?> |
SecurityManager.currentLoadedClass()
Deprecated. This type of security checking is not recommended. It is recommended that the checkPermission
call be used instead. |
|
protected Class<?> |
ClassLoader.defineClass(byte[] b,
int off,
int len)
Deprecated. Replaced by defineClass(String, byte[], int, int) |
|
protected Class<?> |
ClassLoader.defineClass(String name,
byte[] b,
int off,
int len)
Converts an array of bytes into an instance of class Class. |
|
protected Class<?> |
ClassLoader.defineClass(String name,
byte[] b,
int off,
int len,
ProtectionDomain protectionDomain)
Converts an array of bytes into an instance of class Class, with an optional ProtectionDomain. |
|
protected Class<?> |
ClassLoader.defineClass(String name,
ByteBuffer b,
ProtectionDomain protectionDomain)
Converts a ByteBuffer
into an instance of class Class,
with an optional ProtectionDomain. |
|
Class<? extends Enum> |
EnumConstantNotPresentException.enumType()
Returns the type of the missing enum constant. |
|
protected Class<?> |
ClassLoader.findClass(String name)
Finds the class with the specified binary name. |
|
protected Class<?> |
ClassLoader.findLoadedClass(String name)
Returns the class with the given binary name if this loader has been recorded by the Java virtual machine as an initiating loader of a class with that binary name. |
|
protected Class<?> |
ClassLoader.findSystemClass(String name)
Finds a class with the specified binary name, loading it if necessary. |
|
static Class<?> |
Class.forName(String className)
Returns the Class object associated with the class or
interface with the given string name. |
|
static Class<?> |
Class.forName(String name,
boolean initialize,
ClassLoader loader)
Returns the Class object associated with the class or
interface with the given string name, using the given class loader. |
|
Class<?> |
Object.getClass()
Returns the runtime class of this Object . |
|
protected Class[] |
SecurityManager.getClassContext()
Returns the current execution stack as an array of classes. |
|
Class<?>[] |
Class.getClasses()
Returns an array containing Class objects representing all
the public classes and interfaces that are members of the class
represented by this Class object. |
|
Class<?> |
Class.getComponentType()
Returns the Class representing the component type of an
array. |
|
Class<?>[] |
Class.getDeclaredClasses()
Returns an array of Class objects reflecting all the
classes and interfaces declared as members of the class represented by
this Class object. |
|
Class<E> |
Enum.getDeclaringClass()
Returns the Class object corresponding to this enum constant's enum type. |
|
Class<?> |
Class.getDeclaringClass()
If the class or interface represented by this Class object
is a member of another class, returns the Class object
representing the class in which it was declared. |
|
Class<?> |
Class.getEnclosingClass()
Returns the immediately enclosing class of the underlying class. |
|
Class<?>[] |
Class.getInterfaces()
Determines the interfaces implemented by the class or interface represented by this object. |
|
Class<? super T> |
Class.getSuperclass()
Returns the Class representing the superclass of the entity
(class, interface, primitive type or void) represented by this
Class . |
|
Class<?> |
ClassLoader.loadClass(String name)
Loads the class with the specified binary name. |
|
protected Class<?> |
ClassLoader.loadClass(String name,
boolean resolve)
Loads the class with the specified binary name. |
Modifier and Type | Method and Description | |
---|---|---|
|
Class.asSubclass(Class<U> clazz)
Casts this Class object to represent a subclass of the class
represented by the specified class object. |
|
void |
SecurityManager.checkMemberAccess(Class<?> clazz,
int which)
Throws a SecurityException if the
calling thread is not allowed to access members. |
|
static boolean |
Compiler.compileClass(Class<?> clazz)
Compiles the specified class. |
|
|
Package.getAnnotation(Class<A> annotationClass)
|
|
|
Class.getAnnotation(Class<A> annotationClass)
|
|
Constructor<T> |
Class.getConstructor(Class<?>... parameterTypes)
Returns a Constructor object that reflects the specified
public constructor of the class represented by this Class
object. |
|
Constructor<T> |
Class.getDeclaredConstructor(Class<?>... parameterTypes)
Returns a Constructor object that reflects the specified
constructor of the class or interface represented by this
Class object. |
|
Method |
Class.getDeclaredMethod(String name,
Class<?>... parameterTypes)
Returns a Method object that reflects the specified
declared method of the class or interface represented by this
Class object. |
|
Method |
Class.getMethod(String name,
Class<?>... parameterTypes)
Returns a Method object that reflects the specified public
member method of the class or interface represented by this
Class object. |
|
boolean |
Package.isAnnotationPresent(Class<? extends Annotation> annotationClass)
|
|
boolean |
Class.isAnnotationPresent(Class<? extends Annotation> annotationClass)
|
|
boolean |
Class.isAssignableFrom(Class<?> cls)
Determines if the class or interface represented by this Class object is either the same as, or is a superclass or
superinterface of, the class or interface represented by the specified
Class parameter. |
|
protected void |
ClassLoader.resolveClass(Class<?> c)
Links the specified class. |
|
protected void |
ClassLoader.setSigners(Class<?> c,
Object[] signers)
Sets the signers of a class. |
|
static
|
Enum.valueOf(Class<T> enumType,
String name)
Returns the enum constant of the specified enum type with the specified name. |
Constructor and Description |
---|
EnumConstantNotPresentException(Class<? extends Enum> enumType,
String constantName)
Constructs an EnumConstantNotPresentException for the specified constant. |
Uses of Class in java.lang.annotation |
---|
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotation> |
IncompleteAnnotationException.annotationType()
Returns the Class object for the annotation type with the missing element. |
Class<? extends Annotation> |
Annotation.annotationType()
Returns the annotation type of this annotation. |
Constructor and Description |
---|
IncompleteAnnotationException(Class<? extends Annotation> annotationType,
String elementName)
Constructs an IncompleteAnnotationException to indicate that the named element was missing from the specified annotation type. |
Uses of Class in java.lang.instrument |
---|
Modifier and Type | Method and Description |
---|---|
Class[] |
Instrumentation.getAllLoadedClasses()
Returns an array of all classes currently loaded by the JVM. |
Class<?> |
ClassDefinition.getDefinitionClass()
Returns the class. |
Class[] |
Instrumentation.getInitiatedClasses(ClassLoader loader)
Returns an array of all classes for which loader is an initiating loader. |
Modifier and Type | Method and Description |
---|---|
boolean |
Instrumentation.isModifiableClass(Class<?> theClass)
Determines whether a class is modifiable by retransformation or redefinition. |
void |
Instrumentation.retransformClasses(Class<?>... classes)
Retransform the supplied set of classes. |
byte[] |
ClassFileTransformer.transform(ClassLoader loader,
String className,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer)
The implementation of this method may transform the supplied class file and return a new replacement class file. |
Constructor and Description |
---|
ClassDefinition(Class<?> theClass,
byte[] theClassFile)
Creates a new ClassDefinition binding using the supplied
class and class file bytes. |
Uses of Class in java.lang.management |
---|
Modifier and Type | Method and Description |
---|---|
static List<Class<? extends PlatformManagedObject>> |
ManagementFactory.getAllPlatformMXBeanInterfaces()
Returns a list of Class objects, subinterface of
PlatformManagedObject , representing
all management interfaces for
monitoring and managing the Java platform. |
Modifier and Type | Method and Description | |
---|---|---|
static
|
ManagementFactory.getPlatformMXBeans(Class<T> mxbeanInterface)
Returns the list of platform MXBeans that implement the given mxbeanInterface in the running Java
virtual machine. |
|
static
|
ManagementFactory.getPlatformMXBeans(MBeanServerConnection connection,
Class<T> mxbeanInterface)
Returns the list of the platform MXBean proxies for forwarding the method calls of the mxbeanInterface
through the given MBeanServerConnection . |
|
static
|
ManagementFactory.newPlatformMXBeanProxy(MBeanServerConnection connection,
String mxbeanName,
Class<T> mxbeanInterface)
Returns a proxy for a platform MXBean interface of a given MXBean name that forwards its method calls through the given MBeanServerConnection. |
Uses of Class in java.lang.reflect |
---|
Modifier and Type | Method and Description |
---|---|
Class<?> |
Field.getDeclaringClass()
Returns the Class object representing the class or interface
that declares the field represented by this Field object. |
Class<?> |
Method.getDeclaringClass()
Returns the Class object representing the class or interface
that declares the method represented by this Method object. |
Class<?> |
Member.getDeclaringClass()
Returns the Class object representing the class or interface that declares the member or constructor represented by this Member. |
Class<T> |
Constructor.getDeclaringClass()
Returns the Class object representing the class that declares
the constructor represented by this Constructor object. |
Class<?>[] |
Method.getExceptionTypes()
Returns an array of Class objects that represent
the types of the exceptions declared to be thrown
by the underlying method
represented by this Method object. |
Class<?>[] |
Constructor.getExceptionTypes()
Returns an array of Class objects that represent the types
of exceptions declared to be thrown by the underlying constructor
represented by this Constructor object. |
Class<?>[] |
Method.getParameterTypes()
Returns an array of Class objects that represent the formal
parameter types, in declaration order, of the method
represented by this Method object. |
Class<?>[] |
Constructor.getParameterTypes()
Returns an array of Class objects that represent the formal
parameter types, in declaration order, of the constructor
represented by this Constructor object. |
static Class<?> |
Proxy.getProxyClass(ClassLoader loader,
Class<?>... interfaces)
Returns the java.lang.Class object for a proxy class
given a class loader and an array of interfaces. |
Class<?> |
Method.getReturnType()
Returns a Class object that represents the formal return type
of the method represented by this Method object. |
Class<?> |
Field.getType()
Returns a Class object that identifies the
declared type for the field represented by this
Field object. |
Modifier and Type | Method and Description | |
---|---|---|
|
Field.getAnnotation(Class<T> annotationClass)
|
|
|
Method.getAnnotation(Class<T> annotationClass)
|
|
|
AccessibleObject.getAnnotation(Class<T> annotationClass)
|
|
|
Constructor.getAnnotation(Class<T> annotationClass)
|
|
|
AnnotatedElement.getAnnotation(Class<T> annotationClass)
Returns this element's annotation for the specified type if such an annotation is present, else null. |
|
static Class<?> |
Proxy.getProxyClass(ClassLoader loader,
Class<?>... interfaces)
Returns the java.lang.Class object for a proxy class
given a class loader and an array of interfaces. |
|
boolean |
AccessibleObject.isAnnotationPresent(Class<? extends Annotation> annotationClass)
|
|
boolean |
AnnotatedElement.isAnnotationPresent(Class<? extends Annotation> annotationClass)
Returns true if an annotation for the specified type is present on this element, else false. |
|
static boolean |
Proxy.isProxyClass(Class<?> cl)
Returns true if and only if the specified class was dynamically generated to be a proxy class using the getProxyClass
method or the newProxyInstance method. |
|
static Object |
Array.newInstance(Class<?> componentType,
int... dimensions)
Creates a new array with the specified component type and dimensions. |
|
static Object |
Array.newInstance(Class<?> componentType,
int length)
Creates a new array with the specified component type and length. |
|
static Object |
Proxy.newProxyInstance(ClassLoader loader,
Class<?>[] interfaces,
InvocationHandler h)
Returns an instance of a proxy class for the specified interfaces that dispatches method invocations to the specified invocation handler. |
Uses of Class in java.net |
---|
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
URLClassLoader.findClass(String name)
Finds and loads the class with the specified name from the URL search path. |
Class<T> |
SocketOption.type()
Returns the type of the socket option value. |
Modifier and Type | Method and Description |
---|---|
Object |
URLConnection.getContent(Class[] classes)
Retrieves the contents of this URL connection. |
Object |
URL.getContent(Class[] classes)
Gets the contents of this URL. |
Object |
ContentHandler.getContent(URLConnection urlc,
Class[] classes)
Given a URL connect stream positioned at the beginning of the representation of an object, this method reads that stream and creates an object that matches one of the types specified. |
Uses of Class in java.nio.file |
---|
Modifier and Type | Method and Description |
---|---|
Class<T> |
WatchEvent.Kind.type()
Returns the type of the context value. |
Modifier and Type | Method and Description | |
---|---|---|
abstract
|
SecureDirectoryStream.getFileAttributeView(Class<V> type)
Returns a new file attribute view to access the file attributes of this directory. |
|
|
FileRef.getFileAttributeView(Class<V> type,
LinkOption... options)
Returns a file attribute view of a given type. |
|
abstract
|
SecureDirectoryStream.getFileAttributeView(T path,
Class<V> type,
LinkOption... options)
Returns a new file attribute view to access the file attributes of a file in this directory. |
|
abstract
|
FileStore.getFileStoreAttributeView(Class<V> type)
Returns a FileStoreAttributeView of the given type. |
|
abstract boolean |
FileStore.supportsFileAttributeView(Class<? extends FileAttributeView> type)
Tells whether or not this file store supports the file attributes identified by the given file attribute view. |
Uses of Class in java.rmi.server |
---|
Modifier and Type | Method and Description |
---|---|
Class<?> |
LoaderHandler.loadClass(String name)
Deprecated. no replacement |
static Class<?> |
RMIClassLoader.loadClass(String name)
Deprecated. replaced by loadClass(String,String) method |
static Class<?> |
RMIClassLoader.loadClass(String codebase,
String name)
Loads a class from a codebase URL path. |
abstract Class<?> |
RMIClassLoaderSpi.loadClass(String codebase,
String name,
ClassLoader defaultLoader)
Provides the implementation for RMIClassLoader.loadClass(URL,String) ,
RMIClassLoader.loadClass(String,String) , and
RMIClassLoader.loadClass(String,String,ClassLoader) . |
static Class<?> |
RMIClassLoader.loadClass(String codebase,
String name,
ClassLoader defaultLoader)
Loads a class from a codebase URL path, optionally using the supplied loader. |
Class<?> |
LoaderHandler.loadClass(URL codebase,
String name)
Deprecated. no replacement |
static Class<?> |
RMIClassLoader.loadClass(URL codebase,
String name)
Loads a class from a codebase URL. |
abstract Class<?> |
RMIClassLoaderSpi.loadProxyClass(String codebase,
String[] interfaces,
ClassLoader defaultLoader)
Provides the implementation for RMIClassLoader.loadProxyClass(String,String[],ClassLoader) . |
static Class<?> |
RMIClassLoader.loadProxyClass(String codebase,
String[] interfaces,
ClassLoader defaultLoader)
Loads a dynamic proxy class (see Proxy )
that implements a set of interfaces with the given names
from a codebase URL path. |
Modifier and Type | Method and Description |
---|---|
abstract String |
RMIClassLoaderSpi.getClassAnnotation(Class<?> cl)
Provides the implementation for RMIClassLoader.getClassAnnotation(Class) . |
static String |
RMIClassLoader.getClassAnnotation(Class<?> cl)
Returns the annotation string (representing a location for the class definition) that RMI will use to annotate the class descriptor when marshalling objects of the given class. |
Uses of Class in java.security |
---|
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
SecureClassLoader.defineClass(String name,
byte[] b,
int off,
int len,
CodeSource cs)
Converts an array of bytes into an instance of class Class, with an optional CodeSource. |
protected Class<?> |
SecureClassLoader.defineClass(String name,
ByteBuffer b,
CodeSource cs)
Converts a ByteBuffer
into an instance of class Class, with an optional CodeSource. |
Modifier and Type | Method and Description | |
---|---|---|
boolean |
KeyStoreSpi.engineEntryInstanceOf(String alias,
Class<? extends KeyStore.Entry> entryClass)
Determines if the keystore Entry for the specified
alias is an instance or subclass of the specified
entryClass . |
|
protected abstract
|
KeyFactorySpi.engineGetKeySpec(Key key,
Class<T> keySpec)
Returns a specification (key material) of the given key object. |
|
protected abstract
|
AlgorithmParametersSpi.engineGetParameterSpec(Class<T> paramSpec)
Returns a (transparent) specification of this parameters object. |
|
boolean |
KeyStore.entryInstanceOf(String alias,
Class<? extends KeyStore.Entry> entryClass)
Determines if the keystore Entry for the specified
alias is an instance or subclass of the specified
entryClass . |
|
|
KeyFactory.getKeySpec(Key key,
Class<T> keySpec)
Returns a specification (key material) of the given key object. |
|
|
AlgorithmParameters.getParameterSpec(Class<T> paramSpec)
Returns a (transparent) specification of this parameter object. |
Uses of Class in java.sql |
---|
Modifier and Type | Method and Description |
---|---|
Map<String,Class<?>> |
Connection.getTypeMap()
Retrieves the Map object associated with this
Connection object. |
Modifier and Type | Method and Description | |
---|---|---|
|
CallableStatement.getObject(int parameterIndex,
Class<T> type)
Returns an object representing the value of OUT parameter parameterIndex and will convert from the
SQL type of the parameter to the requested Java data type, if the
conversion is supported. |
|
|
ResultSet.getObject(int columnIndex,
Class<T> type)
Retrieves the value of the designated column in the current row of this ResultSet object and will convert from the
SQL type of the column to the requested Java data type, if the
conversion is supported. |
|
|
CallableStatement.getObject(String parameterName,
Class<T> type)
Returns an object representing the value of OUT parameter parameterName and will convert from the
SQL type of the parameter to the requested Java data type, if the
conversion is supported. |
|
|
ResultSet.getObject(String columnLabel,
Class<T> type)
Retrieves the value of the designated column in the current row of this ResultSet object and will convert from the
SQL type of the column to the requested Java data type, if the
conversion is supported. |
|
|
SQLXML.getSource(Class<T> sourceClass)
Returns a Source for reading the XML value designated by this SQLXML instance. |
|
boolean |
Wrapper.isWrapperFor(Class<?> iface)
Returns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does. |
|
|
SQLXML.setResult(Class<T> resultClass)
Returns a Result for setting the XML value designated by this SQLXML instance. |
|
|
Wrapper.unwrap(Class<T> iface)
Returns an object that implements the given interface to allow access to non-standard methods, or standard methods not exposed by the proxy. |
Modifier and Type | Method and Description |
---|---|
Object |
Array.getArray(long index,
int count,
Map<String,Class<?>> map)
Retreives a slice of the SQL ARRAY value
designated by this Array object, beginning with the specified
index and containing up to count
successive elements of the SQL array. |
Object |
Array.getArray(Map<String,Class<?>> map)
Retrieves the contents of the SQL ARRAY value designated by this
Array object. |
Object[] |
Struct.getAttributes(Map<String,Class<?>> map)
Produces the ordered values of the attributes of the SQL structured type that this Struct object represents. |
Object |
CallableStatement.getObject(int parameterIndex,
Map<String,Class<?>> map)
Returns an object representing the value of OUT parameter parameterIndex and uses map for the custom
mapping of the parameter value. |
Object |
ResultSet.getObject(int columnIndex,
Map<String,Class<?>> map)
Retrieves the value of the designated column in the current row of this ResultSet object as an Object
in the Java programming language. |
Object |
Ref.getObject(Map<String,Class<?>> map)
Retrieves the referenced object and maps it to a Java type using the given type map. |
Object |
CallableStatement.getObject(String parameterName,
Map<String,Class<?>> map)
Returns an object representing the value of OUT parameter parameterName and uses map for the custom
mapping of the parameter value. |
Object |
ResultSet.getObject(String columnLabel,
Map<String,Class<?>> map)
Retrieves the value of the designated column in the current row of this ResultSet object as an Object
in the Java programming language. |
ResultSet |
Array.getResultSet(long index,
int count,
Map<String,Class<?>> map)
Retrieves a result set holding the elements of the subarray that starts at index index and contains up to
count successive elements. |
ResultSet |
Array.getResultSet(Map<String,Class<?>> map)
Retrieves a result set that contains the elements of the SQL ARRAY value designated by this Array object. |
void |
Connection.setTypeMap(Map<String,Class<?>> map)
Installs the given TypeMap object as the type map for
this Connection object. |
Uses of Class in java.util |
---|
Modifier and Type | Method and Description |
---|---|
Class<?> |
IllegalFormatConversionException.getArgumentClass()
Returns the class of the mismatched argument. |
Modifier and Type | Method and Description | |
---|---|---|
static
|
EnumSet.allOf(Class<E> elementType)
Creates an enum set containing all of the elements in the specified element type. |
|
static
|
Collections.checkedCollection(Collection<E> c,
Class<E> type)
Returns a dynamically typesafe view of the specified collection. |
|
static
|
Collections.checkedList(List<E> list,
Class<E> type)
Returns a dynamically typesafe view of the specified list. |
|
static
|
Collections.checkedMap(Map<K,V> m,
Class<K> keyType,
Class<V> valueType)
Returns a dynamically typesafe view of the specified map. |
|
static
|
Collections.checkedMap(Map<K,V> m,
Class<K> keyType,
Class<V> valueType)
Returns a dynamically typesafe view of the specified map. |
|
static
|
Collections.checkedSet(Set<E> s,
Class<E> type)
Returns a dynamically typesafe view of the specified set. |
|
static
|
Collections.checkedSortedMap(SortedMap<K,V> m,
Class<K> keyType,
Class<V> valueType)
Returns a dynamically typesafe view of the specified sorted map. |
|
static
|
Collections.checkedSortedMap(SortedMap<K,V> m,
Class<K> keyType,
Class<V> valueType)
Returns a dynamically typesafe view of the specified sorted map. |
|
static
|
Collections.checkedSortedSet(SortedSet<E> s,
Class<E> type)
Returns a dynamically typesafe view of the specified sorted set. |
|
static
|
Arrays.copyOf(U[] original,
int newLength,
Class<? extends T[]> newType)
Copies the specified array, truncating or padding with nulls (if necessary) so the copy has the specified length. |
|
static
|
Arrays.copyOfRange(U[] original,
int from,
int to,
Class<? extends T[]> newType)
Copies the specified range of the specified array into a new array. |
|
static
|
ServiceLoader.load(Class<S> service)
Creates a new service loader for the given service type, using the current thread's context class loader. |
|
static
|
ServiceLoader.load(Class<S> service,
ClassLoader loader)
Creates a new service loader for the given service type and class loader. |
|
static
|
ServiceLoader.loadInstalled(Class<S> service)
Creates a new service loader for the given service type, using the extension class loader. |
|
static
|
EnumSet.noneOf(Class<E> elementType)
Creates an empty enum set with the specified element type. |
Constructor and Description |
---|
EnumMap(Class<K> keyType)
Creates an empty enum map with the specified key type. |
IllegalFormatConversionException(char c,
Class<?> arg)
Constructs an instance of this class with the mismatched conversion and the corresponding argument class. |
Uses of Class in java.util.concurrent.atomic |
---|
Modifier and Type | Method and Description | |
---|---|---|
static
|
AtomicReferenceFieldUpdater.newUpdater(Class<U> tclass,
Class<W> vclass,
String fieldName)
Creates and returns an updater for objects with the given field. |
|
static
|
AtomicReferenceFieldUpdater.newUpdater(Class<U> tclass,
Class<W> vclass,
String fieldName)
Creates and returns an updater for objects with the given field. |
|
static
|
AtomicLongFieldUpdater.newUpdater(Class<U> tclass,
String fieldName)
Creates and returns an updater for objects with the given field. |
|
static
|
AtomicIntegerFieldUpdater.newUpdater(Class<U> tclass,
String fieldName)
Creates and returns an updater for objects with the given field. |
Uses of Class in java.util.prefs |
---|
Modifier and Type | Method and Description |
---|---|
static Preferences |
Preferences.systemNodeForPackage(Class<?> c)
Returns the preference node from the system preference tree that is associated (by convention) with the specified class's package. |
static Preferences |
Preferences.userNodeForPackage(Class<?> c)
Returns the preference node from the calling user's preference tree that is associated (by convention) with the specified class's package. |
Uses of Class in javax.activation |
---|
Modifier and Type | Method and Description |
---|---|
Class |
ActivationDataFlavor.getRepresentationClass()
Return the representation class. |
Constructor and Description |
---|
ActivationDataFlavor(Class representationClass,
String humanPresentableName)
Construct a DataFlavor that represents a MimeType. |
ActivationDataFlavor(Class representationClass,
String mimeType,
String humanPresentableName)
Construct a DataFlavor that represents an arbitrary Java object. |
Uses of Class in javax.annotation.processing |
---|
Modifier and Type | Method and Description |
---|---|
Set<? extends Element> |
RoundEnvironment.getElementsAnnotatedWith(Class<? extends Annotation> a)
Returns the elements annotated with the given annotation type. |
Uses of Class in javax.crypto |
---|
Modifier and Type | Method and Description |
---|---|
protected abstract KeySpec |
SecretKeyFactorySpi.engineGetKeySpec(SecretKey key,
Class keySpec)
Returns a specification (key material) of the given key object in the requested format. |
KeySpec |
SecretKeyFactory.getKeySpec(SecretKey key,
Class keySpec)
Returns a specification (key material) of the given key object in the requested format. |
Uses of Class in javax.imageio.metadata |
---|
Modifier and Type | Method and Description |
---|---|
Class<?> |
IIOMetadataFormatImpl.getObjectClass(String elementName)
|
Class<?> |
IIOMetadataFormat.getObjectClass(String elementName)
Returns the Class type of the Object
reference stored within the element. |
Modifier and Type | Method and Description | |
---|---|---|
protected void |
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class<?> classType,
int arrayMinLength,
int arrayMaxLength)
Allows an Object reference of a given class type
to be stored in nodes implementing the named element. |
|
protected
|
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class<T> classType,
boolean required,
T defaultValue)
Allows an Object reference of a given class type
to be stored in nodes implementing the named element. |
|
protected
|
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class<T> classType,
boolean required,
T defaultValue,
List<? extends T> enumeratedValues)
Allows an Object reference of a given class type
to be stored in nodes implementing the named element. |
|
protected
|
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class<T> classType,
T defaultValue,
Comparable<? super T> minValue,
Comparable<? super T> maxValue,
boolean minInclusive,
boolean maxInclusive)
Allows an Object reference of a given class type
to be stored in nodes implementing the named element. |
Uses of Class in javax.imageio.spi |
---|
Modifier and Type | Field and Description |
---|---|
protected Class<?> |
ImageInputStreamSpi.inputClass
A Class object indicating the legal object type
for use by the createInputStreamInstance method. |
protected Class[] |
ImageReaderSpi.inputTypes
An array of Class objects to be returned from
getInputTypes , initially null . |
protected Class<?> |
ImageOutputStreamSpi.outputClass
A Class object indicating the legal object type
for use by the createInputStreamInstance method. |
protected Class[] |
ImageWriterSpi.outputTypes
An array of Class objects to be returned from
getOutputTypes , initially null . |
static Class[] |
ImageReaderSpi.STANDARD_INPUT_TYPE
Deprecated. Instead of using this field, directly create the equivalent array { ImageInputStream.class } |
static Class[] |
ImageWriterSpi.STANDARD_OUTPUT_TYPE
Deprecated. Instead of using this field, directly create the equivalent array { ImageOutputStream.class } |
Modifier and Type | Method and Description |
---|---|
Class<?> |
ImageInputStreamSpi.getInputClass()
Returns a Class object representing the class or
interface type that must be implemented by an input source in
order to be "wrapped" in an ImageInputStream via
the createInputStreamInstance method. |
Class[] |
ImageReaderSpi.getInputTypes()
Returns an array of Class objects indicating what
types of objects may be used as arguments to the reader's
setInput method. |
Class<?> |
ImageOutputStreamSpi.getOutputClass()
Returns a Class object representing the class or
interface type that must be implemented by an output
destination in order to be "wrapped" in an
ImageOutputStream via the
createOutputStreamInstance method. |
Class[] |
ImageWriterSpi.getOutputTypes()
Returns an array of Class objects indicating what
types of objects may be used as arguments to the writer's
setOutput method. |
Modifier and Type | Method and Description |
---|---|
Iterator<Class<?>> |
ServiceRegistry.getCategories()
Returns an Iterator of Class objects
indicating the current set of categories. |
Modifier and Type | Method and Description | |
---|---|---|
void |
ServiceRegistry.deregisterAll(Class<?> category)
Deregisters all service provider object currently registered under the given category. |
|
|
ServiceRegistry.deregisterServiceProvider(T provider,
Class<T> category)
Removes a service provider object from the given category. |
|
|
ServiceRegistry.getServiceProviderByClass(Class<T> providerClass)
Returns the currently registered service provider object that is of the given class type. |
|
|
ServiceRegistry.getServiceProviders(Class<T> category,
boolean useOrdering)
Returns an Iterator containing all registered
service providers in the given category. |
|
|
ServiceRegistry.getServiceProviders(Class<T> category,
ServiceRegistry.Filter filter,
boolean useOrdering)
Returns an Iterator containing service provider
objects within a given category that satisfy a criterion
imposed by the supplied ServiceRegistry.Filter
object's filter method. |
|
static
|
ServiceRegistry.lookupProviders(Class<T> providerClass)
Locates and incrementally instantiates the available providers of a given service using the context class loader. |
|
static
|
ServiceRegistry.lookupProviders(Class<T> providerClass,
ClassLoader loader)
Searches for implementations of a particular service class using the given class loader. |
|
void |
RegisterableService.onDeregistration(ServiceRegistry registry,
Class<?> category)
Called when an object implementing this interface is removed from the given category of the given
registry . |
|
void |
IIOServiceProvider.onDeregistration(ServiceRegistry registry,
Class<?> category)
A callback that will be whenever the Spi class has been deregistered from a ServiceRegistry . |
|
void |
RegisterableService.onRegistration(ServiceRegistry registry,
Class<?> category)
Called when an object implementing this interface is added to the given category of the given
registry . |
|
void |
IIOServiceProvider.onRegistration(ServiceRegistry registry,
Class<?> category)
A callback that will be called exactly once after the Spi class has been instantiated and registered in a ServiceRegistry . |
|
|
ServiceRegistry.registerServiceProvider(T provider,
Class<T> category)
Adds a service provider object to the registry. |
|
|
ServiceRegistry.setOrdering(Class<T> category,
T firstProvider,
T secondProvider)
Sets a pairwise ordering between two service provider objects within a given category. |
|
|
ServiceRegistry.unsetOrdering(Class<T> category,
T firstProvider,
T secondProvider)
Sets a pairwise ordering between two service provider objects within a given category. |
Constructor and Description |
---|
ImageInputStreamSpi(String vendorName,
String version,
Class<?> inputClass)
Constructs an ImageInputStreamSpi with a given set
of values. |
ImageOutputStreamSpi(String vendorName,
String version,
Class<?> outputClass)
Constructs an ImageOutputStreamSpi with a given
set of values. |
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an ImageReaderSpi with a given
set of values. |
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an ImageWriterSpi with a given
set of values. |
Constructor and Description |
---|
ServiceRegistry(Iterator<Class<?>> categories)
Constructs a ServiceRegistry instance with a
set of categories taken from the categories
argument. |
Uses of Class in javax.lang.model.element |
---|
Modifier and Type | Method and Description | |
---|---|---|
|
Element.getAnnotation(Class<A> annotationType)
Returns this element's annotation for the specified type if such an annotation is present, else null . |
Uses of Class in javax.management |
---|
Modifier and Type | Method and Description |
---|---|
Class<?> |
StandardMBean.getImplementationClass()
Get the class of the implementation of this Standard MBean (or MXBean). |
Class<?> |
StandardMBean.getMBeanInterface()
Get the Management Interface of this Standard MBean (or MXBean). |
static Class<?> |
DefaultLoaderRepository.loadClass(String className)
Deprecated. Go through the list of class loaders and try to load the requested class. |
static Class<?> |
DefaultLoaderRepository.loadClassWithout(ClassLoader loader,
String className)
Deprecated. Go through the list of class loaders but exclude the given class loader, then try to load the requested class. |
Modifier and Type | Method and Description | |
---|---|---|
static boolean |
JMX.isMXBeanInterface(Class<?> interfaceClass)
Test whether an interface is an MXBean interface. |
|
static
|
JMX.newMBeanProxy(MBeanServerConnection connection,
ObjectName objectName,
Class<T> interfaceClass)
Make a proxy for a Standard MBean in a local or remote MBean Server. |
|
static
|
JMX.newMBeanProxy(MBeanServerConnection connection,
ObjectName objectName,
Class<T> interfaceClass,
boolean notificationEmitter)
Make a proxy for a Standard MBean in a local or remote MBean Server that may also support the methods of NotificationEmitter . |
|
static
|
JMX.newMXBeanProxy(MBeanServerConnection connection,
ObjectName objectName,
Class<T> interfaceClass)
Make a proxy for an MXBean in a local or remote MBean Server. |
|
static
|
JMX.newMXBeanProxy(MBeanServerConnection connection,
ObjectName objectName,
Class<T> interfaceClass,
boolean notificationEmitter)
Make a proxy for an MXBean in a local or remote MBean Server that may also support the methods of NotificationEmitter . |
|
static
|
MBeanServerInvocationHandler.newProxyInstance(MBeanServerConnection connection,
ObjectName objectName,
Class<T> interfaceClass,
boolean notificationBroadcaster)
Return a proxy that implements the given interface by forwarding its methods through the given MBean server to the named MBean. |
Constructor and Description |
---|
StandardEmitterMBean(Class<?> mbeanInterface,
boolean isMXBean,
NotificationEmitter emitter)
Make an MBean whose management interface is specified by mbeanInterface , and where notifications are handled by
the given NotificationEmitter . |
StandardEmitterMBean(Class<?> mbeanInterface,
NotificationEmitter emitter)
Make an MBean whose management interface is specified by mbeanInterface , and
where notifications are handled by the given NotificationEmitter . |
StandardEmitterMBean(T implementation,
Class<T> mbeanInterface,
boolean isMXBean,
NotificationEmitter emitter)
Make an MBean whose management interface is specified by mbeanInterface , with the given implementation and where
notifications are handled by the given NotificationEmitter . |
StandardEmitterMBean(T implementation,
Class<T> mbeanInterface,
NotificationEmitter emitter)
Make an MBean whose management interface is specified by mbeanInterface , with the given implementation and
where notifications are handled by the given NotificationEmitter . |
StandardMBean(Class<?> mbeanInterface)
Make a DynamicMBean out of this, using the specified mbeanInterface class. |
StandardMBean(Class<?> mbeanInterface,
boolean isMXBean)
Make a DynamicMBean out of this, using the specified mbeanInterface class, and choosing whether the resulting MBean is an MXBean. |
StandardMBean(T implementation,
Class<T> mbeanInterface)
Make a DynamicMBean out of the object implementation, using the specified mbeanInterface class. |
StandardMBean(T implementation,
Class<T> mbeanInterface,
boolean isMXBean)
Make a DynamicMBean out of the object implementation, using the specified mbeanInterface class, and choosing whether the resultant MBean is an MXBean. |
Uses of Class in javax.management.loading |
---|
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
MLet.findClass(String name)
This is the main method for class loaders that is being redefined. |
static Class<?> |
DefaultLoaderRepository.loadClass(String className)
Deprecated. Go through the list of class loaders and try to load the requested class. |
Class<?> |
ClassLoaderRepository.loadClass(String className)
Load the given class name through the list of class loaders. |
Class<?> |
MLet.loadClass(String name,
ClassLoaderRepository clr)
Load a class, using the given ClassLoaderRepository if
the class is not found in this MLet's URLs. |
Class<?> |
ClassLoaderRepository.loadClassBefore(ClassLoader stop,
String className)
Load the given class name through the list of class loaders, stopping at the given one. |
static Class<?> |
DefaultLoaderRepository.loadClassWithout(ClassLoader loader,
String className)
Deprecated. Go through the list of class loaders but exclude the given class loader, then try to load the requested class. |
Class<?> |
ClassLoaderRepository.loadClassWithout(ClassLoader exclude,
String className)
Load the given class name through the list of class loaders, excluding the given one. |
Uses of Class in javax.management.openmbean |
---|
Modifier and Type | Method and Description | |
---|---|---|
static
|
ArrayType.getPrimitiveArrayType(Class<T> arrayClass)
Create an ArrayType instance in a type-safe manner. |
Uses of Class in javax.naming.spi |
---|
Modifier and Type | Method and Description |
---|---|
ResolveResult |
Resolver.resolveToClass(Name name,
Class<? extends Context> contextType)
Partially resolves a name. |
ResolveResult |
Resolver.resolveToClass(String name,
Class<? extends Context> contextType)
Partially resolves a name. |
Uses of Class in javax.print |
---|
Modifier and Type | Method and Description |
---|---|
Class<?>[] |
PrintService.getSupportedAttributeCategories()
Determines the printing attribute categories a client can specify when setting up a job for this print service. |
Class[] |
AttributeException.getUnsupportedAttributes()
Returns the array of printing attribute classes for which the Print Service instance does not support the attribute at all, or null if there are no such attributes. |
Modifier and Type | Method and Description | |
---|---|---|
|
PrintService.getAttribute(Class<T> category)
Gets the value of the single specified service attribute. |
|
Object |
PrintService.getDefaultAttributeValue(Class<? extends Attribute> category)
Determines this print service's default printing attribute value in the given category. |
|
Object |
PrintService.getSupportedAttributeValues(Class<? extends Attribute> category,
DocFlavor flavor,
AttributeSet attributes)
Determines the printing attribute values a client can specify in the given category when setting up a job for this print service. |
|
boolean |
PrintService.isAttributeCategorySupported(Class<? extends Attribute> category)
Determines whether a client can specify the given printing attribute category when setting up a job for this print service. |
Uses of Class in javax.print.attribute |
---|
Modifier and Type | Method and Description |
---|---|
Class<? extends Attribute> |
Attribute.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value when it is added to an attribute set. |
static Class<?> |
AttributeSetUtilities.verifyAttributeCategory(Object object,
Class<?> interfaceName)
Verify that the given object is a Class that
implements the given interface, which is assumed to be interface Attribute or a subinterface thereof. |
Modifier and Type | Method and Description |
---|---|
boolean |
HashAttributeSet.containsKey(Class<?> category)
Returns true if this attribute set contains an attribute for the specified category. |
boolean |
AttributeSet.containsKey(Class<?> category)
Returns true if this attribute set contains an attribute for the specified category. |
Attribute |
HashAttributeSet.get(Class<?> category)
Returns the attribute value which this attribute set contains in the given attribute category. |
Attribute |
AttributeSet.get(Class<?> category)
Returns the attribute value which this attribute set contains in the given attribute category. |
boolean |
HashAttributeSet.remove(Class<?> category)
Removes any attribute for this category from this attribute set if present. |
boolean |
AttributeSet.remove(Class<?> category)
Removes any attribute for this category from this attribute set if present. |
static Class<?> |
AttributeSetUtilities.verifyAttributeCategory(Object object,
Class<?> interfaceName)
Verify that the given object is a Class that
implements the given interface, which is assumed to be interface Attribute or a subinterface thereof. |
static Attribute |
AttributeSetUtilities.verifyAttributeValue(Object object,
Class<?> interfaceName)
Verify that the given object is an instance of the given interface, which is assumed to be interface Attribute or a subinterface
thereof. |
static void |
AttributeSetUtilities.verifyCategoryForValue(Class<?> category,
Attribute attribute)
Verify that the given attribute category object is equal to the category of the given attribute value object. |
Constructor and Description |
---|
HashAttributeSet(Attribute[] attributes,
Class<?> interfaceName)
Construct a new attribute set, where the members of the attribute set are restricted to the given interface. |
HashAttributeSet(Attribute attribute,
Class<?> interfaceName)
Construct a new attribute set, initially populated with the given attribute, where the members of the attribute set are restricted to the given interface. |
HashAttributeSet(AttributeSet attributes,
Class<?> interfaceName)
Construct a new attribute set, initially populated with the values from the given set where the members of the attribute set are restricted to the given interface. |
HashAttributeSet(Class<?> interfaceName)
Construct a new, empty attribute set, where the members of the attribute set are restricted to the given interface. |
Uses of Class in javax.print.attribute.standard |
---|
Modifier and Type | Method and Description |
---|---|
Class<? extends Attribute> |
SheetCollate.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
Sides.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
RequestingUserName.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
ReferenceUriSchemesSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
QueuedJobCount.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrintQuality.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterURI.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
Severity.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterStateReasons.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterStateReason.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterState.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterResolution.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterMoreInfoManufacturer.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterName.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterMoreInfo.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterMessageFromOperator.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterMakeAndModel.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterLocation.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterIsAcceptingJobs.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PrinterInfo.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PresentationDirection.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PDLOverrideSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PagesPerMinuteColor.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PagesPerMinute.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
PageRanges.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
OutputDeviceAssigned.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
NumberUpSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
NumberUp.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
NumberOfInterveningJobs.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
NumberOfDocuments.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
MultipleDocumentHandling.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobStateReasons.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobStateReason.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobState.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobSheets.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobPrioritySupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobPriority.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobOriginatingUserName.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobMessageFromOperator.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobMediaSheetsSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobMediaSheetsCompleted.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobName.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobMediaSheets.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobKOctetsSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobKOctetsProcessed.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobKOctets.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobImpressionsSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobImpressionsCompleted.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobImpressions.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
JobHoldUntil.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
Finishings.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
Fidelity.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
DocumentName.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class |
DialogTypeSelection.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
Destination.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
DateTimeAtProcessing.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
DateTimeAtCreation.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
DateTimeAtCompleted.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
CopiesSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
Copies.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
Compression.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
ColorSupported.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
Chromaticity.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
OrientationRequested.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
MediaSize.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
MediaPrintableArea.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Class<? extends Attribute> |
Media.getCategory()
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
Uses of Class in javax.rmi |
---|
Modifier and Type | Method and Description |
---|---|
static Object |
PortableRemoteObject.narrow(Object narrowFrom,
Class narrowTo)
Checks to ensure that an object of a remote or abstract interface type can be cast to a desired type. |
Uses of Class in javax.rmi.CORBA |
---|
Modifier and Type | Method and Description |
---|---|
Class |
UtilDelegate.loadClass(String className,
String remoteCodebase,
ClassLoader loader)
Delegation call for Util.loadClass(java.lang.String, java.lang.String, java.lang.ClassLoader) . |
static Class |
Util.loadClass(String className,
String remoteCodebase,
ClassLoader loader)
Returns a class instance for the specified class. |
Modifier and Type | Method and Description |
---|---|
String |
UtilDelegate.getCodebase(Class clz)
Delegation call for Util.getCodebase(java.lang.Class) . |
static String |
Util.getCodebase(Class clz)
Returns the codebase, if any, for the given class. |
String |
ValueHandler.getRMIRepositoryID(Class clz)
Returns the CORBA RepositoryId for the given Java class. |
boolean |
ValueHandler.isCustomMarshaled(Class clz)
Indicates whether the given class performs custom or default marshaling. |
Object |
PortableRemoteObjectDelegate.narrow(Object narrowFrom,
Class narrowTo)
Delegation call for PortableRemoteObject.narrow(java.lang.Object, java.lang.Class) . |
Serializable |
ValueHandler.readValue(InputStream in,
int offset,
Class clz,
String repositoryID,
RunTime sender)
Reads a value from the stream using Java semantics. |
Uses of Class in javax.script |
---|
Modifier and Type | Method and Description | |
---|---|---|
|
Invocable.getInterface(Class<T> clasz)
Returns an implementation of an interface using functions compiled in the interpreter. |
|
|
Invocable.getInterface(Object thiz,
Class<T> clasz)
Returns an implementation of an interface using member functions of a scripting object compiled in the interpreter. |
Uses of Class in javax.security.auth |
---|
Modifier and Type | Method and Description | |
---|---|---|
|
Subject.getPrincipals(Class<T> c)
Return a Set of Principals associated with this
Subject that are instances or subclasses of the specified
Class . |
|
|
Subject.getPrivateCredentials(Class<T> c)
Return a Set of private credentials associated with this
Subject that are instances or subclasses of the specified
Class . |
|
|
Subject.getPublicCredentials(Class<T> c)
Return a Set of public credentials associated with this
Subject that are instances or subclasses of the specified
Class . |
Uses of Class in javax.sound.midi |
---|
Modifier and Type | Method and Description |
---|---|
Class<?> |
SoundbankResource.getDataClass()
Obtains the class used by this sample to represent its data. |
Constructor and Description |
---|
Instrument(Soundbank soundbank,
Patch patch,
String name,
Class<?> dataClass)
Constructs a new MIDI instrument from the specified Patch . |
SoundbankResource(Soundbank soundBank,
String name,
Class<?> dataClass)
Constructs a new SoundbankResource from the given sound bank
and wavetable index. |
Uses of Class in javax.sound.sampled |
---|
Modifier and Type | Method and Description |
---|---|
Class<?> |
Line.Info.getLineClass()
Obtains the class of the line that this Line.Info object describes. |
Constructor and Description |
---|
DataLine.Info(Class<?> lineClass,
AudioFormat format)
Constructs a data line's info object from the specified information, which includes a single audio format. |
DataLine.Info(Class<?> lineClass,
AudioFormat[] formats,
int minBufferSize,
int maxBufferSize)
Constructs a data line's info object from the specified information, which includes a set of supported audio formats and a range for the buffer size. |
DataLine.Info(Class<?> lineClass,
AudioFormat format,
int bufferSize)
Constructs a data line's info object from the specified information, which includes a single audio format and a desired buffer size. |
Line.Info(Class<?> lineClass)
Constructs an info object that describes a line of the specified class. |
Port.Info(Class<?> lineClass,
String name,
boolean isSource)
Constructs a port's info object from the information given. |
Uses of Class in javax.sql |
---|
Modifier and Type | Method and Description |
---|---|
Map<String,Class<?>> |
RowSet.getTypeMap()
Retrieves the Map object associated with this
RowSet object, which specifies the custom mapping
of SQL user-defined types, if any. |
Modifier and Type | Method and Description |
---|---|
void |
RowSet.setTypeMap(Map<String,Class<?>> map)
Installs the given java.util.Map object as the default
type map for this RowSet object. |
Uses of Class in javax.sql.rowset |
---|
Modifier and Type | Method and Description |
---|---|
Map<String,Class<?>> |
BaseRowSet.getTypeMap()
Retrieves the type map associated with the Connection
object for this RowSet object. |
Modifier and Type | Method and Description | |
---|---|---|
boolean |
RowSetMetaDataImpl.isWrapperFor(Class<?> interfaces)
Returns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does. |
|
|
RowSetMetaDataImpl.unwrap(Class<T> iface)
Returns an object that implements the given interface to allow access to non-standard methods, or standard methods not exposed by the proxy. |
Modifier and Type | Method and Description |
---|---|
void |
BaseRowSet.setTypeMap(Map<String,Class<?>> map)
Installs the given java.util.Map object as the type map
associated with the Connection object for this
RowSet object. |
Uses of Class in javax.sql.rowset.serial |
---|
Modifier and Type | Method and Description |
---|---|
Object |
SerialArray.getArray(long index,
int count,
Map<String,Class<?>> map)
Returns a new array that is a copy of a slice of this SerialArray object, starting with the
element at the given index and containing the given number
of consecutive elements. |
Object |
SerialArray.getArray(Map<String,Class<?>> map)
Returns a new array that is a copy of this SerialArray
object, using the given type map for the custom
mapping of each element when the elements are SQL UDTs. |
Object[] |
SerialStruct.getAttributes(Map<String,Class<?>> map)
Retrieves the attributes for the SQL structured type that this SerialStruct represents as an array of
Object values, using the given type map for
custom mapping if appropriate. |
Object |
SerialRef.getObject(Map<String,Class<?>> map)
Returns an Object representing the SQL structured type
to which this SerialRef object refers. |
ResultSet |
SerialArray.getResultSet(long index,
int count,
Map<String,Class<?>> map)
Retrieves a result set holding the elements of the subarray that starts at Retrieves a ResultSet object that contains a subarray of the
elements in this SerialArray object, starting at
index index and containing up to count successive
elements. |
ResultSet |
SerialArray.getResultSet(Map<String,Class<?>> map)
Retrieves a ResultSet object that contains all of
the elements of the SQL ARRAY
value represented by this SerialArray object. |
Constructor and Description |
---|
SerialArray(Array array,
Map<String,Class<?>> map)
Constructs a new SerialArray object from the given
Array object, using the given type map for the custom
mapping of each element when the elements are SQL UDTs. |
SerialStruct(SQLData in,
Map<String,Class<?>> map)
Constructs a SerialStruct object from the
given SQLData object, using the given type
map to custom map it to a class in the Java programming
language. |
SerialStruct(Struct in,
Map<String,Class<?>> map)
Constructs a SerialStruct object from the given
Struct object, using the given java.util.Map
object for custom mapping the SQL structured type or any of its
attributes that are SQL structured types. |
SQLInputImpl(Object[] attributes,
Map<String,Class<?>> map)
Creates an SQLInputImpl object initialized with the
given array of attributes and the given type map. |
Uses of Class in javax.swing |
---|
Modifier and Type | Method and Description |
---|---|
Class<?> |
JTable.getColumnClass(int column)
Returns the type of the column appearing in the view at column position column . |
Class<? extends ComponentUI> |
UIDefaults.getUIClass(String uiClassID)
Returns the L&F class that renders this component. |
Class<? extends ComponentUI> |
UIDefaults.getUIClass(String uiClassID,
ClassLoader uiClassLoader)
The value of get(uidClassID) must be the
String name of a
class that implements the corresponding ComponentUI
class. |
Modifier and Type | Method and Description | |
---|---|---|
static Container |
SwingUtilities.getAncestorOfClass(Class<?> c,
Component comp)
Convenience method for searching above comp in the
component hierarchy and returns the first object of class c it
finds. |
|
TableCellEditor |
JTable.getDefaultEditor(Class<?> columnClass)
Returns the editor to be used when no editor has been set in a TableColumn . |
|
TableCellRenderer |
JTable.getDefaultRenderer(Class<?> columnClass)
Returns the cell renderer to be used when no renderer has been set in a TableColumn . |
|
|
AbstractSpinnerModel.getListeners(Class<T> listenerType)
Return an array of all the listeners of the given type that were added to this model. |
|
|
DefaultBoundedRangeModel.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this model. |
|
|
AbstractListModel.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this model. |
|
|
DefaultSingleSelectionModel.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this model. |
|
|
DefaultListSelectionModel.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this model. |
|
|
DefaultButtonModel.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this model. |
|
|
JComponent.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this JComponent . |
|
|
Timer.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this Timer . |
|
static Object |
LookAndFeel.makeIcon(Class<?> baseClass,
String gifFile)
Creates and returns a UIDefault.LazyValue that loads an
image. |
|
void |
JTable.setDefaultEditor(Class<?> columnClass,
TableCellEditor editor)
Sets a default cell editor to be used if no editor has been set in a TableColumn . |
|
void |
JTable.setDefaultRenderer(Class<?> columnClass,
TableCellRenderer renderer)
Sets a default cell renderer to be used if no renderer has been set in a TableColumn . |
Uses of Class in javax.swing.event |
---|
Modifier and Type | Method and Description | |
---|---|---|
|
EventListenerList.add(Class<T> t,
T l)
Adds the listener as a listener of the specified type. |
|
int |
EventListenerList.getListenerCount(Class<?> t)
Returns the total number of listeners of the supplied type for this listener list. |
|
|
EventListenerList.getListeners(Class<T> t)
Return an array of all the listeners of the given type. |
|
|
EventListenerList.remove(Class<T> t,
T l)
Removes the listener as a listener of the specified type. |
Uses of Class in javax.swing.plaf.synth |
---|
Modifier and Type | Method and Description |
---|---|
void |
SynthLookAndFeel.load(InputStream input,
Class<?> resourceBase)
Loads the set of SynthStyle s that will be used by
this SynthLookAndFeel . |
Uses of Class in javax.swing.table |
---|
Modifier and Type | Method and Description |
---|---|
Class<?> |
AbstractTableModel.getColumnClass(int columnIndex)
Returns Object.class regardless of columnIndex . |
Class<?> |
TableModel.getColumnClass(int columnIndex)
Returns the most specific superclass for all the cell values in the column. |
Modifier and Type | Method and Description | |
---|---|---|
|
DefaultTableColumnModel.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this model. |
|
|
AbstractTableModel.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this AbstractTableModel . |
Uses of Class in javax.swing.text |
---|
Modifier and Type | Method and Description |
---|---|
Class<?> |
DefaultFormatter.getValueClass()
Returns that class that is used to create new Objects. |
Modifier and Type | Method and Description | |
---|---|---|
|
StyleContext.NamedStyle.getListeners(Class<T> listenerType)
Return an array of all the listeners of the given type that were added to this model. |
|
|
AbstractDocument.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this document. |
|
|
DefaultCaret.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this caret. |
|
void |
DefaultFormatter.setValueClass(Class<?> valueClass)
Sets that class that is used to create new Objects. |
Uses of Class in javax.swing.tree |
---|
Modifier and Type | Method and Description | |
---|---|---|
|
DefaultTreeModel.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this model. |
|
|
DefaultTreeSelectionModel.getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener s
upon this model. |
Uses of Class in javax.xml.bind |
---|
Modifier and Type | Field and Description |
---|---|
protected Class<T> |
JAXBElement.declaredType
Java datatype binding for xml element declaration's type. |
protected Class |
JAXBElement.scope
Scope of xml element declaration representing this xml element instance. |
Modifier and Type | Method and Description |
---|---|
Class<T> |
JAXBElement.getDeclaredType()
Returns the Java binding of the xml element declaration's type attribute. |
Class |
JAXBElement.getScope()
Returns scope of xml element declaration. |
Modifier and Type | Method and Description | |
---|---|---|
|
JAXBContext.createBinder(Class<T> domType)
Creates a Binder object that can be used for associative/in-place unmarshalling/marshalling. |
|
|
Unmarshaller.getAdapter(Class<A> type)
Gets the adapter associated with the specified type. |
|
|
Marshaller.getAdapter(Class<A> type)
Gets the adapter associated with the specified type. |
|
static JAXBContext |
JAXBContext.newInstance(Class... classesToBeBound)
Obtain a new instance of a JAXBContext class. |
|
static JAXBContext |
JAXBContext.newInstance(Class[] classesToBeBound,
Map<String,?> properties)
Obtain a new instance of a JAXBContext class. |
|
|
Unmarshaller.setAdapter(Class<A> type,
A adapter)
Associates a configured instance of XmlAdapter with this unmarshaller. |
|
|
Marshaller.setAdapter(Class<A> type,
A adapter)
Associates a configured instance of XmlAdapter with this marshaller. |
|
static
|
JAXB.unmarshal(File xml,
Class<T> type)
Reads in a Java object tree from the given XML input. |
|
static
|
JAXB.unmarshal(InputStream xml,
Class<T> type)
Reads in a Java object tree from the given XML input. |
|
|
Unmarshaller.unmarshal(Node node,
Class<T> declaredType)
Unmarshal XML data by JAXB mapped declaredType and return the resulting content tree. |
|
static
|
JAXB.unmarshal(Reader xml,
Class<T> type)
Reads in a Java object tree from the given XML input. |
|
|
Unmarshaller.unmarshal(Source source,
Class<T> declaredType)
Unmarshal XML data from the specified XML Source by declaredType and return the resulting content tree. |
|
static
|
JAXB.unmarshal(Source xml,
Class<T> type)
Reads in a Java object tree from the given XML input. |
|
static
|
JAXB.unmarshal(String xml,
Class<T> type)
Reads in a Java object tree from the given XML input. |
|
static
|
JAXB.unmarshal(URI xml,
Class<T> type)
Reads in a Java object tree from the given XML input. |
|
static
|
JAXB.unmarshal(URL xml,
Class<T> type)
Reads in a Java object tree from the given XML input. |
|
|
Unmarshaller.unmarshal(XMLEventReader reader,
Class<T> declaredType)
Unmarshal root element to JAXB mapped declaredType and return the resulting content tree. |
|
abstract
|
Binder.unmarshal(XmlNode xmlNode,
Class<T> declaredType)
Unmarshal XML root element by provided declaredType to a JAXB object tree. |
|
|
Unmarshaller.unmarshal(XMLStreamReader reader,
Class<T> declaredType)
Unmarshal root element to JAXB mapped declaredType and return the resulting content tree. |
Constructor and Description |
---|
JAXBElement(QName name,
Class<T> declaredType,
Class scope,
T value)
Construct an xml element instance. |
JAXBElement(QName name,
Class<T> declaredType,
Class scope,
T value)
Construct an xml element instance. |
JAXBElement(QName name,
Class<T> declaredType,
T value)
Construct an xml element instance. |
Uses of Class in javax.xml.bind.helpers |
---|
Modifier and Type | Method and Description | |
---|---|---|
|
AbstractUnmarshallerImpl.getAdapter(Class<A> type)
|
|
|
AbstractMarshallerImpl.getAdapter(Class<A> type)
|
|
|
AbstractUnmarshallerImpl.setAdapter(Class<A> type,
A adapter)
|
|
|
AbstractMarshallerImpl.setAdapter(Class<A> type,
A adapter)
|
|
|
AbstractUnmarshallerImpl.unmarshal(Node node,
Class<T> expectedType)
|
|
|
AbstractUnmarshallerImpl.unmarshal(Source source,
Class<T> expectedType)
|
|
|
AbstractUnmarshallerImpl.unmarshal(XMLEventReader reader,
Class<T> expectedType)
|
|
|
AbstractUnmarshallerImpl.unmarshal(XMLStreamReader reader,
Class<T> expectedType)
|
Uses of Class in javax.xml.ws |
---|
Modifier and Type | Method and Description | |
---|---|---|
|
Service.createDispatch(EndpointReference endpointReference,
Class<T> type,
Service.Mode mode,
WebServiceFeature... features)
Creates a Dispatch instance for use with objects of
the client's choosing. |
|
|
Service.createDispatch(QName portName,
Class<T> type,
Service.Mode mode)
Creates a Dispatch instance for use with objects of
the client's choosing. |
|
|
Service.createDispatch(QName portName,
Class<T> type,
Service.Mode mode,
WebServiceFeature... features)
Creates a Dispatch instance for use with objects of
the client's choosing. |
|
|
BindingProvider.getEndpointReference(Class<T> clazz)
Returns the EndpointReference associated with
this BindingProvider instance. |
|
|
WebServiceContext.getEndpointReference(Class<T> clazz,
Element... referenceParameters)
Returns the EndpointReference associated with
this endpoint. |
|
abstract
|
Endpoint.getEndpointReference(Class<T> clazz,
Element... referenceParameters)
Returns the EndpointReference associated with
this Endpoint instance. |
|
|
Service.getPort(Class<T> serviceEndpointInterface)
The getPort method returns a proxy. |
|
|
Service.getPort(Class<T> serviceEndpointInterface,
WebServiceFeature... features)
The getPort method returns a proxy. |
|
|
EndpointReference.getPort(Class<T> serviceEndpointInterface,
WebServiceFeature... features)
The getPort method returns a proxy. |
|
|
Service.getPort(EndpointReference endpointReference,
Class<T> serviceEndpointInterface,
WebServiceFeature... features)
The getPort method returns a proxy. |
|
|
Service.getPort(QName portName,
Class<T> serviceEndpointInterface)
The getPort method returns a proxy. |
|
|
Service.getPort(QName portName,
Class<T> serviceEndpointInterface,
WebServiceFeature... features)
The getPort method returns a proxy. |
Uses of Class in javax.xml.ws.spi |
---|
Modifier and Type | Method and Description | |
---|---|---|
abstract
|
ServiceDelegate.createDispatch(EndpointReference endpointReference,
Class<T> type,
Service.Mode mode,
WebServiceFeature... features)
Creates a Dispatch instance for use with objects of
the user's choosing. |
|
abstract
|
ServiceDelegate.createDispatch(QName portName,
Class<T> type,
Service.Mode mode)
Creates a Dispatch instance for use with objects of
the user's choosing. |
|
abstract
|
ServiceDelegate.createDispatch(QName portName,
Class<T> type,
Service.Mode mode,
WebServiceFeature... features)
Creates a Dispatch instance for use with objects of
the user's choosing. |
|
Endpoint |
Provider.createEndpoint(String bindingId,
Class<?> implementorClass,
Invoker invoker,
WebServiceFeature... features)
Creates an endpoint object with the provided binding, implementation class, invoker and web service features. |
|
abstract ServiceDelegate |
Provider.createServiceDelegate(URL wsdlDocumentLocation,
QName serviceName,
Class<? extends Service> serviceClass)
Creates a service delegate object. |
|
ServiceDelegate |
Provider.createServiceDelegate(URL wsdlDocumentLocation,
QName serviceName,
Class<? extends Service> serviceClass,
WebServiceFeature... features)
Creates a service delegate object. |
|
abstract
|
ServiceDelegate.getPort(Class<T> serviceEndpointInterface)
The getPort method returns a proxy. |
|
abstract
|
ServiceDelegate.getPort(Class<T> serviceEndpointInterface,
WebServiceFeature... features)
The getPort method returns a proxy. |
|
abstract
|
ServiceDelegate.getPort(EndpointReference endpointReference,
Class<T> serviceEndpointInterface,
WebServiceFeature... features)
The getPort method returns a proxy. |
|
abstract
|
Provider.getPort(EndpointReference endpointReference,
Class<T> serviceEndpointInterface,
WebServiceFeature... features)
The getPort method returns a proxy. |
|
abstract
|
ServiceDelegate.getPort(QName portName,
Class<T> serviceEndpointInterface)
The getPort method returns a proxy. |
|
abstract
|
ServiceDelegate.getPort(QName portName,
Class<T> serviceEndpointInterface,
WebServiceFeature... features)
The getPort method returns a proxy. |
Uses of Class in org.omg.CORBA |
---|
Modifier and Type | Method and Description |
---|---|
ServantObject |
LocalObject._servant_preinvoke(String operation,
Class expectedType)
Throws an org.omg.CORBA.NO_IMPLEMENT exception with
the message "This is a locally constrained object."
This method is the default implementation of the
org.omg.CORBA.Object method. |
Uses of Class in org.omg.CORBA_2_3.portable |
---|
Modifier and Type | Method and Description |
---|---|
Object |
InputStream.read_abstract_interface(Class clz)
Unmarshal the class object or the stub class corresponding to the passed type. |
Serializable |
InputStream.read_value(Class clz)
Unmarshalls a value type from the input stream. |
void |
OutputStream.write_value(Serializable value,
Class clz)
Marshals a value type to the output stream. |
Uses of Class in org.omg.CORBA.portable |
---|
Modifier and Type | Method and Description |
---|---|
ServantObject |
ObjectImpl._servant_preinvoke(String operation,
Class expectedType)
Returns a Java reference to the local servant that should be used for sending a request for the method specified. |
Object |
InputStream.read_Object(Class clz)
Unmarshals an object and returns a CORBA Object, which is an instance of the class passed as its argument. |
ServantObject |
Delegate.servant_preinvoke(Object self,
String operation,
Class expectedType)
Returns a Java reference to the servant which should be used for this request. |
Uses of Class in org.omg.DynamicAny |
---|
Modifier and Type | Field and Description |
---|---|
static Class |
_DynValueStub._opsClass
|
static Class |
_DynUnionStub._opsClass
|
static Class |
_DynStructStub._opsClass
|
static Class |
_DynSequenceStub._opsClass
|
static Class |
_DynFixedStub._opsClass
|
static Class |
_DynEnumStub._opsClass
|
static Class |
_DynArrayStub._opsClass
|
static Class |
_DynAnyStub._opsClass
|
static Class |
_DynAnyFactoryStub._opsClass
|
Uses of Class in org.omg.PortableServer |
---|
Modifier and Type | Field and Description |
---|---|
static Class |
_ServantLocatorStub._opsClass
|
static Class |
_ServantActivatorStub._opsClass
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.