home *** CD-ROM | disk | FTP | other *** search
- package javax.swing.text.html;
-
- import java.util.Hashtable;
-
- public class CSS {
- private static final Hashtable attributeMap = new Hashtable();
- private static final Hashtable valueMap = new Hashtable();
-
- static {
- for(int var0 = 0; var0 < javax.swing.text.html.CSS.Attribute.allAttributes.length; ++var0) {
- attributeMap.put(javax.swing.text.html.CSS.Attribute.allAttributes[var0].toString(), javax.swing.text.html.CSS.Attribute.allAttributes[var0]);
- }
-
- for(int var1 = 0; var1 < javax.swing.text.html.CSS.Value.allValues.length; ++var1) {
- valueMap.put(javax.swing.text.html.CSS.Value.allValues[var1].toString(), javax.swing.text.html.CSS.Value.allValues[var1]);
- }
-
- }
-
- public static Attribute[] getAllAttributeKeys() {
- Attribute[] var0 = new Attribute[javax.swing.text.html.CSS.Attribute.allAttributes.length];
- System.arraycopy(javax.swing.text.html.CSS.Attribute.allAttributes, 0, var0, 0, javax.swing.text.html.CSS.Attribute.allAttributes.length);
- return var0;
- }
-
- public static final Attribute getAttribute(String var0) {
- return (Attribute)attributeMap.get(var0);
- }
-
- static final Value getValue(String var0) {
- return (Value)valueMap.get(var0);
- }
- }
-