java.lang.Object
ortus.boxlang.runtime.components.Component
ortus.boxlang.runtime.components.xml.XML

@BoxComponent(requiresBody=true) public class XML extends Component
  • Constructor Details

    • XML

      public XML()
      -------------------------------------------------------------------------- Constructor(s) --------------------------------------------------------------------------
  • Method Details

    • _invoke

      public Component.BodyResult _invoke(IBoxContext context, IStruct attributes, Component.ComponentBody body, IStruct executionState)
      Any text output in the body of this component will be parsed into an XML document and stored in the specified variable.
      Specified by:
      _invoke in class Component
      Parameters:
      context - The context in which the Component is being invoked
      attributes - The attributes to the Component
      body - The body of the Component
      executionState - The execution state of the Component
      Returns:
      The result of the invocation