org.gedcomx.build.enunciate
Class MediaTypeDeclaration

java.lang.Object
  extended by org.gedcomx.build.enunciate.MediaTypeDeclaration

public class MediaTypeDeclaration
extends Object

The root document of a media type.

Author:
Ryan Heaton

Constructor Summary
MediaTypeDeclaration(String id, String name, String description, String version, String xmlMediaType, String jsonMediaType, String projectId, org.codehaus.enunciate.contract.jaxb.RootElementDeclaration rootElement, List<MediaTypeDeclaration> others)
           
 
Method Summary
 Set<org.codehaus.enunciate.contract.jaxb.TypeDefinition> getDataTypes()
           
 String getDescription()
           
 Set<org.codehaus.enunciate.contract.jaxb.ElementDeclaration> getElements()
           
 MediaTypeDeclaration getExtension()
           
 String getId()
           
 String getJsonMediaType()
           
 String getName()
           
 String getProjectId()
           
 org.codehaus.enunciate.contract.jaxb.RootElementDeclaration getRootElement()
           
 List<org.codehaus.enunciate.config.SchemaInfo> getSchemas()
           
 String getVersion()
           
 String getXmlMediaType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaTypeDeclaration

public MediaTypeDeclaration(String id,
                            String name,
                            String description,
                            String version,
                            String xmlMediaType,
                            String jsonMediaType,
                            String projectId,
                            org.codehaus.enunciate.contract.jaxb.RootElementDeclaration rootElement,
                            List<MediaTypeDeclaration> others)
Method Detail

getId

public String getId()

getName

public String getName()

getDescription

public String getDescription()

getVersion

public String getVersion()

getProjectId

public String getProjectId()

getXmlMediaType

public String getXmlMediaType()

getJsonMediaType

public String getJsonMediaType()

getSchemas

public List<org.codehaus.enunciate.config.SchemaInfo> getSchemas()

getRootElement

public org.codehaus.enunciate.contract.jaxb.RootElementDeclaration getRootElement()

getExtension

public MediaTypeDeclaration getExtension()

getElements

public Set<org.codehaus.enunciate.contract.jaxb.ElementDeclaration> getElements()

getDataTypes

public Set<org.codehaus.enunciate.contract.jaxb.TypeDefinition> getDataTypes()


Copyright © 2015. All rights reserved.