question: private void extractNodes ( ) { Map < String , Node > xfaNodes = extractXFANodes ( domDocument ) ; if ( xfaNodes . containsKey ( "template" ) ) { templateNode = xfaNodes . get ( "template" ) ; } if ( xfaNodes . containsKey ( "datasets" ) ) { datasetsNode = xfaNodes . get ( "datasets" ) ; Node dataNode = findDataNode ( datasetsNode ) ; datasetsSom = new Xml2SomDatasets ( dataNode != null ? dataNode : datasetsNode . getFirstChild ( ) ) ; } if ( datasetsNode == null ) createDatasetsNode ( domDocument . getFirstChild ( ) ) ; }
target:  Extracts the nodes from the domDocument.