org.vectomatic.dom.svg.impl
Class DashArrayParser

java.lang.Object
  extended by org.vectomatic.dom.svg.impl.DashArrayParser

public class DashArrayParser
extends Object

Class to parse SVG dash arrays. Do not call this class directly, it will be removed when browser provide good native support for it. Following is the BNF grammar of the expression supported.

 dasharray ::= (length | percentage) (comma-wsp dasharray)?
 length ::= number (~"em" | ~"ex" | ~"px" | ~"in" | ~"cm" | ~"mm" | ~"pt" | ~"pc")?
 length ::= number ("em" | "ex" | "px" | "in" | "cm" | "mm" | "pt" | "pc" | "%")?
 number ::= integer | [+-]? [0-9]* "." [0-9]+
 

Author:
laaglu

Field Summary
static DashArrayParser INSTANCE
           
 
Method Summary
 OMCSSValue parse(String cssText)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final DashArrayParser INSTANCE
Method Detail

parse

public OMCSSValue parse(String cssText)


Copyright © 2012. All Rights Reserved.