private void emitMyself(final SchemaContext schema, final JsonWriter writer) throws IOException {
    if (!emittedMyself) {
      if (parent != null) {
        parent.emittingChild(schema, writer);
      }

      emitStart(schema, writer);
      emittedMyself = true;
    }
  }
 /**
  * Write our JSON node identifier, optionally prefixing it with the module name corresponding to
  * its namespace.
  *
  * @param schema Schema context
  * @param writer Output writer
  * @param qname Namespace/name tuple
  * @throws IOException when the writer reports it
  */
 protected final void writeMyJsonIdentifier(
     final SchemaContext schema, final JsonWriter writer, final QName qname) throws IOException {
   parent.writeChildJsonIdentifier(schema, writer, qname);
 }