All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hfg.css.CSSProperty Maven / Gradle / Ivy

There is a newer version: 20240423
Show newest version
package com.hfg.css;


import java.util.HashMap;
import java.util.Map;

//------------------------------------------------------------------------------
/**
 * Enumeration of valid CSS property names.
 *
 * @author J. Alex Taylor, hairyfatguy.com
 */
//------------------------------------------------------------------------------
// com.hfg XML/HTML Coding Library
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
//
// J. Alex Taylor, President, Founder, CEO, COO, CFO, OOPS hairyfatguy.com
// [email protected]
//------------------------------------------------------------------------------


public class CSSProperty
{
   private static Map sMap = new HashMap();

   public static final CSSProperty align_content              = new CSSProperty(CSSLevel.CSS_3, "align-content");
   public static final CSSProperty align_items                = new CSSProperty(CSSLevel.CSS_3, "align-items");
   public static final CSSProperty align_self                 = new CSSProperty(CSSLevel.CSS_3, "align-self");
   public static final CSSProperty alignment_adjust           = new CSSProperty(CSSLevel.CSS_3, "alignment-adjust");
   public static final CSSProperty alignment_baseline         = new CSSProperty(CSSLevel.CSS_3, "alignment-baseline");
   public static final CSSProperty all                        = new CSSProperty(CSSLevel.CSS_3, "all");
   public static final CSSProperty anchor_point               = new CSSProperty(CSSLevel.CSS_3, "anchor-point");
   public static final CSSProperty animation                  = new CSSProperty(CSSLevel.CSS_3, "animation");
   public static final CSSProperty animation_delay            = new CSSProperty(CSSLevel.CSS_3, "animation-delay");
   public static final CSSProperty animation_direction        = new CSSProperty(CSSLevel.CSS_3, "animation-direction");
   public static final CSSProperty animation_duration         = new CSSProperty(CSSLevel.CSS_3, "animation-duration");
   public static final CSSProperty animation_fill_mode        = new CSSProperty(CSSLevel.CSS_3, "animation-fill-mode");
   public static final CSSProperty animation_iteration_count  = new CSSProperty(CSSLevel.CSS_3, "animation-iteration-count");
   public static final CSSProperty animation_name             = new CSSProperty(CSSLevel.CSS_3, "animation-name");
   public static final CSSProperty animation_play_state       = new CSSProperty(CSSLevel.CSS_3, "animation-play-state");
   public static final CSSProperty animation_timing_function  = new CSSProperty(CSSLevel.CSS_3, "animation-timing-function");
   public static final CSSProperty appearance                 = new CSSProperty(CSSLevel.CSS_3, "appearance");
   public static final CSSProperty azimuth                    = new CSSProperty(CSSLevel.CSS_2, "azimuth");
   public static final CSSProperty backface_visibility        = new CSSProperty(CSSLevel.CSS_3, "backface-visibility");
   public static final CSSProperty background                 = new CSSProperty(CSSLevel.CSS_1, "background");
   public static final CSSProperty background_attachment      = new CSSProperty(CSSLevel.CSS_1, "background-attachment");
   public static final CSSProperty background_clip            = new CSSProperty(CSSLevel.CSS_3, "background-clip");
   public static final CSSProperty background_color           = new CSSProperty(CSSLevel.CSS_1, "background-color");
   public static final CSSProperty background_image           = new CSSProperty(CSSLevel.CSS_1, "background-image");
   public static final CSSProperty background_origin          = new CSSProperty(CSSLevel.CSS_3, "background-origin");
   public static final CSSProperty background_position        = new CSSProperty(CSSLevel.CSS_1, "background-position");
   public static final CSSProperty background_repeat          = new CSSProperty(CSSLevel.CSS_1, "background-repeat");
   public static final CSSProperty background_size            = new CSSProperty(CSSLevel.CSS_3, "background-size");
   public static final CSSProperty baseline_shift             = new CSSProperty(CSSLevel.CSS_3, "baseline-shift");
   public static final CSSProperty binding                    = new CSSProperty(CSSLevel.CSS_3, "binding");
   public static final CSSProperty bleed                      = new CSSProperty(CSSLevel.CSS_3, "bleed");
   public static final CSSProperty bookmark_label             = new CSSProperty(CSSLevel.CSS_3, "bookmark-label");
   public static final CSSProperty bookmark_level             = new CSSProperty(CSSLevel.CSS_3, "bookmark-level");
   public static final CSSProperty bookmark_state             = new CSSProperty(CSSLevel.CSS_3, "bookmark-state");
   public static final CSSProperty bookmark_target            = new CSSProperty(CSSLevel.CSS_3, "bookmark-target");
   public static final CSSProperty border                     = new CSSProperty(CSSLevel.CSS_1, "border");
   public static final CSSProperty border_bottom              = new CSSProperty(CSSLevel.CSS_1, "border-bottom");
   public static final CSSProperty border_bottom_color        = new CSSProperty(CSSLevel.CSS_2, "border-bottom-color");
   public static final CSSProperty border_bottom_left_radius  = new CSSProperty(CSSLevel.CSS_3, "border-bottom-left-radius");
   public static final CSSProperty border_bottom_right_radius = new CSSProperty(CSSLevel.CSS_3, "border-bottom-right-radius");
   public static final CSSProperty border_bottom_style        = new CSSProperty(CSSLevel.CSS_2, "border-bottom-style");
   public static final CSSProperty border_bottom_width        = new CSSProperty(CSSLevel.CSS_1, "border-bottom-width");
   public static final CSSProperty border_collapse            = new CSSProperty(CSSLevel.CSS_2, "border-collapse");
   public static final CSSProperty border_color               = new CSSProperty(CSSLevel.CSS_1, "border-color");
   public static final CSSProperty border_image               = new CSSProperty(CSSLevel.CSS_3, "border-image");
   public static final CSSProperty border_image_outset        = new CSSProperty(CSSLevel.CSS_3, "border-image-outset");
   public static final CSSProperty border_image_repeat        = new CSSProperty(CSSLevel.CSS_3, "border-image-repeat");
   public static final CSSProperty border_image_slice         = new CSSProperty(CSSLevel.CSS_3, "border-image-slice");
   public static final CSSProperty border_image_source        = new CSSProperty(CSSLevel.CSS_3, "border-image-source");
   public static final CSSProperty border_image_width         = new CSSProperty(CSSLevel.CSS_3, "border-image-width");
   public static final CSSProperty border_left                = new CSSProperty(CSSLevel.CSS_1, "border-left");
   public static final CSSProperty border_left_color          = new CSSProperty(CSSLevel.CSS_2, "border-left-color");
   public static final CSSProperty border_left_style          = new CSSProperty(CSSLevel.CSS_2, "border-left-style");
   public static final CSSProperty border_left_width          = new CSSProperty(CSSLevel.CSS_1, "border-left-width");
   public static final CSSProperty border_radius              = new CSSProperty(CSSLevel.CSS_3, "border-radius");
   public static final CSSProperty border_right               = new CSSProperty(CSSLevel.CSS_1, "border-right");
   public static final CSSProperty border_right_color         = new CSSProperty(CSSLevel.CSS_2, "border-right-color");
   public static final CSSProperty border_right_style         = new CSSProperty(CSSLevel.CSS_2, "border-right-style");
   public static final CSSProperty border_right_width         = new CSSProperty(CSSLevel.CSS_1, "border-right-width");
   public static final CSSProperty border_spacing             = new CSSProperty(CSSLevel.CSS_2, "border-spacing");
   public static final CSSProperty border_style               = new CSSProperty(CSSLevel.CSS_1, "border-style");
   public static final CSSProperty border_top                 = new CSSProperty(CSSLevel.CSS_1, "border-top");
   public static final CSSProperty border_top_color           = new CSSProperty(CSSLevel.CSS_2, "border-top-color");
   public static final CSSProperty border_top_left_radius     = new CSSProperty(CSSLevel.CSS_3, "border-top-left-radius");
   public static final CSSProperty border_top_right_radius    = new CSSProperty(CSSLevel.CSS_3, "border-top-right-radius");
   public static final CSSProperty border_top_style           = new CSSProperty(CSSLevel.CSS_2, "border-top-style");
   public static final CSSProperty border_top_width           = new CSSProperty(CSSLevel.CSS_1, "border-top-width");
   public static final CSSProperty border_width               = new CSSProperty(CSSLevel.CSS_1, "border-width");
   public static final CSSProperty bottom                     = new CSSProperty(CSSLevel.CSS_2, "bottom");
   public static final CSSProperty box_decoration_break       = new CSSProperty(CSSLevel.CSS_3, "box-decoration-break");
   public static final CSSProperty box_shadow                 = new CSSProperty(CSSLevel.CSS_3, "box-shadow");
   public static final CSSProperty box_sizing                 = new CSSProperty(CSSLevel.CSS_3, "box-sizing");
   public static final CSSProperty break_after                = new CSSProperty(CSSLevel.CSS_3, "break-after");
   public static final CSSProperty break_before               = new CSSProperty(CSSLevel.CSS_3, "break-before");
   public static final CSSProperty break_inside               = new CSSProperty(CSSLevel.CSS_3, "break-inside");
   public static final CSSProperty caption_side               = new CSSProperty(CSSLevel.CSS_2, "caption-side");
   public static final CSSProperty clear                      = new CSSProperty(CSSLevel.CSS_1, "clear");
   public static final CSSProperty clip                       = new CSSProperty(CSSLevel.CSS_2, "clip");
   public static final CSSProperty color                      = new CSSProperty(CSSLevel.CSS_1, "color");
   public static final CSSProperty color_interpolation_filters = new CSSProperty(CSSLevel.CSS_3, "color-interpolation-filters");
   public static final CSSProperty color_profile              = new CSSProperty(CSSLevel.CSS_3, "color-profile");
   public static final CSSProperty column_count               = new CSSProperty(CSSLevel.CSS_3, "column-count");
   public static final CSSProperty column_fill                = new CSSProperty(CSSLevel.CSS_3, "column-fill");
   public static final CSSProperty column_gap                 = new CSSProperty(CSSLevel.CSS_3, "column-gap");
   public static final CSSProperty column_rule                = new CSSProperty(CSSLevel.CSS_3, "column-rule");
   public static final CSSProperty column_rule_color          = new CSSProperty(CSSLevel.CSS_3, "column-rule-color");
   public static final CSSProperty column_rule_style          = new CSSProperty(CSSLevel.CSS_3, "column-rule-style");
   public static final CSSProperty column_rule_width          = new CSSProperty(CSSLevel.CSS_3, "column-rule-width");
   public static final CSSProperty column_span                = new CSSProperty(CSSLevel.CSS_3, "column-span");
   public static final CSSProperty column_width               = new CSSProperty(CSSLevel.CSS_3, "column-width");
   public static final CSSProperty columns                    = new CSSProperty(CSSLevel.CSS_3, "columns");
   public static final CSSProperty content                    = new CSSProperty(CSSLevel.CSS_2, "content");
   public static final CSSProperty counter_increment          = new CSSProperty(CSSLevel.CSS_2, "counter-increment");
   public static final CSSProperty counter_reset              = new CSSProperty(CSSLevel.CSS_2, "counter-reset");
   public static final CSSProperty crop                       = new CSSProperty(CSSLevel.CSS_3, "crop");
   public static final CSSProperty cue                        = new CSSProperty(CSSLevel.CSS_2, "cue");
   public static final CSSProperty cue_after                  = new CSSProperty(CSSLevel.CSS_2, "cue-after");
   public static final CSSProperty cue_before                 = new CSSProperty(CSSLevel.CSS_2, "cue-before");
   public static final CSSProperty cursor                     = new CSSProperty(CSSLevel.CSS_2, "cursor");
   public static final CSSProperty direction                  = new CSSProperty(CSSLevel.CSS_2, "direction");
   public static final CSSProperty display                    = new CSSProperty(CSSLevel.CSS_1, "display");
   public static final CSSProperty dominant_baseline          = new CSSProperty(CSSLevel.CSS_3, "dominant-baseline");
   public static final CSSProperty drop_initial_after_adjust  = new CSSProperty(CSSLevel.CSS_3, "drop-initial-after-adjust");
   public static final CSSProperty drop_initial_after_align   = new CSSProperty(CSSLevel.CSS_3, "drop-initial-after-align");
   public static final CSSProperty drop_initial_before_adjust = new CSSProperty(CSSLevel.CSS_3, "drop-initial-before-align");
   public static final CSSProperty drop_initial_before_align  = new CSSProperty(CSSLevel.CSS_3, "drop-initial-before-align");
   public static final CSSProperty drop_initial_size          = new CSSProperty(CSSLevel.CSS_3, "drop-initial-size");
   public static final CSSProperty drop_initial_value         = new CSSProperty(CSSLevel.CSS_3, "drop-initial-value");
   public static final CSSProperty elevation                  = new CSSProperty(CSSLevel.CSS_2, "elevation");
   public static final CSSProperty empty_cells                = new CSSProperty(CSSLevel.CSS_2, "empty-cells");
   public static final CSSProperty filter                     = new CSSProperty(CSSLevel.CSS_3, "filter");
   public static final CSSProperty fit                        = new CSSProperty(CSSLevel.CSS_3, "fit");
   public static final CSSProperty fit_position               = new CSSProperty(CSSLevel.CSS_3, "fit-position");
   public static final CSSProperty flex                       = new CSSProperty(CSSLevel.CSS_3, "flex");
   public static final CSSProperty flex_basis                 = new CSSProperty(CSSLevel.CSS_3, "flex-basis");
   public static final CSSProperty flex_direction             = new CSSProperty(CSSLevel.CSS_3, "flex-direction");
   public static final CSSProperty flex_flow                  = new CSSProperty(CSSLevel.CSS_3, "flex-flow");
   public static final CSSProperty flex_grow                  = new CSSProperty(CSSLevel.CSS_3, "flex-grow");
   public static final CSSProperty flex_shrink                = new CSSProperty(CSSLevel.CSS_3, "flex-shrink");
   public static final CSSProperty flex_wrap                  = new CSSProperty(CSSLevel.CSS_3, "flex-wrap");
   public static final CSSProperty float_                     = new CSSProperty(CSSLevel.CSS_1, "float");
   public static final CSSProperty float_offset               = new CSSProperty(CSSLevel.CSS_3, "float-offset");
   public static final CSSProperty flood_color                = new CSSProperty(CSSLevel.CSS_3, "flood-color");
   public static final CSSProperty flood_opacity              = new CSSProperty(CSSLevel.CSS_3, "flood-opacity");
   public static final CSSProperty font                       = new CSSProperty(CSSLevel.CSS_1, "font");
   public static final CSSProperty font_family                = new CSSProperty(CSSLevel.CSS_1, "font-family");
   public static final CSSProperty font_feature_settings      = new CSSProperty(CSSLevel.CSS_3, "font-feature-settings");
   public static final CSSProperty font_kerning               = new CSSProperty(CSSLevel.CSS_3, "font-kerning");
   public static final CSSProperty font_language_override     = new CSSProperty(CSSLevel.CSS_3, "font-language-override");
   public static final CSSProperty font_size                  = new CSSProperty(CSSLevel.CSS_1, "font-size");
   public static final CSSProperty font_size_adjust           = new CSSProperty(CSSLevel.CSS_2, "font-size-adjust");
   public static final CSSProperty font_stretch               = new CSSProperty(CSSLevel.CSS_2, "font-stretch");
   public static final CSSProperty font_style                 = new CSSProperty(CSSLevel.CSS_1, "font-style");
   public static final CSSProperty font_synthesis             = new CSSProperty(CSSLevel.CSS_3, "font-synthesis");
   public static final CSSProperty font_variant               = new CSSProperty(CSSLevel.CSS_1, "font-variant");
   public static final CSSProperty font_variant_alternates    = new CSSProperty(CSSLevel.CSS_3, "font-variant-alternates");
   public static final CSSProperty font_variant_caps          = new CSSProperty(CSSLevel.CSS_3, "font-variant-caps");
   public static final CSSProperty font_variant_east_asian    = new CSSProperty(CSSLevel.CSS_3, "font-variant-east-asian");
   public static final CSSProperty font_variant_ligatures     = new CSSProperty(CSSLevel.CSS_3, "font-variant-ligatures");
   public static final CSSProperty font_variant_numeric       = new CSSProperty(CSSLevel.CSS_3, "font-variant-numeric");
   public static final CSSProperty font_variant_position      = new CSSProperty(CSSLevel.CSS_3, "font-variant-position");
   public static final CSSProperty font_weight                = new CSSProperty(CSSLevel.CSS_1, "font-weight");
   public static final CSSProperty grid_cell                  = new CSSProperty(CSSLevel.CSS_3, "grid-cell");
   public static final CSSProperty grid_column                = new CSSProperty(CSSLevel.CSS_3, "grid-column");
   public static final CSSProperty grid_column_align          = new CSSProperty(CSSLevel.CSS_3, "grid-column-align");
   public static final CSSProperty grid_column_sizing         = new CSSProperty(CSSLevel.CSS_3, "grid-column-sizing");
   public static final CSSProperty grid_column_span           = new CSSProperty(CSSLevel.CSS_3, "grid-column-span");
   public static final CSSProperty grid_columns               = new CSSProperty(CSSLevel.CSS_3, "grid-columns");
   public static final CSSProperty grid_flow                  = new CSSProperty(CSSLevel.CSS_3, "grid-flow");
   public static final CSSProperty grid_row                   = new CSSProperty(CSSLevel.CSS_3, "grid-row");
   public static final CSSProperty grid_row_align             = new CSSProperty(CSSLevel.CSS_3, "grid-row-align");
   public static final CSSProperty grid_row_sizing            = new CSSProperty(CSSLevel.CSS_3, "grid-row-sizing");
   public static final CSSProperty grid_row_span              = new CSSProperty(CSSLevel.CSS_3, "grid-row-span");
   public static final CSSProperty grid_rows                  = new CSSProperty(CSSLevel.CSS_3, "grid-rows");
   public static final CSSProperty grid_template              = new CSSProperty(CSSLevel.CSS_3, "grid-template");
   public static final CSSProperty hanging_punctuation        = new CSSProperty(CSSLevel.CSS_3, "hanging-punctuation");
   public static final CSSProperty height                     = new CSSProperty(CSSLevel.CSS_1, "height");
   public static final CSSProperty hyphens                    = new CSSProperty(CSSLevel.CSS_3, "hyphens");
   public static final CSSProperty icon                       = new CSSProperty(CSSLevel.CSS_3, "icon");
   public static final CSSProperty image_orientation          = new CSSProperty(CSSLevel.CSS_3, "image-orientation");
   public static final CSSProperty image_rendering            = new CSSProperty(CSSLevel.CSS_3, "image-rendering");
   public static final CSSProperty image_resolution           = new CSSProperty(CSSLevel.CSS_3, "image-resolution");
   public static final CSSProperty ime_mode                   = new CSSProperty(CSSLevel.CSS_3, "ime-mode");
   public static final CSSProperty inline_box_align           = new CSSProperty(CSSLevel.CSS_3, "inline-box-align");
   public static final CSSProperty justify_content            = new CSSProperty(CSSLevel.CSS_3, "justify-content");
   public static final CSSProperty left                       = new CSSProperty(CSSLevel.CSS_2, "left");
   public static final CSSProperty letter_spacing             = new CSSProperty(CSSLevel.CSS_1, "letter-spacing");
   public static final CSSProperty lighting_color             = new CSSProperty(CSSLevel.CSS_3, "lighting-color");
   public static final CSSProperty line_break                 = new CSSProperty(CSSLevel.CSS_3, "line-break");
   public static final CSSProperty line_height                = new CSSProperty(CSSLevel.CSS_1, "line-height");
   public static final CSSProperty line_stacking              = new CSSProperty(CSSLevel.CSS_3, "line-stacking");
   public static final CSSProperty line_stacking_ruby         = new CSSProperty(CSSLevel.CSS_3, "line-stacking-ruby");
   public static final CSSProperty line_stacking_shift        = new CSSProperty(CSSLevel.CSS_3, "line-stacking-shift");
   public static final CSSProperty line_stacking_strategy     = new CSSProperty(CSSLevel.CSS_3, "line-stacking-strategy");
   public static final CSSProperty list_style                 = new CSSProperty(CSSLevel.CSS_1, "list-style");
   public static final CSSProperty list_style_image           = new CSSProperty(CSSLevel.CSS_1, "list-style-image");
   public static final CSSProperty list_style_position        = new CSSProperty(CSSLevel.CSS_1, "list-style-position");
   public static final CSSProperty list_style_type            = new CSSProperty(CSSLevel.CSS_1, "list-style-type");
   public static final CSSProperty margin                     = new CSSProperty(CSSLevel.CSS_1, "margin");
   public static final CSSProperty margin_bottom              = new CSSProperty(CSSLevel.CSS_1, "margin-bottom");
   public static final CSSProperty margin_left                = new CSSProperty(CSSLevel.CSS_1, "margin-left");
   public static final CSSProperty margin_right               = new CSSProperty(CSSLevel.CSS_1, "margin-right");
   public static final CSSProperty margin_top                 = new CSSProperty(CSSLevel.CSS_1, "margin-top");
   public static final CSSProperty marker_offset              = new CSSProperty(CSSLevel.CSS_2, "marker-offset");
   public static final CSSProperty marks                      = new CSSProperty(CSSLevel.CSS_2, "marks");
   public static final CSSProperty marquee_direction          = new CSSProperty(CSSLevel.CSS_3, "marquee-direction");
   public static final CSSProperty marquee_loop               = new CSSProperty(CSSLevel.CSS_3, "marquee-loop");
   public static final CSSProperty marquee_play_count         = new CSSProperty(CSSLevel.CSS_3, "marquee-play-count");
   public static final CSSProperty marquee_speed              = new CSSProperty(CSSLevel.CSS_3, "marquee-speed");
   public static final CSSProperty marquee_style              = new CSSProperty(CSSLevel.CSS_3, "marquee-style");
   public static final CSSProperty max_height                 = new CSSProperty(CSSLevel.CSS_2, "max-height");
   public static final CSSProperty max_lines                  = new CSSProperty(CSSLevel.CSS_3, "max-lines");
   public static final CSSProperty max_width                  = new CSSProperty(CSSLevel.CSS_2, "max-width");
   public static final CSSProperty min_height                 = new CSSProperty(CSSLevel.CSS_2, "min-height");
   public static final CSSProperty min_width                  = new CSSProperty(CSSLevel.CSS_2, "min-width");
   public static final CSSProperty move_to                    = new CSSProperty(CSSLevel.CSS_3, "move-to");
   public static final CSSProperty nav_down                   = new CSSProperty(CSSLevel.CSS_3, "nav-down");
   public static final CSSProperty nav_index                  = new CSSProperty(CSSLevel.CSS_3, "nav-index");
   public static final CSSProperty nav_left                   = new CSSProperty(CSSLevel.CSS_3, "nav-left");
   public static final CSSProperty nav_right                  = new CSSProperty(CSSLevel.CSS_3, "nav-right");
   public static final CSSProperty nav_up                     = new CSSProperty(CSSLevel.CSS_3, "nav-up");
   public static final CSSProperty opacity                    = new CSSProperty(CSSLevel.CSS_3, "opacity");
   public static final CSSProperty order                      = new CSSProperty(CSSLevel.CSS_3, "order");
   public static final CSSProperty orphans                    = new CSSProperty(CSSLevel.CSS_2, "orphans");
   public static final CSSProperty outline                    = new CSSProperty(CSSLevel.CSS_2, "outline");
   public static final CSSProperty outline_color              = new CSSProperty(CSSLevel.CSS_2, "outline-color");
   public static final CSSProperty outline_offset             = new CSSProperty(CSSLevel.CSS_3, "outline-offset");
   public static final CSSProperty outline_style              = new CSSProperty(CSSLevel.CSS_2, "outline-style");
   public static final CSSProperty outline_width              = new CSSProperty(CSSLevel.CSS_2, "outline-width");
   public static final CSSProperty overflow                   = new CSSProperty(CSSLevel.CSS_2, "overflow");
   public static final CSSProperty overflow_style             = new CSSProperty(CSSLevel.CSS_3, "overflow-style");
   public static final CSSProperty overflow_wrap              = new CSSProperty(CSSLevel.CSS_3, "overflow-wrap");
   public static final CSSProperty overflow_x                 = new CSSProperty(CSSLevel.CSS_3, "overflow-x");
   public static final CSSProperty overflow_y                 = new CSSProperty(CSSLevel.CSS_3, "overflow-y");
   public static final CSSProperty padding                    = new CSSProperty(CSSLevel.CSS_1, "padding");
   public static final CSSProperty padding_bottom             = new CSSProperty(CSSLevel.CSS_1, "padding-bottom");
   public static final CSSProperty padding_left               = new CSSProperty(CSSLevel.CSS_1, "padding-left");
   public static final CSSProperty padding_right              = new CSSProperty(CSSLevel.CSS_1, "padding-right");
   public static final CSSProperty padding_top                = new CSSProperty(CSSLevel.CSS_1, "padding-top");
   public static final CSSProperty page                       = new CSSProperty(CSSLevel.CSS_2, "page");
   public static final CSSProperty page_break_after           = new CSSProperty(CSSLevel.CSS_2, "page-break-after");
   public static final CSSProperty page_break_before          = new CSSProperty(CSSLevel.CSS_2, "page-break-before");
   public static final CSSProperty page_break_inside          = new CSSProperty(CSSLevel.CSS_2, "page-break-inside");
   public static final CSSProperty page_policy                = new CSSProperty(CSSLevel.CSS_3, "page-policy");
   public static final CSSProperty pause                      = new CSSProperty(CSSLevel.CSS_2, "pause");
   public static final CSSProperty pause_after                = new CSSProperty(CSSLevel.CSS_2, "pause-after");
   public static final CSSProperty pause_before               = new CSSProperty(CSSLevel.CSS_2, "pause-before");
   public static final CSSProperty perspective                = new CSSProperty(CSSLevel.CSS_3, "perspective");
   public static final CSSProperty perspective_origin         = new CSSProperty(CSSLevel.CSS_3, "perspective-origin");
   public static final CSSProperty pitch                      = new CSSProperty(CSSLevel.CSS_2, "pitch");
   public static final CSSProperty pitch_range                = new CSSProperty(CSSLevel.CSS_2, "pitch-range");
   public static final CSSProperty play_during                = new CSSProperty(CSSLevel.CSS_2, "play-during");
   public static final CSSProperty position                   = new CSSProperty(CSSLevel.CSS_2, "position");
   public static final CSSProperty presentation_level         = new CSSProperty(CSSLevel.CSS_3, "presentation-level");
   public static final CSSProperty punctuation_trim           = new CSSProperty(CSSLevel.CSS_3, "punctuation-trim");
   public static final CSSProperty quotes                     = new CSSProperty(CSSLevel.CSS_2, "quotes");
   public static final CSSProperty rendering_intent           = new CSSProperty(CSSLevel.CSS_3, "rendering-intent");
   public static final CSSProperty resize                     = new CSSProperty(CSSLevel.CSS_3, "resize");
   public static final CSSProperty rest                       = new CSSProperty(CSSLevel.CSS_3, "rest");
   public static final CSSProperty rest_after                 = new CSSProperty(CSSLevel.CSS_3, "rest-after");
   public static final CSSProperty rest_before                = new CSSProperty(CSSLevel.CSS_3, "rest-before");
   public static final CSSProperty richness                   = new CSSProperty(CSSLevel.CSS_2, "richness");
   public static final CSSProperty right                      = new CSSProperty(CSSLevel.CSS_2, "right");
   public static final CSSProperty rotation                   = new CSSProperty(CSSLevel.CSS_3, "rotation");
   public static final CSSProperty rotation_point             = new CSSProperty(CSSLevel.CSS_3, "rotation-point");
   public static final CSSProperty ruby_align                 = new CSSProperty(CSSLevel.CSS_3, "ruby-align");
   public static final CSSProperty ruby_overhang              = new CSSProperty(CSSLevel.CSS_3, "ruby-overhang");
   public static final CSSProperty ruby_position              = new CSSProperty(CSSLevel.CSS_3, "ruby-position");
   public static final CSSProperty ruby_span                  = new CSSProperty(CSSLevel.CSS_3, "ruby-span");
   public static final CSSProperty size                       = new CSSProperty(CSSLevel.CSS_2, "size");
   public static final CSSProperty speak                      = new CSSProperty(CSSLevel.CSS_2, "speak");
   public static final CSSProperty speak_as                   = new CSSProperty(CSSLevel.CSS_3, "speak-as");
   public static final CSSProperty speak_header               = new CSSProperty(CSSLevel.CSS_2, "speak-header");
   public static final CSSProperty speak_numeral              = new CSSProperty(CSSLevel.CSS_2, "speak-numeral");
   public static final CSSProperty speak_punctuation          = new CSSProperty(CSSLevel.CSS_2, "speak-punctuation");
   public static final CSSProperty speech_rate                = new CSSProperty(CSSLevel.CSS_2, "speech-rate");
   public static final CSSProperty stress                     = new CSSProperty(CSSLevel.CSS_2, "stress");
   public static final CSSProperty string_set                 = new CSSProperty(CSSLevel.CSS_3, "string-set");
   public static final CSSProperty tab_size                   = new CSSProperty(CSSLevel.CSS_3, "tab-size");
   public static final CSSProperty table_layout               = new CSSProperty(CSSLevel.CSS_2, "table-layout");
   public static final CSSProperty target                     = new CSSProperty(CSSLevel.CSS_3, "target");
   public static final CSSProperty target_name                = new CSSProperty(CSSLevel.CSS_3, "target-name");
   public static final CSSProperty target_new                 = new CSSProperty(CSSLevel.CSS_3, "target-new");
   public static final CSSProperty target_position            = new CSSProperty(CSSLevel.CSS_3, "target-position");
   public static final CSSProperty text_align                 = new CSSProperty(CSSLevel.CSS_1, "text-align");
   public static final CSSProperty text_align_last            = new CSSProperty(CSSLevel.CSS_3, "text-align-last");
   public static final CSSProperty text_combine_horizontal    = new CSSProperty(CSSLevel.CSS_3, "text-combine-horizontal");
   public static final CSSProperty text_decoration            = new CSSProperty(CSSLevel.CSS_1, "text-decoration");
   public static final CSSProperty text_decoration_color      = new CSSProperty(CSSLevel.CSS_3, "text-decoration-color");
   public static final CSSProperty text_decoration_line       = new CSSProperty(CSSLevel.CSS_3, "text-decoration-line");
   public static final CSSProperty text_decoration_skip       = new CSSProperty(CSSLevel.CSS_3, "text-decoration-skip");
   public static final CSSProperty text_decoration_style      = new CSSProperty(CSSLevel.CSS_3, "text-decoration-style");
   public static final CSSProperty text_emphasis              = new CSSProperty(CSSLevel.CSS_3, "text-emphasis");
   public static final CSSProperty text_emphasis_color        = new CSSProperty(CSSLevel.CSS_3, "text-emphasis-color");
   public static final CSSProperty text_emphasis_position     = new CSSProperty(CSSLevel.CSS_3, "text-emphasis-position");
   public static final CSSProperty text_emphasis_style        = new CSSProperty(CSSLevel.CSS_3, "text-emphasis-style");
   public static final CSSProperty text_height                = new CSSProperty(CSSLevel.CSS_3, "text-height");
   public static final CSSProperty text_indent                = new CSSProperty(CSSLevel.CSS_1, "text-indent");
   public static final CSSProperty text_justify               = new CSSProperty(CSSLevel.CSS_3, "text-justify");
   public static final CSSProperty text_orientation           = new CSSProperty(CSSLevel.CSS_3, "text-orientation");
   public static final CSSProperty text_outline               = new CSSProperty(CSSLevel.CSS_3, "text-outline");
   public static final CSSProperty text_overflow              = new CSSProperty(CSSLevel.CSS_3, "text-overflow");
   public static final CSSProperty text_shadow                = new CSSProperty(CSSLevel.CSS_2, "text-shadow");
   public static final CSSProperty text_space_collapse        = new CSSProperty(CSSLevel.CSS_3, "text-space-collapse");
   public static final CSSProperty text_transform             = new CSSProperty(CSSLevel.CSS_1, "text-transform");
   public static final CSSProperty text_underline_position    = new CSSProperty(CSSLevel.CSS_3, "text-underline-position");
   public static final CSSProperty text_wrap                  = new CSSProperty(CSSLevel.CSS_3, "text-wrap");
   public static final CSSProperty top                        = new CSSProperty(CSSLevel.CSS_2, "top");
   public static final CSSProperty transform                  = new CSSProperty(CSSLevel.CSS_3, "transform");
   public static final CSSProperty transform_origin           = new CSSProperty(CSSLevel.CSS_3, "transform-origin");
   public static final CSSProperty transform_style            = new CSSProperty(CSSLevel.CSS_3, "transform-style");
   public static final CSSProperty transition                 = new CSSProperty(CSSLevel.CSS_3, "transition");
   public static final CSSProperty transition_delay           = new CSSProperty(CSSLevel.CSS_3, "transition-delay");
   public static final CSSProperty transition_duration        = new CSSProperty(CSSLevel.CSS_3, "transition-duration");
   public static final CSSProperty transition_property        = new CSSProperty(CSSLevel.CSS_3, "transition-property");
   public static final CSSProperty transition_timing_function = new CSSProperty(CSSLevel.CSS_3, "transition-timing-function");
   public static final CSSProperty unicode_bidi               = new CSSProperty(CSSLevel.CSS_2, "unicode-bidi");
   public static final CSSProperty vertical_align             = new CSSProperty(CSSLevel.CSS_1, "vertical-align");
   public static final CSSProperty visibility                 = new CSSProperty(CSSLevel.CSS_2, "visibility");
   public static final CSSProperty voice_balance              = new CSSProperty(CSSLevel.CSS_3, "voice-balance");
   public static final CSSProperty voice_duration             = new CSSProperty(CSSLevel.CSS_3, "voice-duration");
   public static final CSSProperty voice_family               = new CSSProperty(CSSLevel.CSS_2, "voice-family");
   public static final CSSProperty voice_pitch                = new CSSProperty(CSSLevel.CSS_3, "voice-pitch");
   public static final CSSProperty voice_range                = new CSSProperty(CSSLevel.CSS_3, "voice-range");
   public static final CSSProperty voice_rate                 = new CSSProperty(CSSLevel.CSS_3, "voice-rate");
   public static final CSSProperty voice_stress               = new CSSProperty(CSSLevel.CSS_3, "voice-stress");
   public static final CSSProperty voice_volume               = new CSSProperty(CSSLevel.CSS_3, "voice-volume");
   public static final CSSProperty volume                     = new CSSProperty(CSSLevel.CSS_2, "volume");
   public static final CSSProperty white_space                = new CSSProperty(CSSLevel.CSS_1, "white-space");
   public static final CSSProperty widows                     = new CSSProperty(CSSLevel.CSS_2, "widows");
   public static final CSSProperty width                      = new CSSProperty(CSSLevel.CSS_1, "width");
   public static final CSSProperty word_break                 = new CSSProperty(CSSLevel.CSS_3, "word-break");
   public static final CSSProperty word_spacing               = new CSSProperty(CSSLevel.CSS_1, "word-spacing");
   public static final CSSProperty word_wrap                  = new CSSProperty(CSSLevel.CSS_3, "word-wrap");
   public static final CSSProperty writing_mode               = new CSSProperty(CSSLevel.CSS_3, "writing-mode");
   public static final CSSProperty z_index                    = new CSSProperty(CSSLevel.CSS_2, "z-index");








   private String   mName;
   private CSSLevel mLevel;

   //--------------------------------------------------------------------------
   private CSSProperty(CSSLevel inLevel, String inName)
   {
      mLevel = inLevel;
      mName  = inName;

      sMap.put(mName, this);
   }


   //--------------------------------------------------------------------------
   public static CSSProperty valueOf(String inName)
   {
      String name = inName.trim().toLowerCase();
      CSSProperty property = sMap.get(name);
      // Don't be strict. Create a new property if we can't find a match.
      if (null == property)
      {
         property = new CSSProperty(null, name);
      }

      return property;
   }

   //--------------------------------------------------------------------------
   @Override
   public String toString()
   {
      return name();
   }

   //--------------------------------------------------------------------------
   public String name()
   {
      return mName;
   }

   //--------------------------------------------------------------------------
   public CSSLevel getCSSLevel()
   {
      return mLevel;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy