org.gedcomx.build.enunciate.rdf
Class RDFProcessor

java.lang.Object
  extended by org.gedcomx.build.enunciate.rdf.RDFProcessor

public class RDFProcessor
extends Object

Basic processor for defining and validating integration the model with RDF.

Author:
Ryan Heaton

Constructor Summary
RDFProcessor()
           
 
Method Summary
protected  void addDescription(String namespace, String name, boolean property, boolean literal)
           
 RDFSchema getRdfSchema()
           
 boolean isKnownRDFNamespace(String namespace)
           
protected  void loadKnownRDFSchemaDescriptions()
           
protected  void loadRDFSchema(Unmarshaller unmarshaller, URL schemaUrl)
           
 org.codehaus.enunciate.contract.validation.ValidationResult processModel(org.codehaus.enunciate.apt.EnunciateFreemarkerModel model)
           
protected  void validate(org.codehaus.enunciate.contract.validation.ValidationResult result, org.codehaus.enunciate.contract.jaxb.TypeDefinition typeDef)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDFProcessor

public RDFProcessor()
Method Detail

getRdfSchema

public RDFSchema getRdfSchema()

isKnownRDFNamespace

public boolean isKnownRDFNamespace(String namespace)

processModel

public org.codehaus.enunciate.contract.validation.ValidationResult processModel(org.codehaus.enunciate.apt.EnunciateFreemarkerModel model)

validate

protected void validate(org.codehaus.enunciate.contract.validation.ValidationResult result,
                        org.codehaus.enunciate.contract.jaxb.TypeDefinition typeDef)

loadKnownRDFSchemaDescriptions

protected void loadKnownRDFSchemaDescriptions()

loadRDFSchema

protected void loadRDFSchema(Unmarshaller unmarshaller,
                             URL schemaUrl)

addDescription

protected void addDescription(String namespace,
                              String name,
                              boolean property,
                              boolean literal)


Copyright © 2015. All rights reserved.