Class BasicBasServiceClient

    • Field Detail

      • BASE_URL

        protected static java.lang.String BASE_URL
      • CMDI_URL

        protected static java.lang.String CMDI_URL
      • RESPONSE_XML_TOP_ELEM

        public static final java.lang.String RESPONSE_XML_TOP_ELEM
        See Also:
        Constant Field Values
      • RESPONSE_XML_DOWNLOAD_ELEM

        public static final java.lang.String RESPONSE_XML_DOWNLOAD_ELEM
        See Also:
        Constant Field Values
      • RESPONSE_XML_SUCCESS_ELEM

        public static final java.lang.String RESPONSE_XML_SUCCESS_ELEM
        See Also:
        Constant Field Values
      • RESPONSE_XML_OUTPUT_ELEM

        public static final java.lang.String RESPONSE_XML_OUTPUT_ELEM
        See Also:
        Constant Field Values
      • RESPONSE_XML_WARNINGS_ELEM

        public static final java.lang.String RESPONSE_XML_WARNINGS_ELEM
        See Also:
        Constant Field Values
      • DEFAULT_CHARSET

        protected static final java.nio.charset.Charset DEFAULT_CHARSET
      • DEFAULT_TEXT_CONTENT_TYPE

        protected static final org.apache.http.entity.ContentType DEFAULT_TEXT_CONTENT_TYPE
      • docBuilderFactory

        protected javax.xml.parsers.DocumentBuilderFactory docBuilderFactory
    • Constructor Detail

      • BasicBasServiceClient

        public BasicBasServiceClient()
    • Method Detail

      • getServerCaps

        protected void getServerCaps()
                              throws javax.xml.parsers.ParserConfigurationException,
                                     org.xml.sax.SAXException,
                                     java.io.IOException
        Throws:
        javax.xml.parsers.ParserConfigurationException
        org.xml.sax.SAXException
        java.io.IOException
      • isMediafileSupported

        protected boolean isMediafileSupported​(java.io.File mediaFile)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • isLanguageSupported

        protected boolean isLanguageSupported​(java.util.Locale reqLocale)
      • isBundleSupported

        public boolean isBundleSupported​(Bundle bundle)
                                  throws java.io.IOException
        Specified by:
        isBundleSupported in interface AutoAnnotator
        Throws:
        java.io.IOException
      • parseResponseHeader

        protected void parseResponseHeader​(org.apache.http.HttpEntity resEntity)
      • masterSignalFile

        protected java.io.File masterSignalFile​(Bundle bundle)
      • orthoGraphyTextFromTemplateLevel

        protected java.lang.String orthoGraphyTextFromTemplateLevel​(Bundle bundle)
      • call

        public abstract AutoAnnotation call()
                                     throws java.lang.Exception
        Specified by:
        call in interface java.util.concurrent.Callable<AutoAnnotation>
        Throws:
        java.lang.Exception