Class RawExtensionContent
java.lang.Object
com.independentsoft.office.drawing.RawExtensionContent
- All Implemented Interfaces:
IExtensionContent
Extension content preserved as raw XML - the fallback for extension elements
that have no typed class. The markup is captured verbatim and re-emitted
unchanged, so unknown extensions always survive a round trip.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new raw extension content.RawExtensionContent(String xml)Instantiates a new raw extension content. -
Method Summary
-
Constructor Details
-
RawExtensionContent
public RawExtensionContent()Instantiates a new raw extension content. -
RawExtensionContent
Instantiates a new raw extension content.- Parameters:
xml- the captured outer XML
-
-
Method Details
-
clone
Description copied from interface:IExtensionContentClone.- Specified by:
clonein interfaceIExtensionContent- Overrides:
clonein classObject- Returns:
- the extension content
-
toString
-
getXml
Gets the raw XML of the preserved extension content.- Returns:
- the raw XML
-
setXml
Sets the raw XML of the preserved extension content.- Parameters:
xml- the new raw XML
-