org.dom4j.swing.XMLTableDefinition.getColumn()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(5.6k)|赞(0)|评价(0)|浏览(127)

本文整理了Java中org.dom4j.swing.XMLTableDefinition.getColumn()方法的一些代码示例,展示了XMLTableDefinition.getColumn()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XMLTableDefinition.getColumn()方法的具体详情如下:
包路径:org.dom4j.swing.XMLTableDefinition
类名称:XMLTableDefinition
方法名:getColumn

XMLTableDefinition.getColumn介绍

[英]DOCUMENT ME!
[中]记录我!

代码示例

代码示例来源:origin: org.dom4j/dom4j

/**
 * DOCUMENT ME!
 * 
 * @param columnIndex
 *            DOCUMENT ME!
 * 
 * @return the XPath expression used to evaluate the value of cells in this
 *         column
 */
public XPath getColumnXPath(int columnIndex) {
  return getColumn(columnIndex).getXPath();
}

代码示例来源:origin: org.dom4j/dom4j

/**
 * DOCUMENT ME!
 * 
 * @param columnIndex
 *            DOCUMENT ME!
 * 
 * @return the static column name. This is used if there is no
 *         columnNameXPath
 */
public String getColumnName(int columnIndex) {
  return getColumn(columnIndex).getName();
}

代码示例来源:origin: org.dom4j/dom4j

/**
 * DOCUMENT ME!
 * 
 * @param columnIndex
 *            DOCUMENT ME!
 * 
 * @return the XPath expresssion used to create the column name, if there is
 *         one or null if there is no XPath expression to name the column.
 */
public XPath getColumnNameXPath(int columnIndex) {
  return getColumn(columnIndex).getColumnNameXPath();
}

代码示例来源:origin: org.dom4j/dom4j

public synchronized Object getValueAt(Object row, int columnIndex) {
  XMLTableColumnDefinition column = getColumn(columnIndex);
  Object answer = null;
  synchronized (this) {
    this.rowValue = row;
    answer = column.getValue(row);
    this.rowValue = null;
  }
  return answer;
}

代码示例来源:origin: org.dom4j/dom4j

public Object getVariableValue(String namespaceURI, String prefix,
    String localName) {
  XMLTableColumnDefinition column = getColumn(localName);
  if (column != null) {
    return column.getValue(rowValue);
  }
  return null;
}

代码示例来源:origin: org.dom4j/dom4j

public Class<?> getColumnClass(int columnIndex) {
  return getColumn(columnIndex).getColumnClass();
}

代码示例来源:origin: dom4j/dom4j

/**
 * DOCUMENT ME!
 * 
 * @param columnIndex
 *            DOCUMENT ME!
 * 
 * @return the static column name. This is used if there is no
 *         columnNameXPath
 */
public String getColumnName(int columnIndex) {
  return getColumn(columnIndex).getName();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j

/**
 * DOCUMENT ME!
 * 
 * @param columnIndex
 *            DOCUMENT ME!
 * 
 * @return the XPath expression used to evaluate the value of cells in this
 *         column
 */
public XPath getColumnXPath(int columnIndex) {
  return getColumn(columnIndex).getXPath();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j

/**
 * DOCUMENT ME!
 * 
 * @param columnIndex
 *            DOCUMENT ME!
 * 
 * @return the XPath expresssion used to create the column name, if there is
 *         one or null if there is no XPath expression to name the column.
 */
public XPath getColumnNameXPath(int columnIndex) {
  return getColumn(columnIndex).getColumnNameXPath();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j

public Object getVariableValue(String namespaceURI, String prefix,
    String localName) {
  XMLTableColumnDefinition column = getColumn(localName);
  if (column != null) {
    return column.getValue(rowValue);
  }
  return null;
}

代码示例来源:origin: org.dom4j/com.springsource.org.dom4j

/**
 * DOCUMENT ME!
 * 
 * @param columnIndex
 *            DOCUMENT ME!
 * 
 * @return the static column name. This is used if there is no
 *         columnNameXPath
 */
public String getColumnName(int columnIndex) {
  return getColumn(columnIndex).getName();
}

代码示例来源:origin: org.dom4j/com.springsource.org.dom4j

public synchronized Object getValueAt(Object row, int columnIndex) {
  XMLTableColumnDefinition column = getColumn(columnIndex);
  Object answer = null;
  synchronized (this) {
    this.rowValue = row;
    answer = column.getValue(row);
    this.rowValue = null;
  }
  return answer;
}

代码示例来源:origin: dom4j/dom4j

/**
 * DOCUMENT ME!
 * 
 * @param columnIndex
 *            DOCUMENT ME!
 * 
 * @return the XPath expresssion used to create the column name, if there is
 *         one or null if there is no XPath expression to name the column.
 */
public XPath getColumnNameXPath(int columnIndex) {
  return getColumn(columnIndex).getColumnNameXPath();
}

代码示例来源:origin: com.alibaba.citrus.tool/antx-autoexpand

/**
 * DOCUMENT ME!
 * 
 * @param columnIndex
 *            DOCUMENT ME!
 * 
 * @return the XPath expresssion used to create the column name, if there is
 *         one or null if there is no XPath expression to name the column.
 */
public XPath getColumnNameXPath(int columnIndex) {
  return getColumn(columnIndex).getColumnNameXPath();
}

代码示例来源:origin: org.dom4j/org.motechproject.org.dom4j

/**
 * DOCUMENT ME!
 * 
 * @param columnIndex
 *            DOCUMENT ME!
 * 
 * @return the XPath expresssion used to create the column name, if there is
 *         one or null if there is no XPath expression to name the column.
 */
public XPath getColumnNameXPath(int columnIndex) {
  return getColumn(columnIndex).getColumnNameXPath();
}

代码示例来源:origin: org.dom4j/org.motechproject.org.dom4j

public synchronized Object getValueAt(Object row, int columnIndex) {
  XMLTableColumnDefinition column = getColumn(columnIndex);
  Object answer = null;
  synchronized (this) {
    this.rowValue = row;
    answer = column.getValue(row);
    this.rowValue = null;
  }
  return answer;
}

代码示例来源:origin: maven/dom4j

/**
 * DOCUMENT ME!
 * 
 * @param columnIndex
 *            DOCUMENT ME!
 * 
 * @return the XPath expression used to evaluate the value of cells in this
 *         column
 */
public XPath getColumnXPath(int columnIndex) {
  return getColumn(columnIndex).getXPath();
}

代码示例来源:origin: maven/dom4j

/**
 * DOCUMENT ME!
 * 
 * @param columnIndex
 *            DOCUMENT ME!
 * 
 * @return the XPath expresssion used to create the column name, if there is
 *         one or null if there is no XPath expression to name the column.
 */
public XPath getColumnNameXPath(int columnIndex) {
  return getColumn(columnIndex).getColumnNameXPath();
}

代码示例来源:origin: maven/dom4j

public synchronized Object getValueAt(Object row, int columnIndex) {
  XMLTableColumnDefinition column = getColumn(columnIndex);
  Object answer = null;
  synchronized (this) {
    this.rowValue = row;
    answer = column.getValue(row);
    this.rowValue = null;
  }
  return answer;
}

代码示例来源:origin: com.alibaba.citrus.tool/antx-autoexpand

public synchronized Object getValueAt(Object row, int columnIndex) {
  XMLTableColumnDefinition column = getColumn(columnIndex);
  Object answer = null;
  synchronized (this) {
    this.rowValue = row;
    answer = column.getValue(row);
    this.rowValue = null;
  }
  return answer;
}

相关文章