com.aspose.words
Class XmlDataLoadOptions

java.lang.Object
    extended by com.aspose.words.XmlDataLoadOptions

public class XmlDataLoadOptions 
extends java.lang.Object

Represents options for XML data loading. An instance of this class can be passed into constructors of XmlDataSource.

Constructor Summary
XmlDataLoadOptions()
           Initializes a new instance of this class with default options.
 
Property Getters/Setters Summary
booleangetAlwaysGenerateRootObject()
voidsetAlwaysGenerateRootObject(boolean value)
           Gets or sets a flag indicating whether a generated data source will always contain an object for an XML root element. If an XML root element has no attributes and all its child elements have same names, such an object is not created by default.
 

Constructor Detail

XmlDataLoadOptions

public XmlDataLoadOptions()
Initializes a new instance of this class with default options.

Property Getters/Setters Detail

getAlwaysGenerateRootObject/setAlwaysGenerateRootObject

public boolean getAlwaysGenerateRootObject() / public void setAlwaysGenerateRootObject(boolean value)
Gets or sets a flag indicating whether a generated data source will always contain an object for an XML root element. If an XML root element has no attributes and all its child elements have same names, such an object is not created by default. The default value is false.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.