public class PalvelukarttaUnitExtractor extends AbstractPalvelukarttaExtractor
| Modifier and Type | Field and Description |
|---|---|
private boolean |
deepExtraction |
private int |
unitCount |
API_BASE, LANG, PALVELUKARTTA_ABBR_SI, PALVELUKARTTA_CHILD_SERVICE_SI, PALVELUKARTTA_CITY_SI, PALVELUKARTTA_CONNECTION_SI, PALVELUKARTTA_CONTACT_PERSON_SI, PALVELUKARTTA_DATASOURCE_SI, PALVELUKARTTA_DEPARTMENT_ORGANIZATION_SI, PALVELUKARTTA_DEPARTMENT_SI, PALVELUKARTTA_EMAIL_SI, PALVELUKARTTA_GEOLOCATION_SI, PALVELUKARTTA_ORGANIZATION_SI, PALVELUKARTTA_PARENT_SERVICE_SI, PALVELUKARTTA_PHONE_SI, PALVELUKARTTA_PROVIDER_TYPE_SI, PALVELUKARTTA_SERVICE_RELATION_SI, PALVELUKARTTA_SERVICE_SI, PALVELUKARTTA_SI, PALVELUKARTTA_STREETADDRESS_SI, PALVELUKARTTA_UNIT_CITY_SI, PALVELUKARTTA_UNIT_CONNECTION_SI, PALVELUKARTTA_UNIT_DEPARTMENT_SI, PALVELUKARTTA_UNIT_ORGANIZATION_SI, PALVELUKARTTA_UNIT_SERVICE_SI, PALVELUKARTTA_UNIT_SI, PALVELUKARTTA_UNITZIP_SI, PALVELUKARTTA_WWW_SI, PALVELUKARTTA_ZIP_SI, WANDORA_BASECUSTOM_EXTRACTOR, DONE_FAILED, DONE_MANY, DONE_ONE, EXACTLY_GIVEN_URLS, FILE_EXTRACTOR, FILE_PATTERN, GIVEN_URLS_AND_ALL_CRAWLED_DOCUMENTS, GIVEN_URLS_AND_CRAWLED_DOCUMENTS_IN_URL_DOMAIN, GIVEN_URLS_AND_LINKED_DOCUMENTS, GIVEN_URLS_AND_URL_BELOW, INFO_WAIT_WHILE_WORKING, LOG_TITLE, POINT_START_URL_TEXT, RAW_EXTRACTOR, SELECT_DIALOG_TITLE, STRING_EXTRACTOR_NOT_SUPPORTED_MESSAGE, URL_EXTRACTORCLOSE, EXECUTE, INVISIBLE, VISIBLE, WAITRETURN_ERROR, RETURN_INFO| Constructor and Description |
|---|
PalvelukarttaUnitExtractor() |
PalvelukarttaUnitExtractor(boolean deep) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
extractFrom(org.json.JSONArray json,
TopicMap tm) |
boolean |
extractFrom(org.json.JSONObject json,
TopicMap tm) |
boolean |
extractUnitFrom(org.json.JSONObject json,
TopicMap tm) |
boolean |
extractUnitsFrom(org.json.JSONArray json,
TopicMap tm) |
java.lang.String |
getDescription()
AdminToolManager views tool descriptions while user browses available
tools and build user customizable GUI elements such as Tools menu.
|
java.lang.String |
getName()
Tools name represent the tool in UI unless the tool has been given
explicitly another GUI name.
|
_extractTopicsFrom, _extractTopicsFrom, _extractTopicsFrom, associateServices, getAbbrType, getATopic, getChildServiceRole, getCityTopic, getCityType, getConnectionType, getContactPersonType, getDataSourceType, getDefaultLangTopic, getDepartmentOrganizationType, getDepartmentTopic, getDepartmentTopicWithAbbr, getDepartmentType, getDoubleJSONValue, getEmailType, getGeoLocationType, getIcon, getJSONValue, getLongJSONValue, getOrCreateTopic, getOrCreateTopic, getOrCreateTopic, getOrganizationTopic, getOrganizationType, getPalvelukarttaType, getParentServiceRole, getPhoneType, getProviderTypeTopic, getProviderTypeType, getServiceRelationType, getServiceTopic, getServiceType, getStreetAddressType, getStringJSONValue, getType, getUnitCityType, getUnitConnectionType, getUnitDepartmentType, getUnitOrganizationType, getUnitServiceType, getUnitTopic, getUnitType, getUnitZipType, getUTopic, getWandoraClass, getWWWType, getZipTopic, getZipType, makeSubclassOf, useURLCrawleracceptBrowserExtractRequest, addCrawlerUrl, browserExtractorConsumesPlainText, buildSI, buildSL, clearMasterSubject, createAssociation, createAssociation, createTopic, createTopic, createTopic, createTopic, createTopic, createTopic, createTopic, croppedFilename, croppedFilename, croppedUrlString, croppedUrlString, doBrowserExtract, dropExtract, dropExtract, dropExtract, execute, extractTopicsFrom, extractTopicsFrom, extractTopicsFrom, extractTopicsFrom, extractTopicsFromText, getBrowserExtractorName, getContentTypes, getCrawlerMode, getExtractorType, getForceContent, getForceFiles, getForceUrls, getGUIText, getGUIText, getInterruptsHandled, getMasterSubject, getWandora, handle, handleContent, handleCustomType, handleFiles, handleForcedContent, handleInterrupt, handleStringContent, handleUrls, initializeCustomType, instantDropHandle, makeSubclassOfWandoraClass, runInOwnThread, setData, setDisplayName, setForceContent, setForceFiles, setForceUrls, setMasterSubject, setMasterSubject, setTopicMap, setupCrawler, setWandora, takeNap, urlEncode, useTempTopicMapaddUndoMarker, addUndoMarker, allowMultipleInvocations, clearAllThreads, clearThreads, clearThreads, clearToolLock, clearToolLock, clearToolLocks, configure, execute, execute, forceStop, forceStop, getContext, getCurrentLogger, getDefaultLogger, getHistory, getLastLogger, getState, getThreads, getThreads, getToolMenuItem, getToolMenuItem, getTopicName, hlog, initialize, interruptAllThreads, interruptThreads, interruptThreads, isConfigurable, isRunning, isRunning, lockLog, log, log, log, log, requiresRefresh, run, setContext, setDefaultLogger, setLogTitle, setProgress, setProgressMax, setState, setToolLogger, singleLog, singleLog, singleLog, solveContextTopicMap, solveNameForTopicMap, writeOptionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, execute, execute, getContext, getToolMenuItem, hlog, initialize, isConfigurable, isRunning, log, log, log, log, requiresRefresh, setContext, setToolLogger, writeOptionsforceStop, getHistory, getState, lockLog, setLogTitle, setProgress, setProgressMax, setStatepublic PalvelukarttaUnitExtractor()
public PalvelukarttaUnitExtractor(boolean deep)
public java.lang.String getName()
AbstractWandoraToolgetName in interface WandoraToolgetName in class AbstractExtractorpublic java.lang.String getDescription()
AbstractWandoraToolgetDescription in interface WandoraToolgetDescription in class AbstractExtractorpublic boolean extractFrom(org.json.JSONObject json,
TopicMap tm)
extractFrom in class AbstractPalvelukarttaExtractorpublic boolean extractFrom(org.json.JSONArray json,
TopicMap tm)
extractFrom in class AbstractPalvelukarttaExtractorpublic boolean extractUnitsFrom(org.json.JSONArray json,
TopicMap tm)
public boolean extractUnitFrom(org.json.JSONObject json,
TopicMap tm)
Copyright 2004-2015 Wandora Team