![JAR search and dependency download from the Maven repository](/logo.png)
net.intelie.liverig.witsml.query.AbstractQuery131 Maven / Gradle / Ivy
The newest version!
package net.intelie.liverig.witsml.query;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamWriter;
abstract class AbstractQuery131 extends AbstractQuery implements Constants131 {
static void writeRootElement(XMLStreamWriter writer, String localName) throws XMLStreamException {
writer.setDefaultNamespace(WITSML_NS);
writer.writeStartElement(WITSML_NS, localName);
writer.writeDefaultNamespace(WITSML_NS);
writer.writeAttribute("version", VERSION);
}
static void writeCommonData(XMLStreamWriter writer) throws XMLStreamException {
writer.writeStartElement(WITSML_NS, "commonData");
writer.writeEmptyElement(WITSML_NS, "sourceName");
writer.writeEmptyElement(WITSML_NS, "dTimCreation");
writer.writeEmptyElement(WITSML_NS, "dTimLastChange");
writer.writeEmptyElement(WITSML_NS, "itemState");
writer.writeEmptyElement(WITSML_NS, "comments");
writer.writeEndElement();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy