CustomXmlPart

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.ICustomXmlPart

public class CustomXmlPart implements ICustomXmlPart

Represents custom xml part.

Methods

MethodDescription
getXmlData()Returns or sets xml data.
setXmlData(byte[] value)Returns or sets xml data.
getXmlAsString()Returns or sets xml data as UTF-8 string.
setXmlAsString(String value)Returns or sets xml data as UTF-8 string.
getItemId()Specifies a globally unique identifier (GUID) that uniquely identifies a single custom XML part within an Office Open XML document.
setItemId(UUID value)Specifies a globally unique identifier (GUID) that uniquely identifies a single custom XML part within an Office Open XML document.
getNamespaceSchemas()Returns the collection XML schemas that are associated with the custom XML part.
remove()Removes the custom xml part from the presentation.

getXmlData()

public final byte[] getXmlData()

Returns or sets xml data. Read/write byte[].

Returns: byte[]

setXmlData(byte[] value)

public final void setXmlData(byte[] value)

Returns or sets xml data. Read/write byte[].

Parameters:

ParameterTypeDescription
valuebyte[]

getXmlAsString()

public final String getXmlAsString()

Returns or sets xml data as UTF-8 string. Read/write String.

Returns: java.lang.String

setXmlAsString(String value)

public final void setXmlAsString(String value)

Returns or sets xml data as UTF-8 string. Read/write String.

Parameters:

ParameterTypeDescription
valuejava.lang.String

getItemId()

public final UUID getItemId()

Specifies a globally unique identifier (GUID) that uniquely identifies a single custom XML part within an Office Open XML document. Read-only java.util.UUID.

Returns: java.util.UUID

setItemId(UUID value)

public final void setItemId(UUID value)

Specifies a globally unique identifier (GUID) that uniquely identifies a single custom XML part within an Office Open XML document. Read-only java.util.UUID.

Parameters:

ParameterTypeDescription
valuejava.util.UUID

getNamespaceSchemas()

public final String[] getNamespaceSchemas()

Returns the collection XML schemas that are associated with the custom XML part. Read-only String[].

Returns: java.lang.String[]

remove()

public final void remove()

Removes the custom xml part from the presentation.