public abstract class XmlRowWriter.XmlWritingNodeVisitor extends java.lang.Object implements NodeVisitor
| Modifier and Type | Field and Description | 
|---|---|
protected CellContentConverter | 
cellContentConverter
 | 
| Constructor and Description | 
|---|
XmlWritingNodeVisitor(java.sql.ResultSet resultSet,
                     java.sql.ResultSetMetaData resultSetMetaData,
                     Table table,
                     Association association,
                     Session session)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected java.lang.Object | 
toContent(java.lang.String text,
         boolean returnNull)
Gets text to write out. 
 | 
void | 
visitComment(java.lang.String comment)
Visits comment. 
 | 
void | 
visitElementEnd(java.lang.String elementName,
               boolean isRoot)
Visits end of an element. 
 | 
void | 
visitElementStart(java.lang.String elementName,
                 boolean isRoot,
                 java.lang.String[] aNames,
                 java.lang.String[] aValues)
Visits start of an element. 
 | 
void | 
visitText(java.lang.String text)
Visits text node. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvisitAssociationElementprotected final CellContentConverter cellContentConverter
public XmlWritingNodeVisitor(java.sql.ResultSet resultSet,
                             java.sql.ResultSetMetaData resultSetMetaData,
                             Table table,
                             Association association,
                             Session session)
resultSet - to read rows fromprotected java.lang.Object toContent(java.lang.String text,
                                     boolean returnNull)
text - the textreturnNull - if true, return null instead of empty string if sql-result is nullpublic void visitComment(java.lang.String comment)
NodeVisitorvisitComment in interface NodeVisitorcomment - the commentpublic void visitElementEnd(java.lang.String elementName,
                            boolean isRoot)
NodeVisitorvisitElementEnd in interface NodeVisitorelementName - the element nameisRoot - true if element is rootpublic void visitElementStart(java.lang.String elementName,
                              boolean isRoot,
                              java.lang.String[] aNames,
                              java.lang.String[] aValues)
NodeVisitorvisitElementStart in interface NodeVisitorelementName - the element nameisRoot - true if element is rootpublic void visitText(java.lang.String text)
NodeVisitorvisitText in interface NodeVisitortext - the text