public static Xml exports ( LaunchableConfig config ) { Check . notNull ( config ) ; final Xml node = new Xml ( NODE_LAUNCHABLE ) ; node . writeString ( ATT_MEDIA , config . getMedia ( ) ) ; node . writeInteger ( ATT_DELAY , config . getDelay ( ) ) ; node . writeInteger ( ATT_OFFSET_X , config . getOffsetX ( ) ) ; node . writeInteger ( ATT_OFFSET_Y , config . getOffsetY ( ) ) ; node . add ( ForceConfig . exports ( config . getVector ( ) ) ) ; return node ; }
Export the launchable node from data .