nonnumericitemimpl.java

来自「xbrlapi的源码」· Java 代码 · 共 27 行

JAVA
27
字号
package org.xbrlapi.impl;

import org.xbrlapi.NonNumericItem;
import org.xbrlapi.utilities.XBRLException;

/**
 * @author Geoffrey Shuetrim (geoff@galexy.net)
 */

public class NonNumericItemImpl extends ItemImpl implements NonNumericItem {

	/** 
	 * Get the value of the fact.
	 * @return the value of fact with leading and trailing spaces deleted or null 
	 * if the fact is nill.
	 * @throws XBRLException
	 * @see org.xbrlapi.NonNumericItem#getValue()
	 */
	public String getValue() throws XBRLException {
		if (this.isNill()) return null;
		return getDataRootElement().getTextContent().trim();
	}
	

	
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?