
sortpom.content.NewlineText Maven / Gradle / Ivy
package sortpom.content;
import org.dom4j.tree.AbstractText;
/**
* The NewlineText is not really a special case of text. The special handling of NewlineText is done
* in XmlProcessor.PatchedXMLWriter
*/
public class NewlineText extends AbstractText {
private static final long serialVersionUID = -7552189498553321263L;
/**
* This returns a String
representation of the NewlineText
, suitable for
* debugging.
*/
@Override
public String toString() {
return "[NewLine]";
}
@Override
public String getText() {
return "";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy