Class XmlFragment

Direct Known Subclasses:
XmlDetailMarker, XmlTemplate

public class XmlFragment extends XmlNodeContainer
A group of template nodes that writes only its children, with no markup of its own.
  • Constructor Details

  • Method Details

    • writeStartImpl

      protected void writeStartImpl(ExpressionContext context, CodeWriter writer) throws Throwable
      Description copied from class: XmlNode
      Writes this node's opening output, such as an element's start tag or a text node's content.
      Specified by:
      writeStartImpl in class XmlNode
      Throws:
      Throwable
    • writeEndImpl

      protected void writeEndImpl(ExpressionContext context, CodeWriter writer) throws Throwable
      Description copied from class: XmlNode
      Writes this node's closing output, such as an element's end tag, after its children are written.
      Specified by:
      writeEndImpl in class XmlNode
      Throws:
      Throwable