クラスjava.lang.ClassCastException
の使用
ClassCastExceptionを使用するパッケージ
パッケージ
説明
java.lang.invokeパッケージは、Java Virtual Machineとやりとりするための低レベルのプリミティブを提供します。DOMImplementationのインスタンスを取得するためのファクトリを提供します。SAXベースのアプリケーションのブートストラップをサポートするなど、ヘルパー・クラスを提供します。
-
java.lang.invokeでのClassCastExceptionの使用
ClassCastExceptionを投げるjava.lang.invokeのメソッド修飾子と型メソッド説明static ObjectConstantBootstraps.explicitCast(MethodHandles.Lookup lookup, String name, Class<?> dstType, Object value) ソース・タイプから宛先タイプへの変換を適用します。 -
org.w3c.dom.bootstrapでのClassCastExceptionの使用
修飾子と型メソッド説明static DOMImplementationRegistryDOMImplementationRegistry.newInstance()DOMImplementationRegistryの新しいインスタンスを取得します。 -
org.xml.sax.helpersでのClassCastExceptionの使用
修飾子と型メソッド説明static ParserParserFactory.makeParser()非推奨。システム・プロパティ`org.xml.sax.parser'を使って新しいSAXパーサーを作成します。static ParserParserFactory.makeParser(String className) 非推奨。クラス名を指定して新しいSAXパーサー・オブジェクトを作成します。