Interface XMLable

All Known Implementing Classes:
AbstractSchedule, ActivityClass, ActivityClassParameter, ActivityClassParameterSchema, ActivityClassSchema, ActivityReturnVariable, AdminConsoleRoleMap, AEVRoleMap, AppianTypeCache, Assignment, Attachment, CollaborationRoleMap, Connection, ContentRoleMap, DynamicForm, FormConfig, FormElement, FormElementBinding, ForumsRoleMap, GenericTypedVariable, Instances, InternalForm, Interval, JSPForm, Mapping, Note, Option, PageRoleMap, Palette, PaletteCategory, PaletteItem, PortalRoleMap, Priority, ProcessApplicationRoleMap, ProcessModelDetails, ProcessModelSummary, ProcessRoleMap, ProcessVariable, ProcessVariableInstance, PublicRoleMap, RoleMap, Schedule, ScheduleInstance, Spawning, ThreadRoleMap, TypedVariable

public interface XMLable
Implementing classes can be represented in XML.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Deprecated.
    use the default StringBuilder constructor or one adjusted directly to the known size
  • Method Summary

    Modifier and Type
    Method
    Description
    Generates an XML representation of this object (including all child objects).
    default void
    Appends an XML representation of this object (including all child objects) to the given buffer.
    default void
    Appends an XML representation of this object (including all child objects) to the given buffer.
  • Field Details

    • DEFAULT_BUFFER_SIZE

      @Deprecated static final int DEFAULT_BUFFER_SIZE
      Deprecated.
      use the default StringBuilder constructor or one adjusted directly to the known size
      A size to use if you are creating the buffer that will be passed to some XMLables' toXML( StringBuffer ) ot toXML( StringBuilder ) methods.
      See Also:
  • Method Details

    • toXML

      String toXML()
      Generates an XML representation of this object (including all child objects). A typical implementation is to create a new StringBuilder and call toXML( StringBuilder ) on it.
      Returns:
      The XML representation of this object.
    • toXML

      default void toXML(StringBuilder buffer)
      Appends an XML representation of this object (including all child objects) to the given buffer. Override for performance.
      Parameters:
      buffer - The buffer on which to append the XML representation.
    • toXML

      default void toXML(StringBuffer buffer)
      Appends an XML representation of this object (including all child objects) to the given buffer. Override for performance.
      Parameters:
      buffer - The buffer on which to append the XML representation.