public class CodeSearchEntry extends BaseEntry<CodeSearchEntry>
BaseEntry.AtomHandler
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
Modifier and Type | Field and Description |
---|---|
static Category |
CODESEARCH_CATEGORY
Category used to label entries that contain CodeSearch results.
|
static java.lang.String |
CODESEARCH_KIND
Kind term value for CodeSearch codesearch category labels.
|
Constructor and Description |
---|
CodeSearchEntry()
Constructs a new CodeSearchEntry instance with the appropriate category
to indicate that it is a code search result.
|
CodeSearchEntry(BaseEntry sourceEntry)
Constructs a new CodeSearchEntry instance by doing a shallow copy of data
from an existing BaseEntry instance.
|
Modifier and Type | Method and Description |
---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Initializes an ExtensionProfile based upon the extensions expected
by a CodeSearchEntry.
|
File |
getFile()
Returns the Code Search file property.
|
java.util.List<Match> |
getMatches()
Returns the list of calendar locations
|
Package |
getPackage()
Returns the Code Search file property.
|
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getMediaEditLink, getPlainTextContent, getPubControl, getPublished, getResumableEditMediaLink, getRights, getSelectedFields, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setKind, setPubControl, setPublished, setRights, setSelectedFields, setService, setSource, setSummary, setTitle, setUpdated, setVersionId, update
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
public static final java.lang.String CODESEARCH_KIND
public static final Category CODESEARCH_CATEGORY
public CodeSearchEntry()
public CodeSearchEntry(BaseEntry sourceEntry)
public void declareExtensions(ExtensionProfile extProfile)
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
public File getFile()
public Package getPackage()
public java.util.List<Match> getMatches()