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, getType
toString
@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 CDataObject
public String getId()
getId
in class CDataObject
public boolean isValid()
isValid
in class CDataObject
public String getLanguageId()
getLanguageId
in class CLanguageData
public void setLanguageId(String id)
setLanguageId
in class CLanguageData
public String[] getSourceContentTypeIds()
getSourceContentTypeIds
in class CLanguageData
public String[] getSourceExtensions()
getSourceExtensions
in class CLanguageData
public int getSupportedEntryKinds()
getSupportedEntryKinds
in class CLanguageData
public void setEntries(int kind, ICLanguageSettingEntry[] entries)
setEntries
in class CLanguageData
public ICLanguageSettingEntry[] getEntries(int kind)
getEntries
in class CLanguageData
public void setSourceContentTypeIds(String[] ids)
setSourceContentTypeIds
in class CLanguageData
public void setSourceExtensions(String[] exts)
setSourceExtensions
in class CLanguageData
public boolean isModified()
public void setModified(boolean modified)
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.