public class JDOMJInitializer extends JDOMJMember implements JInitializer
EMPTY_STRING_ARRAY, qualifiedName| Constructor and Description |
|---|
JDOMJInitializer(IDOMInitializer initializer) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
computeQualifiedName() |
java.lang.String |
getBody()
Returns the body of this initializer.
|
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.
|
java.lang.String |
getName()
Returns the name of this node.
|
protected IDOMInitializer |
getWrappedObject() |
void |
setBody(java.lang.String body)
Sets the body of this initializer.
|
getFlags, setComment, setFlags, splitLastCommentdispose, getChildren, getFacadeHelper, getParent, isDisposed, setFacadeHelper, setNamecomputeQualifiedName, computeQualifiedName, computeQualifiedName, getName, getQualifiedNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetCommentgetChildren, getFlags, getParent, getQualifiedName, setFlags, setNamepublic JDOMJInitializer(IDOMInitializer initializer)
initializer - protected IDOMInitializer getWrappedObject()
getWrappedObject in class JDOMJMemberpublic java.lang.String getBody()
JInitializergetBody in interface JInitializernull if
no body is presentpublic void setBody(java.lang.String body)
JInitializersetBody in interface JInitializerbody - an initializer body, including braces, or null
indicating no bodypublic java.lang.String getName()
JNodeprotected java.lang.String computeQualifiedName()
computeQualifiedName in class AbstractJNodepublic java.lang.String getComment()
JMembergetComment in interface JMembergetComment in class JDOMJMembernull if this member has no associated
commentpublic java.lang.String getContents()
JNodeNote: To obtain complete source for the ".java" file, ask a compilation unit node for its contents.
getContents in interface JNodegetContents in class JDOMJMembernull if this node has no contentsCopyright © 2019. Licensed under the Eclipse Public License v2.0. All rights reserved.
Submit a bug or feature