org.apache.any23.rdf
Class PopularPrefixes

java.lang.Object
  extended by org.apache.any23.rdf.PopularPrefixes

public class PopularPrefixes
extends Object

This class act as a container for various well-known and adopted RDF Vocabulary prefixes.


Constructor Summary
PopularPrefixes()
           
 
Method Summary
static Prefixes createSubset(String... prefixes)
          This method perform a prefix lookup.
static Prefixes get()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PopularPrefixes

public PopularPrefixes()
Method Detail

createSubset

public static Prefixes createSubset(String... prefixes)
This method perform a prefix lookup. Given a set of prefixes it returns Prefixes bag class containing them.

Parameters:
prefixes - the input prefixes where perform the lookup
Returns:
a Prefixes containing all the prefixes mathing the input parameter

get

public static Prefixes get()
Returns:
a Prefixes with a set of well-known prefixes


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.