org.jsoup.nodes.XmlDeclaration Maven / Gradle / Ivy
Go to download
SDK for dev_appserver (local development) with some of the dependencies shaded (repackaged)
package org.jsoup.nodes;
import org.jsoup.SerializationException;
import org.jsoup.internal.StringUtil;
import org.jsoup.helper.Validate;
import java.io.IOException;
/**
* An XML Declaration.
*/
public class XmlDeclaration extends LeafNode {
// todo this impl isn't really right, the data shouldn't be attributes, just a run of text after the name
private final boolean isProcessingInstruction; // ");
}
@Override
void outerHtmlTail(Appendable accum, int depth, Document.OutputSettings out) {
}
@Override
public String toString() {
return outerHtml();
}
@Override
public XmlDeclaration clone() {
return (XmlDeclaration) super.clone();
}
}