sortpom.jdomcontent.NewlineText Maven / Gradle / Ivy
package sortpom.jdomcontent;
import org.jdom.Comment;
/**
* The NewlineText is not really a special case of comment. Its just that comments
* are not subjected to trimming by jdom. The special handling of NewlineText is done
* in XmlProcessor.PatchedXMLOutputter
*
* @author bjorn
* @since 2012-05-17
*/
public class NewlineText extends Comment {
private static final long serialVersionUID = -7552189498553321263L;
/**
* This returns a String
representation of the
* NewlineText
, suitable for debugging. If the XML
* representation of the Comment
is desired,
* {@link org.jdom.output.XMLOutputter#outputString(org.jdom.Comment)}
* should be used.
*
* @return String
- information about the
* Attribute
*/
public String toString() {
return "[NewLine]";
}
}