站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

ConvertorDescriptor (Convertor) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.convertor/1 1.3

org.netbeans.api.convertor
Class ConvertorDescriptor

java.lang.Object
  extended by org.netbeans.api.convertor.ConvertorDescriptor

public final class ConvertorDescriptor
extends Object

Convertor descriptor describes basic capability of the convertor, that is the XML namespace and element name which the convertor is capable to read, and (optional) class name which instances the convertor is capable to persist. Only the instances of the particular Java class will be persisted by the convertor. All subclasses must have their own convertors. For more details about semantics of these attributes see Convertor class Javadoc.


Method Summary
 boolean equals(Object o)
           
 String getClassName()
          Gets the fully qualified name of the class which instances the convertor can persist.
 String getElementName()
          Gets the root element name which the convertor can read.
 String getNamespace()
          Gets the XML namespace which the convertor can read.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getNamespace

public String getNamespace()
Gets the XML namespace which the convertor can read.

Returns:
XML namespace; cannot be null

getElementName

public String getElementName()
Gets the root element name which the convertor can read.

Returns:
root element name; cannot be null

getClassName

public String getClassName()
Gets the fully qualified name of the class which instances the convertor can persist. It can be null what means that convertor cannot persist any class.

Returns:
fully qualified name of the class or null if this convertor does not persist any class

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

org.netbeans.modules.convertor/1 1.3

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.