org.vectomatic.svg.edit.client.engine
Class IdRefTokenizer
java.lang.Object
org.vectomatic.svg.edit.client.engine.IdRefTokenizer
- Direct Known Subclasses:
- IdRefTokenizerMozilla
public class IdRefTokenizer
- extends java.lang.Object
Class to split SVG attribute values into a stream of
tokens. Each token is either a piece of text to be
quoted verbatim by the SVG id normalizer, or an idref
to be replaced by a normalized id ref.
- Author:
- laaglu
Field Summary |
protected static java.lang.String |
END
|
protected int |
index1
|
protected int |
index2
|
protected static java.lang.String |
START
|
protected java.lang.String |
str
|
protected org.vectomatic.svg.edit.client.engine.IdRefTokenizer.IdRefToken |
token
|
Method Summary |
org.vectomatic.svg.edit.client.engine.IdRefTokenizer.IdRefToken |
nextToken()
|
void |
tokenize(java.lang.String str)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
START
protected static final java.lang.String START
- See Also:
- Constant Field Values
END
protected static final java.lang.String END
- See Also:
- Constant Field Values
token
protected org.vectomatic.svg.edit.client.engine.IdRefTokenizer.IdRefToken token
str
protected java.lang.String str
index1
protected int index1
index2
protected int index2
IdRefTokenizer
public IdRefTokenizer()
tokenize
public void tokenize(java.lang.String str)
nextToken
public org.vectomatic.svg.edit.client.engine.IdRefTokenizer.IdRefToken nextToken()
Copyright © 2010. All Rights Reserved.