public void endObject() throws IOException { isArray.pop(); name = objectNames.pop(); out.write("</"+adjustName()+'>'); }
public void startObject() throws IOException { objectNames.push(name); out.write('<'+adjustName()+'>'); arrayState.push(isArray); isArray = false; }
public void endObject() throws IOException { isArray.pop(); name = objectNames.pop(); out.write("</"+adjustName()+'>'); }
public void endObject() throws IOException { name = objectNames.pop(); isArray = arrayState.pop(); out.write("</"+adjustName()+'>'); }
public void startObject() throws IOException { objectNames.push(name); out.write('<' + adjustName()); isArray.push(false); if (classAttr!=null) { out.write(CLASS_ATTRIBUTE_PREFIX +classAttr+"'"); classAttr = null; } out.write('>'); }
public void startObject() throws IOException { objectNames.push(name); out.write('<' + adjustName()); isArray.push(false); if (classAttr!=null) { out.write(CLASS_ATTRIBUTE_PREFIX +classAttr+"'"); classAttr = null; } out.write('>'); }
public void value(String v) throws IOException { String n = adjustName(); out.write('<'+n+'>'); out.write(Stapler.escape(v)); out.write("</"+n+'>'); }
public void value(String v) throws IOException { String n = adjustName(); out.write('<'+n+'>'); out.write(Stapler.escape(v)); out.write("</"+n+'>'); }
public void value(String v) throws IOException { String n = adjustName(); out.write('<'+n+'>'); out.write(escape(v)); out.write("</"+n+'>'); }