validate the given stream and return a valid dom document for parsing . concode_field_sep String SHARED_CACHE_MODE concode_elem_sep String JTA_DATA_SOURCE concode_elem_sep String EXCLUDE_UNLISTED_CLASSES concode_elem_sep String PERSISTENCE_UNIT concode_elem_sep String UNIT_NAME concode_elem_sep Log logger concode_elem_sep DataSourceLookup dataSourceLookup concode_elem_sep String META_INF concode_elem_sep String PROVIDER concode_elem_sep String PERSISTENCE_VERSION concode_elem_sep String JAR_FILE_URL concode_elem_sep String MAPPING_FILE_NAME concode_elem_sep String PROPERTIES concode_elem_sep String MANAGED_CLASS_NAME concode_elem_sep ResourcePatternResolver resourcePatternResolver concode_elem_sep String TRANSACTION_TYPE concode_elem_sep String VALIDATION_MODE concode_elem_sep String NON_JTA_DATA_SOURCE concode_field_sep SpringPersistenceUnitInfo[] readPersistenceUnitInfos concode_elem_sep SpringPersistenceUnitInfo[] readPersistenceUnitInfos concode_elem_sep List<SpringPersistenceUnitInfo> parseDocument concode_elem_sep void parseJarFiles concode_elem_sep void parseMappingFiles concode_elem_sep URL determinePersistenceUnitRootUrl concode_elem_sep void parseManagedClasses concode_elem_sep SpringPersistenceUnitInfo parsePersistenceUnitInfo concode_elem_sep void parseProperties
Document function ( ErrorHandler arg0 , InputStream arg1 ) { DocumentBuilderFactory loc0 = DocumentBuilderFactory . newInstance ( ) ; loc0 . setNamespaceAware ( true ) ; DocumentBuilder loc1 = loc0 . newDocumentBuilder ( ) ; loc1 . setErrorHandler ( arg0 ) ; return loc1 . parse ( arg1 ) ; }