private ResultService readResultServiceElement ( InvDataset parentDataset , Element resultServiceElement ) { String name = resultServiceElement . getAttributeValue ( "name" ) ; String serviceType = resultServiceElement . getAttributeValue ( "serviceType" ) ; String base = resultServiceElement . getAttributeValue ( "base" ) ; String suffix = resultServiceElement . getAttributeValue ( "suffix" ) ; String accessPointHeader = resultServiceElement . getAttributeValue ( "accessPointHeader" ) ; return ( new ResultService ( name , ServiceType . getType ( serviceType ) , base , suffix , accessPointHeader ) ) ; }
Return a ResultService when given a resultService JDOM element .