站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v6.0, Java 2 SDK 英文文档

Uses of Class java.lang.NullPointerException (Java Platform SE 6) - JDK 5 Documentation v6.0, Java 2 SDK 英文文档


Java™ Platform
Standard Ed. 6

Uses of Class
java.lang.NullPointerException

Packages that use NullPointerException
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.print Provides classes and interfaces for a general printing API. 
javax.management Provides the core classes for the Java Management Extensions. 
org.xml.sax.helpers This package contains "helper" classes, including support for bootstrapping SAX-based applications. 
 

Uses of NullPointerException in java.awt
 

Methods in java.awt that throw NullPointerException
 void SplashScreen.setImageURL(URL imageURL)
          Changes the splash screen image.
 

Uses of NullPointerException in java.awt.print
 

Methods in java.awt.print that throw NullPointerException
abstract  void PrinterJob.setPageable(Pageable document)
          Queries document for the number of pages and the PageFormat and Printable for each page held in the Pageable instance, document.
 

Uses of NullPointerException in javax.management
 

Methods in javax.management that throw NullPointerException
 boolean ObjectName.apply(ObjectName name)
          Test whether this ObjectName, which may be a pattern, matches another ObjectName.
static ObjectName ObjectName.getInstance(ObjectName name)
          Return an instance of ObjectName that can be used anywhere the given object can be used.
static ObjectName ObjectName.getInstance(String name)
          Return an instance of ObjectName that can be used anywhere an object obtained with new ObjectName(name) can be used.
static ObjectName ObjectName.getInstance(String domain, Hashtable<String,String> table)
          Return an instance of ObjectName that can be used anywhere an object obtained with new ObjectName(domain, table) can be used.
static ObjectName ObjectName.getInstance(String domain, String key, String value)
          Return an instance of ObjectName that can be used anywhere an object obtained with new ObjectName(domain, key, value) can be used.
 String ObjectName.getKeyProperty(String property)
          Obtains the value associated with a key in a key property.
 boolean ObjectName.isPropertyValuePattern(String property)
          Checks whether the value associated with a key in a key property is a pattern.
static String ObjectName.quote(String s)
          Returns a quoted form of the given String, suitable for inclusion in an ObjectName.
static String ObjectName.unquote(String q)
          Returns an unquoted form of the given String.
 

Constructors in javax.management that throw NullPointerException
ObjectName(String name)
          Construct an object name from the given string.
ObjectName(String domain, Hashtable<String,String> table)
          Construct an object name with several key properties from a Hashtable.
ObjectName(String domain, String key, String value)
          Construct an object name with exactly one key property.
 

Uses of NullPointerException in org.xml.sax.helpers
 

Methods in org.xml.sax.helpers that throw NullPointerException
static Parser ParserFactory.makeParser()
          Deprecated. Create a new SAX parser using the `org.xml.sax.parser' system property.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.