net.sf.jaxme.js
Class JavaQNameImpl

java.lang.Object
  extended bynet.sf.jaxme.js.JavaQNameImpl

public class JavaQNameImpl
extends java.lang.Object

Accessor class for JavaQName.

Version:
$Id: JavaQNameImpl.java,v 1.5 2003/07/27 23:12:40 joe Exp $
Author:
Jochen Wiedmann

Field Summary
static JavaQName BOOLEAN
          For use in return types or method parameters: The boolean type.
static JavaQName BYTE
          For use in return types or method parameters: The byte type.
static JavaQName CHAR
          For use in return types or method parameters: The char type.
static JavaQName DOUBLE
          For use in return types or method parameters: The double type.
static JavaQName FLOAT
          For use in return types or method parameters: The float type.
static JavaQName INT
          For use in return types or method parameters: The int type.
static JavaQName LONG
          For use in return types or method parameters: The long type.
static JavaQName SHORT
          For use in return types or method parameters: The short type.
static JavaQName VOID
          For use in return types or method parameters: The void type.
 
Constructor Summary
JavaQNameImpl()
           
 
Method Summary
static JavaQName getArray(JavaQName pQName)
           
static JavaQName getInnerInstance(JavaQName pQName, java.lang.String pInnerClassName)
          Returns the fully qualified name of an inner class of pQName with the name pInnerClassName.
static JavaQName getInstance(java.lang.Class pClass)
           
static JavaQName getInstance(java.lang.String pClassName)
          Equivalent to getInstance(pClassName, false).
static JavaQName getInstance(java.lang.String pClassName, boolean pAssumePackage)
          Returns an instance with the given class name.
static JavaQName getInstance(java.lang.String pPackageName, java.lang.String pClassName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VOID

public static final JavaQName VOID

For use in return types or method parameters: The void type.


BOOLEAN

public static final JavaQName BOOLEAN

For use in return types or method parameters: The boolean type.


BYTE

public static final JavaQName BYTE

For use in return types or method parameters: The byte type.


SHORT

public static final JavaQName SHORT

For use in return types or method parameters: The short type.


INT

public static final JavaQName INT

For use in return types or method parameters: The int type.


LONG

public static final JavaQName LONG

For use in return types or method parameters: The long type.


FLOAT

public static final JavaQName FLOAT

For use in return types or method parameters: The float type.


DOUBLE

public static final JavaQName DOUBLE

For use in return types or method parameters: The double type.


CHAR

public static final JavaQName CHAR

For use in return types or method parameters: The char type.

Constructor Detail

JavaQNameImpl

public JavaQNameImpl()
Method Detail

getInstance

public static JavaQName getInstance(java.lang.Class pClass)

getInstance

public static JavaQName getInstance(java.lang.String pPackageName,
                                    java.lang.String pClassName)

getInstance

public static JavaQName getInstance(java.lang.String pClassName)

Equivalent to getInstance(pClassName, false).


getInstance

public static JavaQName getInstance(java.lang.String pClassName,
                                    boolean pAssumePackage)

Returns an instance with the given class name.

Parameters:
pClassName - The class name
pAssumePackage - True, if the class name is assumed to contain a package prefix, in which case the prefix up to the last dot will be the package name and the suffix following the last dot will be the class name. Otherwise the root package is assumed.

getArray

public static JavaQName getArray(JavaQName pQName)

getInnerInstance

public static JavaQName getInnerInstance(JavaQName pQName,
                                         java.lang.String pInnerClassName)

Returns the fully qualified name of an inner class of pQName with the name pInnerClassName.