public static class VoterInputTable.XMLColumnAppender extends XMLColumnAppender
Constructor and Description |
---|
VoterInputTable.XMLColumnAppender(Appendable _sink)
Constructs an XMLColumnAppender.
|
Modifier and Type | Method and Description |
---|---|
void |
appendAttribute(String name,
String value)
Serializes the specified datum as a space character followed by an attribute
declaration and appends it to the sink, or does nothing if the value is null.
|
booleanToString, byteToString, longToString, newStreamReader, newStreamReader, newStreamReader, sink, stringToBoolean, stringToByte, stringToLong
public VoterInputTable.XMLColumnAppender(Appendable _sink)
XMLColumnAppender.sink()
public void appendAttribute(String name, String value) throws IOException
XMLColumnAppender
appendAttribute
in class XMLColumnAppender
name
- a valid XML name for the attribute.value
- the value of the datum, or null to append nothing.VoterInputTable.BadInputException
- if the attribute value is longer than the allowed
limit.IOException