public static NodeSet fromFilter ( String filter ) { Map < String , Map < String , String > > stringMapMap = parseFilter ( filter ) ; NodeSet nodeSet = new NodeSet ( ) ; nodeSet . createInclude ( stringMapMap . get ( "include" ) ) ; nodeSet . createExclude ( stringMapMap . get ( "exclude" ) ) ; return nodeSet ; }
Create a NodeSet from a filter