TopicSpace[] topicSpaces = m_topicSet.getTopicSpaces( );
for ( int i = 0; i < topicSpaces.length; i++ )
{
TopicSpace topicSpace = topicSpaces[i];
String targetNamespace = topicSpace.getTargetNamespace( );
Iterator iterator = topicSpace.topicIterator( );
while ( iterator.hasNext( ) )
{
Topic topic = (Topic) iterator.next( );
String topicName = topic.getName( );
QName rootTopicQName = new QName( targetNamespace, topicName );