Package se.datadosen.tags
Class AttributeTokenizer
java.lang.Object
se.datadosen.tags.AttributeTokenizer
Parses a string of name=value name="value with spaces"... pairs inside a tag
-
Constructor Summary
ConstructorDescriptionAttributeTokenizer
(String text) AttributeTokenizer
(String text, int startPosition) -
Method Summary
Modifier and TypeMethodDescriptionint
static Properties
getProperties
(String text) boolean
nextName()
int
int
int
skipPastScriptlet
(int i) int
int
-
Constructor Details
-
AttributeTokenizer
-
AttributeTokenizer
-
-
Method Details
-
getProperties
- 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
- Throws:
ElementException
-
nextValue
-