|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.datamixer.io.DMFormatter
| Field Summary | |
protected java.lang.String |
id_
id |
protected org.apache.log4j.Logger |
logger_
logger |
protected DMReader |
reader_
reader |
protected DMWriter |
writer_
writer |
| Constructor Summary | |
DMFormatter()
|
|
| Method Summary | |
protected void |
formatAttribute(DMAttribute attr,
Value value,
int index)
|
java.lang.String |
getId()
Returns the id. |
protected DMFormatter |
getImpl()
|
DMReader |
getReader()
|
DMWriter |
getWriter()
|
boolean |
read(DMElement element)
Should be overridden by derived classes. |
void |
setId(java.lang.String id)
Sets the id. |
protected void |
setImpl(DMFormatter value)
|
void |
setReader(DMReader reader)
|
void |
setType(java.lang.String type)
|
void |
setWriter(DMWriter writer)
|
void |
write(DMElement element)
|
void |
write(int depth,
DMElement element)
|
protected void |
writeAttribute(DMAttribute attr,
int index)
|
protected void |
writeAttributes(java.util.ArrayList attrs)
|
protected void |
writeElement(int depth,
DMElement element)
|
protected void |
writeElements(int depth,
java.util.ArrayList elements)
Write all elements in elements. |
protected void |
writeElementValues(int depth,
DMElement element)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String id_
protected DMReader reader_
protected DMWriter writer_
protected org.apache.log4j.Logger logger_
| Constructor Detail |
public DMFormatter()
| Method Detail |
public java.lang.String getId()
public void setId(java.lang.String id)
public boolean read(DMElement element)
throws DatamixerException
DatamixerException
public void write(DMElement element)
throws DatamixerException
DatamixerException
public void write(int depth,
DMElement element)
throws DatamixerException
DatamixerExceptionpublic DMReader getReader()
public void setReader(DMReader reader)
public DMWriter getWriter()
public void setWriter(DMWriter writer)
public void setType(java.lang.String type)
protected DMFormatter getImpl()
protected void setImpl(DMFormatter value)
protected void writeElements(int depth,
java.util.ArrayList elements)
throws DatamixerException
elements.
DatamixerException
protected void writeElementValues(int depth,
DMElement element)
throws DatamixerException
DatamixerException
protected void writeElement(int depth,
DMElement element)
throws DatamixerException
DatamixerException
protected void writeAttributes(java.util.ArrayList attrs)
throws DatamixerException
DatamixerException
protected void writeAttribute(DMAttribute attr,
int index)
throws DatamixerException
DatamixerException
protected void formatAttribute(DMAttribute attr,
Value value,
int index)
throws DatamixerException
DatamixerException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||