XomWriter.top
Code IndexAdd Codota to your IDE (free)

Best code snippets using com.thoughtworks.xstream.io.xml.XomWriter.top(Showing top 15 results out of 315)

origin: com.thoughtworks.xstream/xstream

protected Object createNode(final String name) {
  final Element newNode = new Element(encodeNode(name));
  final Element top = top();
  if (top != null){
    top().appendChild(newNode);
  }
  return newNode;
}
origin: com.thoughtworks.xstream/xstream

public void setValue(final String text) {
  top().appendChild(text);
}
origin: com.thoughtworks.xstream/xstream

public void addAttribute(final String name, final String value) {
  top().addAttribute(new Attribute(encodeAttribute(name), value));
}
origin: org.jvnet.hudson/xstream

protected Object createNode(final String name) {
  final Element newNode = new Element(escapeXmlName(name));
  final Element top = top();
  if (top != null){
    top().appendChild(newNode);
  }
  return newNode;
}
origin: org.jvnet.hudson/xstream

public void addAttribute(final String name, final String value) {
  top().addAttribute(new Attribute(escapeXmlName(name), value));
}
origin: x-stream/xstream

@Override
protected Object createNode(final String name) {
  final Element newNode = new Element(encodeNode(name));
  final Element top = top();
  if (top != null) {
    top().appendChild(newNode);
  }
  return newNode;
}
origin: org.hudsonci.tools/xstream

protected Object createNode(final String name) {
  final Element newNode = new Element(encodeNode(name));
  final Element top = top();
  if (top != null){
    top().appendChild(newNode);
  }
  return newNode;
}
origin: ovea-deprecated/jetty-session-redis

protected Object createNode(final String name) {
  final Element newNode = new Element(escapeXmlName(name));
  final Element top = top();
  if (top != null){
    top().appendChild(newNode);
  }
  return newNode;
}
origin: x-stream/xstream

@Override
public void addAttribute(final String name, final String value) {
  top().addAttribute(new Attribute(encodeAttribute(name), value));
}
origin: x-stream/xstream

@Override
public void setValue(final String text) {
  top().appendChild(text);
}
origin: ovea-deprecated/jetty-session-redis

public void setValue(final String text) {
  top().appendChild(text);
}
origin: org.hudsonci.tools/xstream

public void setValue(final String text) {
  top().appendChild(text);
}
origin: org.jvnet.hudson/xstream

public void setValue(final String text) {
  top().appendChild(text);
}
origin: org.hudsonci.tools/xstream

public void addAttribute(final String name, final String value) {
  top().addAttribute(new Attribute(encodeAttribute(name), value));
}
origin: ovea-deprecated/jetty-session-redis

public void addAttribute(final String name, final String value) {
  top().addAttribute(new Attribute(escapeXmlName(name), value));
}
com.thoughtworks.xstream.io.xmlXomWritertop

Popular methods of XomWriter

  • getCurrent
  • encodeAttribute
  • encodeNode
  • escapeXmlName

Popular classes and methods

  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • runOnUiThread (Activity)
  • compareTo (BigDecimal)
    Compares this BigDecimal with val. Returns one of the three values 1, 0, or -1. The method behaves a
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • JFileChooser (javax.swing)
  • JList (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)