cucumber.table.xstream
Class ListOfMapReader
java.lang.Object
com.thoughtworks.xstream.io.AbstractReader
cucumber.table.xstream.ListOfMapReader
- All Implemented Interfaces:
- com.thoughtworks.xstream.converters.ErrorReporter, com.thoughtworks.xstream.io.ExtendedHierarchicalStreamReader, com.thoughtworks.xstream.io.HierarchicalStreamReader
public class ListOfMapReader
- extends com.thoughtworks.xstream.io.AbstractReader
Generates XStream XML data from table rows that will create a List of maps. Example:
Methods inherited from class com.thoughtworks.xstream.io.AbstractReader |
decodeAttribute, decodeNode, encodeAttribute, encodeNode, peekNextChild, underlyingReader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListOfMapReader
public ListOfMapReader(List<String> attributeNames,
List<List<String>> items)
hasMoreChildren
public boolean hasMoreChildren()
moveDown
public void moveDown()
moveUp
public void moveUp()
getNodeName
public String getNodeName()
getValue
public String getValue()
getAttribute
public String getAttribute(String name)
getAttribute
public String getAttribute(int index)
getAttributeCount
public int getAttributeCount()
getAttributeName
public String getAttributeName(int index)
getAttributeNames
public Iterator getAttributeNames()
appendErrors
public void appendErrors(com.thoughtworks.xstream.converters.ErrorWriter errorWriter)
close
public void close()
Copyright © 2012. All Rights Reserved.