Changeset 17333 in josm for trunk/src/com/kitfox/svg/xml
- Timestamp:
- 2020-11-23T16:28:11+01:00 (4 years ago)
- Location:
- trunk/src/com/kitfox/svg/xml
- Files:
-
- 2 edited
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 * -
trunk/src/com/kitfox/svg/xml/XMLParseUtil.java
r15912 r17333 168 168 * Scans an input string for double values. For each value found, places 169 169 * in a list. This method regards any characters not part of a floating 170 * point value to be sep erators. Thus this will parse whitespace seperated,171 * comma sep erated, and many other separation schemes correctly.170 * point value to be separators. Thus this will parse whitespace separated, 171 * comma separated, and many other separation schemes correctly. 172 172 */ 173 173 public synchronized static double[] parseDoubleList(String list)
Note:
See TracChangeset
for help on using the changeset viewer.