public static Xml exports ( FramesConfig config ) { Check . notNull ( config ) ; final Xml node = new Xml ( NODE_FRAMES ) ; node . writeInteger ( ATT_HORIZONTAL , config . getHorizontal ( ) ) ; node . writeInteger ( ATT_VERTICAL , config . getVertical ( ) ) ; node . writeInteger ( ATT_OFFSET_X , config . getOffsetX ( ) ) ; node . writeInteger ( ATT_OFFSET_Y , config . getOffsetY ( ) ) ; return node ; }
Exports the frames node from config .