org.datamixer.io
Class XmlFormat
java.lang.Object
org.datamixer.io.DMFormatter
org.datamixer.io.XmlFormat
- public class XmlFormat
- extends DMFormatter
|
Field Summary |
static java.lang.String |
INDENT
|
| Methods inherited from class org.datamixer.io.DMFormatter |
getId, getImpl, getReader, getWriter, setId, setImpl, setReader, setType, setWriter, write, write, writeAttribute, writeAttributes, writeElements, writeElementValues |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INDENT
public static final java.lang.String INDENT
- See Also:
- Constant Field Values
XmlFormat
public XmlFormat()
read
public boolean read(DMElement element)
throws DatamixerException
- Description copied from class:
DMFormatter
- Should be overridden by derived classes. This method delegates to the
implementation object.
- Overrides:
read in class DMFormatter
- Throws:
DatamixerException
writeElement
protected void writeElement(int depth,
DMElement element)
throws DatamixerException
- Overrides:
writeElement in class DMFormatter
- Throws:
DatamixerException
formatAttribute
protected void formatAttribute(DMAttribute attr,
Value value,
int index)
throws DatamixerException
- Overrides:
formatAttribute in class DMFormatter
- Throws:
DatamixerException
indent
public static void indent(DMWriter writer,
int depth)
throws DatamixerException
- Throws:
DatamixerException
newline
public static void newline(DMWriter writer)
throws DatamixerException
- Throws:
DatamixerException
Copyright © 2004-2006 datamixer.org. All Rights Reserved.