com.groupdocs.editor.htmlcss.resources.textual

Class XmlText

    • Constructor Detail

      • XmlText

        public XmlText(String name,
               com.aspose.ms.System.IO.Stream binaryContent,
               com.aspose.ms.System.Text.Encoding originalEncoding)

        Creates new XML resource from specified byte stream and encoding

        Parameters:
        name - Mandatory name of the resource, that serves as its unique identifier. Usually is a file name.
        binaryContent - Binary content of a resource as a byte stream. Cannot be NULL, disposed, should be readable and seekable.
        originalEncoding - Original encoding of the resource, cannot be NULL or empty
      • XmlText

        public XmlText(String name,
               String textualContent,
               com.aspose.ms.System.Text.Encoding originalEncoding)

        Creates new XML resource from specified textual content with encoding

        Parameters:
        name - Mandatory name of the resource, that serves as its unique identifier. Usually is a file name.
        textualContent - Textual content of the resource, cannot be NULL or empty
        originalEncoding - Original encoding of the resource, cannot be NULL or empty
    • Method Detail

      • getParsedDocument

        public final com.aspose.ms.System.Xml.XmlDocument getParsedDocument()

        Returns an "XmlDocument" from this XML resource