@@ -0,0 +1,3070 @@
+/*%0A * Licensed to the Apache Software Foundation (ASF) under one%0A * or more contributor license agreements.  See the NOTICE file%0A * distributed with this work for additional information%0A * regarding copyright ownership.  The ASF licenses this file%0A * to you under the Apache License, Version 2.0 (the%0A * %22License%22); you may not use this file except in compliance%0A * with the License.  You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage org.apache.jena.riot.system;%0A%0A/**%0A * Factory which provides prefix maps%0A * %0A */%0Apublic class PrefixMapFactory %7B%0A%0A    /**%0A     * Creates a new prefix map%0A     * %3Cp%3E%0A     * Will use whatever the version of ARQ you are using considers the default%0A     * implementation, this may change from release to release.%0A     * %3C/p%3E%0A     * %0A     * @return Prefix map%0A     */%0A    public static PrefixMap create() %7B%0A        return new PrefixMapStd();%0A    %7D%0A%0A    /**%0A     * Creates a new prefix map which is intended for use in input%0A     * %3Cp%3E%0A     * Will use whatever the version of ARQ you are using considers the best%0A     * implementation for input, this may change from release to release.%0A     * %3C/p%3E%0A     * %0A     * @return Prefix map%0A     */%0A    public static PrefixMap createForInput() %7B%0A        return new PrefixMapStd();%0A    %7D%0A%0A    /**%0A     * Creates a new prefix map which is intended for use in input which starts%0A     * with a copy of an existing map%0A     * %3Cp%3E%0A     * Will use whatever the version of ARQ you are using considers the best%0A     * implementation for input, this may change from release to release.%0A     * %3C/p%3E%0A     * %0A     * @param pmap%0A     *            Prefix Map to copy%0A     * @return Prefix Map%0A     */%0A    public static PrefixMap createForInput(PrefixMap pmap) %7B%0A        return new PrefixMapStd(pmap);%0A    %7D%0A%0A    /**%0A     * Creates a new prefix map which is intended for use in output%0A     * %3Cp%3E%0A     * Will use whatever the version of ARQ you are using considers the best%0A     * implementation for output, this may change from release to release.%0A     * %3C/p%3E%0A     * %0A     * @return Prefix Map%0A     */%0A    public static PrefixMap createForOutput() %7B%0A        return new FastAbbreviatingPrefixMap();%0A    %7D%0A%0A    /**%0A     * Creates a new prefix map which is intended for use in output which starts%0A     * with a copy of an existing map%0A     * %3Cp%3E%0A     * Will use whatever the version of ARQ you are using considers the best%0A     * implementation for output, this may change from release to release.%0A     * %3C/p%3E%0A     * %0A     * @param pmap%0A     *            Prefix Map to copy%0A     * %0A     * @return Prefix Map%0A     */%0A    public static PrefixMap createForOutput(PrefixMap pmap) %7B%0A        return new FastAbbreviatingPrefixMap(pmap);%0A    %7D%0A%0A%7D%0A

Add a factory for prefix maps, not yet used