protected void parseNamespaceMapping ( TokenStream tokens ) { tokens . consume ( ' ' ) ; String prefix = removeQuotes ( tokens . consume ( ) ) ; tokens . consume ( ' ' ) ; String uri = removeQuotes ( tokens . consume ( ) ) ; tokens . consume ( ' ' ) ; // Register the namespace ... context . getNamespaceRegistry ( ) . register ( prefix , uri ) ; }
Parse the namespace mapping statement that is next on the token stream .