JavaScript is disabled on your browser.
java.lang.Object
CollectionBase
com.aspose.cells.XmlMapCollection
All Implemented Interfaces: java.lang.Iterable
public class XmlMapCollection extends CollectionBase
A collection of XmlMap objects that represent XmlMap information.
Example:
Workbook wb = new Workbook();
XmlMapCollection xmlMapCollection = wb.getWorksheets().getXmlMaps();
//Add a <see cref="XmlMap"/> by a xsd file.
xmlMapCollection.add("schema.xsd");
//Add a <see cref="XmlMap"/> by a xml file.
xmlMapCollection.add("xml.xml");
wb.save("twoXmlMaps.xlsx");
Property Getters/Setters Summary
int
getCount ()
→ inherited from com.aspose.cells.CollectionBase
XmlMap
get (int)
Gets the xml map by the specific index.
Method Summary
int
add (java.lang.Object value)
→ inherited from com.aspose.cells.CollectionBase
Reserved for internal use.
int
add (java.lang.String url)
Add a XmlMap by the url/path of a xml/xsd file.
void
clear ()
Removes all XmlMaps.
boolean
contains (java.lang.Object value)
→ inherited from com.aspose.cells.CollectionBase
Reserved for internal use.
int
indexOf (java.lang.Object value)
→ inherited from com.aspose.cells.CollectionBase
Reserved for internal use.
java.util.Iterator
iterator ()
→ inherited from com.aspose.cells.CollectionBase
void
removeAt (int index)
→ inherited from com.aspose.cells.CollectionBase
Property Getters/Setters Detail
getCount → inherited from com.aspose.cells.CollectionBase
public int getCount ()
get
public XmlMap get (int index)
Gets the xml map by the specific index.
Parameters: index
- The index.Returns: The xml map
add
public int add (java.lang.String url)
throws java.lang.Exception
Add a XmlMap by the url/path of a xml/xsd file.
Parameters: url
- url/path of a xml/xsd file.Returns: XmlMap object index.
clear
public void clear ()
Removes all XmlMaps.
removeAt → inherited from com.aspose.cells.CollectionBase
public void removeAt (int index)
iterator → inherited from com.aspose.cells.CollectionBase
public java.util.Iterator iterator ()
contains → inherited from com.aspose.cells.CollectionBase
public boolean contains (java.lang.Object value)
Reserved for internal use.
add → inherited from com.aspose.cells.CollectionBase
public int add (java.lang.Object value)
Reserved for internal use.
indexOf → inherited from com.aspose.cells.CollectionBase
public int indexOf (java.lang.Object value)
Reserved for internal use.
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.