1 28 package org.jvyamlb; 29 30 import java.util.Iterator ; 31 32 import org.jvyamlb.nodes.Node; 33 34 37 public interface Constructor { 38 boolean checkData(); 39 Object getData(); 40 Iterator eachDocument(); 41 Iterator iterator(); 42 Object constructDocument(final Node node); 43 Object constructObject(final Node node); 44 Object constructPrimitive(final Node node); 45 Object constructScalar(final Node node); 46 Object constructPrivateType(final Node node); 47 Object constructSequence(final Node node); 48 Object constructMapping(final Node node); 49 Object constructPairs(final Node node); 50 interface YamlConstructor { 51 Object call(final Constructor self, final Node node); 52 } 53 54 interface YamlMultiConstructor { 55 Object call(final Constructor self, final String pref, final Node node); 56 } 57 } | Popular Tags |