com.viceversatech.rdfbeans.annotations
Annotation Type RDFNamespaces


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface RDFNamespaces

Applied to: Class or interface declaration
Value: String or String array (required)

@RDFNamespaces annotation specifies one or more RDF namespace prefixes in the format:

 <:prefix> = <uri>
 

Examples:

 @RDFNamespaces("owl = http://www.w3.org/2002/07/owl#")
 
 @RDFNamespaces( 
        {"foaf = http://xmlns.com/foaf/0.1/",
  "persons = http://rdfbeans.viceversatech.com/test-ontology/persons/"}
 )
 

Author:
alex

Required Element Summary
 java.lang.String[] value
          Namespace prefix specification (<:prefix> = <uri> )
 

Element Detail

value

public abstract java.lang.String[] value
Namespace prefix specification (<:prefix> = <uri> )



Copyright © 2011. All Rights Reserved.