org.jvyamlb
Class RepresenterImpl.ScalarYAMLNodeCreator

java.lang.Object
  extended by org.jvyamlb.RepresenterImpl.ScalarYAMLNodeCreator
All Implemented Interfaces:
YAMLNodeCreator
Enclosing class:
RepresenterImpl

public static class RepresenterImpl.ScalarYAMLNodeCreator
extends java.lang.Object
implements YAMLNodeCreator


Field Summary
private  java.lang.Object data
           
private  java.lang.String tag
           
 
Constructor Summary
RepresenterImpl.ScalarYAMLNodeCreator(java.lang.String tag, java.lang.Object data)
           
 
Method Summary
 java.lang.String taguri()
           
 Node toYamlNode(Representer representer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tag

private final java.lang.String tag

data

private final java.lang.Object data
Constructor Detail

RepresenterImpl.ScalarYAMLNodeCreator

public RepresenterImpl.ScalarYAMLNodeCreator(java.lang.String tag,
                                             java.lang.Object data)
Method Detail

taguri

public java.lang.String taguri()
Specified by:
taguri in interface YAMLNodeCreator

toYamlNode

public Node toYamlNode(Representer representer)
                throws java.io.IOException
Specified by:
toYamlNode in interface YAMLNodeCreator
Throws:
java.io.IOException