Package com.appiancorp.suiteapi.common
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
Modifier and TypeFieldDescriptionstatic final int
Deprecated.use the default StringBuilder constructor or one adjusted directly to the known size -
Method Summary
Modifier and TypeMethodDescriptiontoXML()
Generates an XML representation of this object (including all child objects).default void
toXML
(StringBuffer buffer) Appends an XML representation of this object (including all child objects) to the given buffer.default void
toXML
(StringBuilder buffer) Appends an XML representation of this object (including all child objects) to the given buffer.
-
Field Details
-
DEFAULT_BUFFER_SIZE
Deprecated.use the default StringBuilder constructor or one adjusted directly to the known sizeA 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 newStringBuilder
and calltoXML( StringBuilder )
on it.- Returns:
- The XML representation of this object.
-
toXML
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
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.
-