|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.codegen.merge.java.facade.AbstractJNode org.eclipse.emf.codegen.merge.java.facade.jdom.JDOMJNode org.eclipse.emf.codegen.merge.java.facade.jdom.JDOMJMember
public abstract class JDOMJMember
Field Summary |
---|
Fields inherited from class org.eclipse.emf.codegen.merge.java.facade.AbstractJNode |
---|
EMPTY_STRING_ARRAY, qualifiedName |
Constructor Summary | |
---|---|
protected |
JDOMJMember(org.eclipse.jdt.core.jdom.IDOMMember member)
|
Method Summary | |
---|---|
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 org.eclipse.jdt.core.jdom.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)
|
Methods inherited from class org.eclipse.emf.codegen.merge.java.facade.jdom.JDOMJNode |
---|
dispose, getChildren, getFacadeHelper, getName, getParent, isDisposed, setFacadeHelper, setName |
Methods inherited from class org.eclipse.emf.codegen.merge.java.facade.AbstractJNode |
---|
computeQualifiedName, computeQualifiedName, computeQualifiedName, computeQualifiedName, getName, getQualifiedName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.codegen.merge.java.facade.JNode |
---|
getChildren, getName, getParent, getQualifiedName, setName |
Constructor Detail |
---|
protected JDOMJMember(org.eclipse.jdt.core.jdom.IDOMMember member)
member
- Method Detail |
---|
protected org.eclipse.jdt.core.jdom.IDOMMember getWrappedObject()
getWrappedObject
in class JDOMJNode
public int getFlags()
JNode
FacadeFlags
.
getFlags
in interface JNode
getFlags
in class JDOMJNode
public void setFlags(int flags)
JNode
FacadeFlags
class.
setFlags
in interface JNode
setFlags
in class JDOMJNode
flags
- the flagspublic 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)
|
Copyright 2001-2012 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |