Package org.apache.xmlbeans.impl.jam
Interface JComment
-
- All Superinterfaces:
JElement
- All Known Subinterfaces:
MComment
- All Known Implementing Classes:
CommentImpl
public interface JComment extends JElement
Encapsulates comment associated with a package, class, method, and so on. Although they are often declared in the same place (code comments) JComment is a distinct entity from JAnnotation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JSourcePosition
getSourcePosition()
Returns the location of this comment in the source, or null if it is unknown.java.lang.String
getText()
Returns the text of this comment.-
Methods inherited from interface org.apache.xmlbeans.impl.jam.JElement
accept, getArtifact, getParent, getQualifiedName, getSimpleName, toString
-
-
-
-
Method Detail
-
getText
java.lang.String getText()
Returns the text of this comment.
-
getSourcePosition
JSourcePosition getSourcePosition()
Returns the location of this comment in the source, or null if it is unknown.- Specified by:
getSourcePosition
in interfaceJElement
-
-