gnu.xquery.util
Class XMLFormat
java.lang.Object
java.text.Format
gnu.lists.AbstractFormat
gnu.xquery.util.XMLFormat
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class XMLFormat
- extends AbstractFormat
A format that prints in XML syntax.
This may be a bad idea - maybe we should just use XMLConsumer.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class java.text.Format |
java.text.Format.Field |
Methods inherited from class java.text.Format |
clone, format, formatToCharacterIterator, parseObject |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLFormat
public XMLFormat()
isWordChar
protected static final boolean isWordChar(char ch)
beginGroup
public void beginGroup(java.lang.String typeName,
java.lang.Object type,
Consumer out)
- Overrides:
beginGroup
in class AbstractFormat
endGroup
public void endGroup(java.lang.String typeName,
Consumer out)
- Overrides:
endGroup
in class AbstractFormat
writeObject
public void writeObject(java.lang.Object obj,
Consumer out)
- Specified by:
writeObject
in class AbstractFormat
format
public void format(java.lang.Object value,
Consumer out)
- Overrides:
format
in class AbstractFormat