## Uses of Class
org.apache.cayenne.util.XMLEncoder

- Packages that use XMLEncoder
  Package | Description
  --- | ---
  org.apache.cayenne.configuration |
  org.apache.cayenne.conn |
  org.apache.cayenne.exp | Cayenne data expression classes.
  org.apache.cayenne.map | Contains O/R mapping classes that store relational database metadata information and map it to Java classes.
  org.apache.cayenne.query | Defines standard queries supported by Cayenne and extension mechanism to create custom queries.
  org.apache.cayenne.util | General utility classes.

- - ### Uses of XMLEncoder in org.apache.cayenne.configuration

    Methods in org.apache.cayenne.configuration with parameters of type XMLEncoder
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | DataChannelDescriptor.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` |
    `void` | DataNodeDescriptor.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` |

  - ### Uses of XMLEncoder in org.apache.cayenne.conn

    Methods in org.apache.cayenne.conn with parameters of type XMLEncoder
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | DataSourceInfo.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` |

  - ### Uses of XMLEncoder in org.apache.cayenne.exp

    Methods in org.apache.cayenne.exp with parameters of type XMLEncoder
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | Expression.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` | Encodes itself, wrapping the string into XML CDATA section.

  - ### Uses of XMLEncoder in org.apache.cayenne.map

    Methods in org.apache.cayenne.map with parameters of type XMLEncoder
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract void` | Attribute.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` |
    `void` | DataMap.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` | Prints itself as XML to the provided PrintWriter.
    `void` | DbAttribute.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` | Prints itself as XML to the provided XMLEncoder.
    `void` | DbEntity.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` | Prints itself as XML to the provided XMLEncoder.
    `void` | DbJoin.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` | Prints itself as XML to the provided XMLEncoder.
    `void` | DbKeyGenerator.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` | Prints itself as XML to the provided XMLEncoder.
    `void` | DbRelationship.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` | Prints itself as XML to the provided XMLEncoder.
    `void` | EJBQLQueryDescriptor.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` |
    `void` | Embeddable.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` | `XMLSerializable` implementation that generates XML for embeddable.
    `void` | EmbeddableAttribute.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` |
    `void` | EmbeddedAttribute.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` |
    `void` | ObjAttribute.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` | Prints itself as XML to the provided XMLEncoder.
    `void` | ObjEntity.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` | Prints itself as XML to the provided XMLEncoder.
    `void` | ObjRelationship.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` | Prints itself as XML to the provided XMLEncoder.
    `void` | Procedure.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` | Prints itself as XML to the provided XMLEncoder.
    `void` | ProcedureParameter.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` | Prints itself as XML to the provided PrintWriter.
    `void` | ProcedureQueryDescriptor.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` |
    `void` | QueryDescriptor.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` |
    `void` | SelectQueryDescriptor.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` |
    `void` | SQLTemplateDescriptor.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` |
    `void` | CallbackMap.`encodeCallbacksAsXML​(XMLEncoder encoder)` |

  - ### Uses of XMLEncoder in org.apache.cayenne.query

    Methods in org.apache.cayenne.query with parameters of type XMLEncoder
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | Ordering.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` | Encodes itself as a query ordering.
    `void` | PrefetchTreeNode.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` |

  - ### Uses of XMLEncoder in org.apache.cayenne.util

    Methods in org.apache.cayenne.util that return XMLEncoder
    Modifier and Type | Method | Description
    --- | --- | ---
    `XMLEncoder` | XMLEncoder.`attribute​(String name, boolean value)` |
    `XMLEncoder` | XMLEncoder.`attribute​(String name, int value)` |
    `XMLEncoder` | XMLEncoder.`attribute​(String name, String value)` |
    `XMLEncoder` | XMLEncoder.`attribute​(String name, String value, boolean newLine)` |
    `XMLEncoder` | XMLEncoder.`cdata​(String data)` |
    `XMLEncoder` | XMLEncoder.`cdata​(String data, boolean escape)` |
    `XMLEncoder` | XMLEncoder.`end()` | This method will track presence of nested tags and print closure accordingly
    `XMLEncoder` | XMLEncoder.`indent​(int i)` |
    `XMLEncoder` | XMLEncoder.`nested​(Collection<? extends XMLSerializable> collection, ConfigurationNodeVisitor delegate)` |
    `XMLEncoder` | XMLEncoder.`nested​(Map<?,​? extends XMLSerializable> map, ConfigurationNodeVisitor delegate)` |
    `XMLEncoder` | XMLEncoder.`nested​(XMLSerializable object, ConfigurationNodeVisitor delegate)` |
    `XMLEncoder` | XMLEncoder.`print​(String text)` |
    `XMLEncoder` | XMLEncoder.`println()` |
    `XMLEncoder` | XMLEncoder.`println​(String text)` |
    `XMLEncoder` | XMLEncoder.`projectVersion()` | Inserts an optional project version attribute in the output.
    `XMLEncoder` | XMLEncoder.`property​(String name, boolean b)` | Prints a common XML element - property with name and value.
    `XMLEncoder` | XMLEncoder.`property​(String name, int i)` | Prints a common XML element - property with name and value.
    `XMLEncoder` | XMLEncoder.`property​(String name, String value)` | Prints a common XML element - property with name and value.
    `XMLEncoder` | XMLEncoder.`simpleTag​(String tag, String value)` | Prints common XML element - tag with name and text value (<tag>value</tag>) If value is empty, nothing will be printed.
    `XMLEncoder` | XMLEncoder.`start​(String tag)` |

    Methods in org.apache.cayenne.util with parameters of type XMLEncoder
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | XMLSerializable.`encodeAsXML​(XMLEncoder encoder, ConfigurationNodeVisitor delegate)` | Prints itself as XML to the provided XMLEncoder.