类 XMLDatastore

java.lang.Object
com.sh.javax.datastore.XMLDatastore

public class XMLDatastore extends Object

Title: XML数据集

Description: 首亨软件 - SHForce

Company:首亨软件(重庆)有限公司

  • 构造器详细资料

  • 方法详细资料

    • createRootEelement

      public void createRootEelement(String rootName)
    • getDocument

      public org.jdom2.Document getDocument()
    • rowCount

      public int rowCount()
    • colCount

      public int colCount()
    • getItem

      public String getItem(int rowNo, int colNo)
    • getItem

      public String getItem(int rowNo, String colName)
    • getItemByName

      public String getItemByName(int rowNo, String colName)
    • getItemString

      public String getItemString(int rowNo, String colName)
    • getItemInteger

      public Integer getItemInteger(int rowNo, String colName)
    • getItemFloat

      public Float getItemFloat(int rowNo, String colName)
    • getItemDouble

      public Double getItemDouble(int rowNo, String colName)
    • getItemDatetime

      public Date getItemDatetime(int rowNo, String colName) throws Exception
      抛出:
      Exception
    • getItemString

      public String getItemString(int rowNo, int colNo)
    • getItemInteger

      public Integer getItemInteger(int rowNo, int colNo)
    • getItemFloat

      public Float getItemFloat(int rowNo, int colNo)
    • getItemDouble

      public Double getItemDouble(int rowNo, int colNo)
    • getItemDatetime

      public Date getItemDatetime(int rowNo, int colNo) throws Exception
      抛出:
      Exception
    • insertRow

      public int insertRow(int rowNo, String rowName)
    • insertRow

      public int insertRow(int rowNo)
    • addColumn

      public void addColumn(int rowNo, String colName, String value)
    • setItem

      public void setItem(int rowNo, int colNo, String value)
    • setItem

      public void setItem(int rowNo, String colName, String value)
    • setItemByName

      public void setItemByName(int rowNo, String colName, String value)
    • getXML

      public String getXML() throws Exception
      抛出:
      Exception
    • getXML

      public String getXML(String encoding) throws Exception
      抛出:
      Exception
    • outputXML

      public void outputXML(OutputStream outStream) throws Exception
      抛出:
      Exception
    • outputXML

      public void outputXML(OutputStream outStream, String encoding) throws Exception
      抛出:
      Exception
    • load

      public void load(Datastore ds) throws Exception
      抛出:
      Exception
    • load

      public void load(Datastore ds, Format[] ft) throws Exception
      抛出:
      Exception