Package com.esotericsoftware.yamlbeans.parser

Examples of com.esotericsoftware.yamlbeans.parser.DocumentEndEvent


        started = true;
      }
      emitter.emit(new DocumentStartEvent(config.writeConfig.explicitFirstDocument, null, null));
      isRoot = true;
      writeValue(object, config.writeConfig.writeRootTags ? null : object.getClass(), null, null);
      emitter.emit(new DocumentEndEvent(config.writeConfig.explicitEndDocument));
    } catch (EmitterException ex) {
      throw new YamlException("Error writing YAML.", ex);
    } catch (IOException ex) {
      throw new YamlException("Error writing YAML.", ex);
    }
View Full Code Here

TOP

Related Classes of com.esotericsoftware.yamlbeans.parser.DocumentEndEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.