Changeset 17333 in josm for trunk/src/com/kitfox/svg/xml/StyleAttribute.java
- Timestamp:
- 2020-11-23T16:28:11+01:00 (5 years ago)
- File:
-
- 1 edited
-
trunk/src/com/kitfox/svg/xml/StyleAttribute.java (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/kitfox/svg/xml/StyleAttribute.java
r15901 r17333 55 55 static final Pattern patternUrl = Pattern.compile("\\s*url\\((.*)\\)\\s*"); 56 56 static final Matcher matchFpNumUnits = Pattern.compile("\\s*([-+]?((\\d*\\.\\d+)|(\\d+))([-+]?[eE]\\d+)?)\\s*(px|cm|mm|in|pc|pt|em|ex)\\s*").matcher(""); 57 57 58 58 String name; 59 59 String stringValue; 60 60 61 boolean colorCompat able = false;62 boolean urlCompat able = false;61 boolean colorCompatible = false; 62 boolean urlCompatible = false; 63 63 64 64 /** Creates a new instance of StyleAttribute */ … … 67 67 this(null, null); 68 68 } 69 70 public StyleAttribute(String name) 69 70 public StyleAttribute(String name) 71 71 { 72 72 this(name, null); … … 239 239 return getURIValue(null); 240 240 } 241 241 242 242 /** 243 * Parse this s ytle attribute as a URL and return it in URI form resolved243 * Parse this style attribute as a URL and return it in URI form resolved 244 244 * against the passed base. 245 245 *
Note:
See TracChangeset
for help on using the changeset viewer.
