public class CDefaultLanguageData extends CLanguageData
| Modifier and Type | Field and Description |
|---|---|
static String[] |
EMPTY_STRING_ARRAY |
protected String |
fId |
protected boolean |
fIsModified |
protected String |
fLanguageId |
protected String |
fName |
protected String[] |
fSourceContentTypeIds |
protected String[] |
fSourceExts |
protected EntryStore |
fStore |
protected int |
fSupportedKinds |
protected static int |
OP_COPY
Deprecated.
|
protected static int |
OP_SET
Deprecated.
|
SETTING_BUILD, SETTING_CONFIGURATION, SETTING_FILE, SETTING_FOLDER, SETTING_LANGUAGE, SETTING_PROJECT, SETTING_TARGET_PLATFORM| Modifier | Constructor and Description |
|---|---|
protected |
CDefaultLanguageData() |
|
CDefaultLanguageData(String id,
CLanguageData base) |
|
CDefaultLanguageData(String id,
String languageId,
String[] ids,
boolean isContentTypes) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copySettingsFrom(CLanguageData data) |
protected EntryStore |
createStore() |
protected EntryStore |
createStore(CLanguageData data) |
ICLanguageSettingEntry[] |
getEntries(int kind) |
protected ICLanguageSettingEntry[] |
getEntriesToCopy(int kind,
CLanguageData lData) |
String |
getId() |
String |
getLanguageId() |
String |
getName() |
String[] |
getSourceContentTypeIds() |
String[] |
getSourceExtensions() |
int |
getSupportedEntryKinds() |
boolean |
isModified() |
boolean |
isValid() |
protected ICLanguageSettingEntry[] |
processStoredEntries(ICLanguageSettingEntry[] entries,
int op)
This method is overridden in
CLanguageSettingCache to ensure the entries are cached with CDataUtil pool. |
void |
setEntries(int kind,
ICLanguageSettingEntry[] entries) |
void |
setLanguageId(String id) |
void |
setModified(boolean modified) |
void |
setSourceContentTypeIds(String[] ids) |
void |
setSourceExtensions(String[] exts) |
containsDiscoveredScannerInfo, getTypetoString@Deprecated protected static final int OP_COPY
@Deprecated protected static final int OP_SET
protected String fName
protected String fId
protected String fLanguageId
protected int fSupportedKinds
protected String[] fSourceContentTypeIds
protected String[] fSourceExts
protected EntryStore fStore
public static final String[] EMPTY_STRING_ARRAY
protected boolean fIsModified
protected CDefaultLanguageData()
public CDefaultLanguageData(String id, String languageId, String[] ids, boolean isContentTypes)
public CDefaultLanguageData(String id, CLanguageData base)
protected void copySettingsFrom(CLanguageData data)
protected EntryStore createStore(CLanguageData data)
protected ICLanguageSettingEntry[] getEntriesToCopy(int kind, CLanguageData lData)
protected ICLanguageSettingEntry[] processStoredEntries(ICLanguageSettingEntry[] entries, int op)
CLanguageSettingCache to ensure the entries are cached with CDataUtil pool.protected EntryStore createStore()
public String getName()
getName in class CDataObjectpublic String getId()
getId in class CDataObjectpublic boolean isValid()
isValid in class CDataObjectpublic String getLanguageId()
getLanguageId in class CLanguageDatapublic void setLanguageId(String id)
setLanguageId in class CLanguageDatapublic String[] getSourceContentTypeIds()
getSourceContentTypeIds in class CLanguageDatapublic String[] getSourceExtensions()
getSourceExtensions in class CLanguageDatapublic int getSupportedEntryKinds()
getSupportedEntryKinds in class CLanguageDatapublic void setEntries(int kind,
ICLanguageSettingEntry[] entries)
setEntries in class CLanguageDatapublic ICLanguageSettingEntry[] getEntries(int kind)
getEntries in class CLanguageDatapublic void setSourceContentTypeIds(String[] ids)
setSourceContentTypeIds in class CLanguageDatapublic void setSourceExtensions(String[] exts)
setSourceExtensions in class CLanguageDatapublic boolean isModified()
public void setModified(boolean modified)
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.