Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## xjavadoc
Class UnknownClass

    java.lang.Object
      xjavadoc.AbstractProgramElement
          xjavadoc.AbstractClass
              xjavadoc.UnknownClass

All Implemented Interfaces:
  Comparable, Named, XClass, XProgramElement, XType

final class UnknownClass
extends AbstractClass

This implementation of XClass is used for classes that can't be resolved from either source or classpath (binary classes). It's useful for XDocletImpl, especially when classes refer to classes that are going to be generated by XDocletImpl.

Author:
  Ara Abrahamian, Aslak Hellesøy

Field Summary
`static int` | `instanceCount`

Fields inherited from class xjavadoc.AbstractProgramElement
`EMPTY_LIST`

Constructor Summary
`UnknownClass(XJavaDoc xJavaDoc, String qualifiedName)`

Method Summary
`boolean` | `isPrimitive()` Returns true if this class is a primitive.
`boolean` | `isWriteable()` whether this class can be saved ( it cannot )
`boolean` | `saveNeeded()` this class is not intended to be saved
`void` | `setDirty()` no op for sake of interface implementation

Methods inherited from class xjavadoc.AbstractClass
`addConstructor, addField, addImportedClass, addImportedPackage, addInnerClass, addInterface, addMethod, compareTo, equals, getAllSubclasses, getConstructor, getConstructors, getContainingPackage, getDeclaredInterfaces, getDirectSubclasses, getExtendingInterfaces, getField, getFields, getFields, getFields, getImplementingClasses, getImportedClasses, getImportedPackages, getInnerClasses, getInterfaces, getMethod, getMethod, getMethods, getMethods, getMethods, getMethodTags, getName, getQualifiedName, getSuperclass, getSuperElement, getSuperInterfaceElements, getTransformedName, getTransformedQualifiedName, getType, hashCode, hasImportedClasses, hasImportedPackages, hasInnerClasses, isA, isA, isAnonymous, isImplementingInterface, isImplementingInterface, isInner, isInterface, isSubclassOf, isSubclassOf, lastModified, qualify, reset, resolveImportedClasses, save, setContainingPackage, setInterface, setName, setQualifiedName, setRealised, setSuperclass, toString, updateDoc`

Methods inherited from class xjavadoc.AbstractProgramElement
`addModifier, getContainingAbstractClass, getContainingClass, getDoc, getModifiers, getModifierSpecifier, getTagFactory, getXJavaDoc, isAbstract, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, setToken`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Methods inherited from interface xjavadoc.XClass
`getContainingClass, isAbstract`

Methods inherited from interface xjavadoc.XProgramElement
`getDoc, getModifiers, getModifierSpecifier, getXJavaDoc, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic`

Field Detail

### instanceCount

    public static int instanceCount

Constructor Detail

### UnknownClass

    public UnknownClass(XJavaDoc xJavaDoc,
                        String qualifiedName)

Parameters:
  `qualifiedName` -

Method Detail

### isWriteable

    public boolean isWriteable()

  whether this class can be saved ( it cannot )

  Returns:
    false since this class can not be saved

### isPrimitive

    public boolean isPrimitive()

  Description copied from interface: `XClass`
  Returns true if this class is a primitive. That is, one of the following:
  - boolean
  - byte
  - char
  - double
  - float
  - int
  - long
  - short
  - java.lang.Boolean
  - java.lang.Byte
  - java.lang.Character
  - java.lang.Double
  - java.lang.Float
  - java.lang.Integer
  - java.lang.Long
  - java.lang.Short
  - java.lang.String

  Returns:
    true if a primitive

### setDirty

    public void setDirty()

  no op for sake of interface implementation

### saveNeeded

    public boolean saveNeeded()

  this class is not intended to be saved

  Returns:
    always false

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2004 XDoclet Team. All Rights Reserved.