se.datadosen.tags
Class AttributeTokenizer
java.lang.Object
se.datadosen.tags.AttributeTokenizer
public class AttributeTokenizer
- extends java.lang.Object
Parses a string of name=value name="value with spaces"... pairs inside a tag
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeTokenizer
public AttributeTokenizer(java.lang.String text)
AttributeTokenizer
public AttributeTokenizer(java.lang.String text,
int startPosition)
getProperties
public static java.util.Properties getProperties(java.lang.String text)
throws ElementException
- Throws:
ElementException
getPosition
public int getPosition()
hasMoreTokens
public boolean hasMoreTokens()
skipWhiteSpace
public int skipWhiteSpace()
skipPastName
public int skipPastName()
skipPastScriptlet
public int skipPastScriptlet(int i)
skipPastValue
public int skipPastValue()
skipPastQuotation
public int skipPastQuotation()
nextName
public java.lang.String nextName()
throws java.util.NoSuchElementException
- Throws:
java.util.NoSuchElementException
nextValue
public java.lang.String nextValue()
throws java.util.NoSuchElementException,
ElementException
- Throws:
java.util.NoSuchElementException
ElementException