aspose.pdf
Class XMLDocument

java.lang.Object
  extended by aspose.pdf.XMLDocument

public class XMLDocument
extends java.lang.Object

Represents a XML Document.


Constructor Summary
XMLDocument()
          Constructs a XMLDocument instance .
 
Method Summary
 java.lang.String getfilepath()
          Gets the xml file path .
 void load(BasicStream xmlStream)
          Loads a exist xml document .
 void load(java.lang.String path)
          Loads a exist xml document .
 void load(TextFileStream fs)
          Loads a exist xml document .
 void save(BasicStream bs)
          Saves the content to a BasicStream object
 void save(java.lang.String path)
          Saves the content to a file object
 void save(aspose.pdf.pdftext.XmlTextWriter writer)
          Saves the content to a XmlTextWriter object
 void setfilepath(java.lang.String Value)
          Sets the file path
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLDocument

public XMLDocument()
Constructs a XMLDocument instance .

Method Detail

getfilepath

public java.lang.String getfilepath()
Gets the xml file path .

Returns:
the result path .

setfilepath

public void setfilepath(java.lang.String Value)
Sets the file path

Parameters:
Value - the path string

load

public void load(java.lang.String path)
Loads a exist xml document .

Parameters:
path - the file path of the exist docment.

load

public void load(TextFileStream fs)
Loads a exist xml document .

Parameters:
fs - The file stream of the exist docment.

save

public void save(BasicStream bs)
Saves the content to a BasicStream object

Parameters:
bs - the target stream object

save

public void save(java.lang.String path)
Saves the content to a file object

Parameters:
path - The target file path

save

public void save(aspose.pdf.pdftext.XmlTextWriter writer)
Saves the content to a XmlTextWriter object

Parameters:
writer - the target XmlTextWriter object

load

public void load(BasicStream xmlStream)
Loads a exist xml document .

Parameters:
xmlStream - the input stream of the exist docment.