public static Document newDocument ( ) throws AlipayApiException { Document doc = null ; try { doc = DocumentBuilderFactory . newInstance ( ) . newDocumentBuilder ( ) . newDocument ( ) ; } catch ( ParserConfigurationException e ) { throw new AlipayApiException ( e ) ; } return doc ; }
Creates a new document instance .