public abstract class JDOMJMember extends JDOMJNode implements JMember
EMPTY_STRING_ARRAY, qualifiedName
Modifier | Constructor and Description |
---|---|
protected |
JDOMJMember(IDOMMember member) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComment()
Returns the comment associated with this member (including comment delimiters).
|
java.lang.String |
getContents()
Returns the current contents of this document fragment.
|
int |
getFlags()
Returns the modifier flags for this node.
|
protected IDOMMember |
getWrappedObject() |
void |
setComment(java.lang.String comment)
Sets the comment associated with this member.
|
void |
setFlags(int flags)
Sets the flags for this member.
|
protected java.lang.String[] |
splitLastComment(java.lang.String contents) |
dispose, getChildren, getFacadeHelper, getName, getParent, isDisposed, setFacadeHelper, setName
computeQualifiedName, computeQualifiedName, computeQualifiedName, computeQualifiedName, getName, getQualifiedName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren, getName, getParent, getQualifiedName, setName
protected IDOMMember getWrappedObject()
getWrappedObject
in class JDOMJNode
public int getFlags()
JNode
FacadeFlags
.public void setFlags(int flags)
JNode
FacadeFlags
class.public java.lang.String getComment()
JMember
getComment
in interface JMember
null
if this member has no associated
commentpublic void setComment(java.lang.String comment)
JMember
null
comment indicates no comment.setComment
in interface JMember
comment
- the comment, including comment delimiters, or
null
indicating this member should have no associated commentpublic java.lang.String getContents()
JNode
Note: To obtain complete source for the ".java" file, ask a compilation unit node for its contents.
getContents
in interface JNode
getContents
in class JDOMJNode
null
if this node has no contentsprotected java.lang.String[] splitLastComment(java.lang.String contents)