net.sourceforge.jane.lang.qdox
Class QDoxJavaElement
java.lang.Object
|
+--net.sourceforge.jane.lang.qdox.QDoxJavaElement
- All Implemented Interfaces:
- JavaElement
- Direct Known Subclasses:
- QDoxClassInfo, QDoxFieldInfo, QDoxMethodInfo
- public class QDoxJavaElement
- extends java.lang.Object
- implements JavaElement
An interface for objects that represents elements of java.
Field Summary |
protected com.thoughtworks.qdox.model.AbstractJavaEntity |
entity
|
protected Jane |
jane
|
Constructor Summary |
QDoxJavaElement(Jane aJane,
com.thoughtworks.qdox.model.AbstractJavaEntity anEntity)
Create a new QDoxJavaElement . |
Method Summary |
java.lang.String |
getName()
Returns the name of the element. |
boolean |
isPackageProtected()
Returns true if this element is package protected. |
boolean |
isPrivate()
Returns true if this element is private. |
boolean |
isProtected()
Returns true if this element is protected. |
boolean |
isPublic()
Returns true if this element is public. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entity
protected com.thoughtworks.qdox.model.AbstractJavaEntity entity
jane
protected Jane jane
QDoxJavaElement
public QDoxJavaElement(Jane aJane,
com.thoughtworks.qdox.model.AbstractJavaEntity anEntity)
- Create a new
QDoxJavaElement
.
getName
public java.lang.String getName()
- Returns the name of the element.
- Specified by:
getName
in interface JavaElement
isPublic
public boolean isPublic()
- Returns
true
if this element is public.
- Specified by:
isPublic
in interface JavaElement
isProtected
public boolean isProtected()
- Returns
true
if this element is protected.
- Specified by:
isProtected
in interface JavaElement
isPackageProtected
public boolean isPackageProtected()
- Returns
true
if this element is package protected.
- Specified by:
isPackageProtected
in interface JavaElement
isPrivate
public boolean isPrivate()
- Returns
true
if this element is private.
- Specified by:
isPrivate
in interface JavaElement
Copyright © 2002-2002 SourceForge. All Rights Reserved.