Class RawExtensionContent

java.lang.Object
com.independentsoft.office.spreadsheet.extensions.RawExtensionContent
All Implemented Interfaces:
IExtensionContent

public class RawExtensionContent extends Object implements IExtensionContent
Extension content with no dedicated object model, preserved as a raw XML fragment. The fragment is self-contained: it carries the namespace declarations it uses.
  • Constructor Details

    • RawExtensionContent

      public RawExtensionContent()
      Instantiates a new raw extension content.
    • RawExtensionContent

      public RawExtensionContent(String xml)
      Instantiates a new raw extension content.
      Parameters:
      xml - a self-contained XML fragment
    • RawExtensionContent

      public RawExtensionContent(InternalXMLStreamReader reader) throws XMLStreamException
      Instantiates a new raw extension content.

      The capture produces a self-contained fragment (namespace declarations inlined) and leaves the reader ON the captured element's end element, so the caller's loop advances past it.

      Parameters:
      reader - the reader
      Throws:
      XMLStreamException - the XML stream exception
  • Method Details