org.sciplore.rest
Class ExtendedObjectFactory

java.lang.Object
  extended by org.sciplore.rest.ObjectFactory
      extended by org.sciplore.rest.ExtendedObjectFactory

public class ExtendedObjectFactory
extends ObjectFactory


Constructor Summary
ExtendedObjectFactory(java.lang.String href)
           
 
Method Summary
 AbstractType getAbstract(long id, java.lang.String value)
           
 AnnotationsType getAnnotationsType(java.util.List<Feedback> annotations)
           
 AnnotationType getAnnotationType(Feedback annotation)
           
 DocumentType getDocument(long id, java.lang.String hash, java.lang.String type)
           
 TextType getTextType(int annotationID, java.lang.String value)
           
 TitleType getTitle(long id, java.lang.String value)
           
 UserType getUserType(java.lang.String username)
           
 java.lang.StringBuffer getXML(AnnotationsType annotations)
           
 java.lang.StringBuffer getXML(DocumentType document)
           
 
Methods inherited from class org.sciplore.rest.ObjectFactory
createAbstractType, createAnnotationsType, createAnnotationType, createAuthorsType, createAuthorType, createCitedByType, createDocumentType, createDoiType, createEditionType, createFulltextsType, createFulltextType, createIsbnType, createIssnType, createKeywordsType, createKeywordType, createLanguageType, createNumberType, createPagesType, createPublishdateType, createReferencesType, createReferenceType, createRelatedDocumentsType, createRelatednessType, createSeriesType, createTextType, createTitleType, createUserType, createVenueType, createVolumeType, createWebservice, createWebserviceType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedObjectFactory

public ExtendedObjectFactory(java.lang.String href)
Method Detail

getDocument

public DocumentType getDocument(long id,
                                java.lang.String hash,
                                java.lang.String type)

getTitle

public TitleType getTitle(long id,
                          java.lang.String value)

getAbstract

public AbstractType getAbstract(long id,
                                java.lang.String value)

getXML

public java.lang.StringBuffer getXML(DocumentType document)
                              throws javax.xml.bind.PropertyException,
                                     javax.xml.bind.JAXBException
Throws:
javax.xml.bind.PropertyException
javax.xml.bind.JAXBException

getXML

public java.lang.StringBuffer getXML(AnnotationsType annotations)
                              throws javax.xml.bind.PropertyException,
                                     javax.xml.bind.JAXBException
Throws:
javax.xml.bind.PropertyException
javax.xml.bind.JAXBException

getTextType

public TextType getTextType(int annotationID,
                            java.lang.String value)

getUserType

public UserType getUserType(java.lang.String username)

getAnnotationType

public AnnotationType getAnnotationType(Feedback annotation)

getAnnotationsType

public AnnotationsType getAnnotationsType(java.util.List<Feedback> annotations)