public static String[] getBothCheckNodeText(Node node) {
        Node startNode = node.selectSingleNode(ZealotConst.ATTR_START);
        Node endNode = node.selectSingleNode(ZealotConst.ATTR_ENT);
        String startText = XmlNodeHelper.getNodeText(startNode);
        String endText = XmlNodeHelper.getNodeText(endNode);
        if (StringHelper.isBlank(startText) && StringHelper.isBlank(endText)) {
            throw new FieldEmptyException("填写的开始和结束字段值是空的");
        }
        return new String[] {startText, endText};
    }
public static String [ ] getBothCheckNodeText ( Node node ) { Node startNode = node . selectSingleNode ( ZealotConst . ATTR_START ) ; Node endNode = node . selectSingleNode ( ZealotConst . ATTR_ENT ) ; String startText = XmlNodeHelper . getNodeText ( startNode ) ; String endText = XmlNodeHelper . getNodeText ( endNode ) ; if ( StringHelper . isBlank ( startText ) && StringHelper . isBlank ( endText ) ) { throw new FieldEmptyException ( "填写的开始和结束字段值是空的" ) ; } return new String [ ] { startText , endText } ; }
检查和获取开始和结束文本的内容，返回一个数组，会检查两个节点是否为空，如果都为空，则抛出异常.
@param node dom4j节点
@return 返回开始和结束文本的二元数组