public XCalValue firstValue() {
		for (Element child : children()) {
			String childNamespace = child.getNamespaceURI();
			if (XCAL_NS.equals(childNamespace)) {
				ICalDataType dataType = toDataType(child.getLocalName());
				String value = child.getTextContent();
				return new XCalValue(dataType, value);
			}
		}

		return new XCalValue(null, element.getTextContent());
	}
public XCalValue firstValue ( ) { for ( Element child : children ( ) ) { String childNamespace = child . getNamespaceURI ( ) ; if ( XCAL_NS . equals ( childNamespace ) ) { ICalDataType dataType = toDataType ( child . getLocalName ( ) ) ; String value = child . getTextContent ( ) ; return new XCalValue ( dataType , value ) ; } } return new XCalValue ( null , element . getTextContent ( ) ) ; }
Finds the first child element that has the xCard namespace and returns
its data type and value. If no such element is found, the parent
{@link XCalElement}'s text content, along with a null data type, is
returned.
@return the value and data type