private void fillDeclaredPrefixes(XMLStreamReader reader){
  fDeclaredPrefixes.clear();
  final int len=reader.getNamespaceCount();
  for (int i=0; i < len; ++i) {
    String prefix=reader.getNamespacePrefix(i);
    fDeclaredPrefixes.add(prefix != null ? prefix : "");
  }
}

private void fillDeclaredPrefixes ( XMLStreamReader reader ) { fDeclaredPrefixes . clear ( ) ; final int len = reader . getNamespaceCount ( ) ; for ( int i = 0 ; i < len ; ++ i ) { String prefix = reader . getNamespacePrefix ( i ) ; fDeclaredPrefixes . add ( prefix != null ? prefix : "" ) ; } }
fills in the list of declared prefixes .
