com.aspose.cells
Class XmlMapCollection

java.lang.Object
  extended by CollectionBase
      extended by 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 XmlMap by a xsd file.
xmlMapCollection.add("schema.xsd");

//Add a XmlMap by a xml file.
xmlMapCollection.add("xml.xml");

wb.save("twoXmlMaps.xlsx");


Property Getters/Setters Summary
intgetCount()→ inherited from com.aspose.cells.CollectionBase
          
XmlMapget(int)
           Gets the xml map by the specific index.
 
Method Summary
intadd(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
intadd(java.lang.String url)
           Add a XmlMap by the url/path of a xml/xsd file.
voidclear()
           Removes all XmlMaps.
booleancontains(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
intindexOf(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
java.util.Iteratoriterator()→ inherited from com.aspose.cells.CollectionBase
          
voidremoveAt(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

Method Detail

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.