001
002package gudusoft.gsqlparser.pp.para.styleenums;
003
004/**
005 * 
006 * the align style enum
007 * 
008 * @author zhoujun
009 * 
010 */
011public enum TAlignStyle {
012        AsStacked, AsWrapped;
013
014        public static TAlignStyle of(String type) {
015                if (type == null)
016                        return null;
017                for (TAlignStyle value : TAlignStyle.values()) {
018                        if (value.name().equalsIgnoreCase(type)) {
019                                return value;
020                        }
021                }
022                return null;
023        }
024}