public class

CodeSearchEntry

extends BaseEntry<E extends BaseEntry>
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry>
         ↳ com.google.gdata.data.codesearch.CodeSearchEntry

Class Overview

Used to represent the results of a code query in a single file.

Summary

Constants
String CODESEARCH_KIND Kind term value for CodeSearch codesearch category labels.
Fields
public static final Category CODESEARCH_CATEGORY Category used to label entries that contain CodeSearch results.
[Expand]
Inherited Fields
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
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.
Public Methods
void declareExtensions(ExtensionProfile extProfile)
Initializes an ExtensionProfile based upon the extensions expected by a CodeSearchEntry.
File getFile()
Returns the Code Search file property.
List<Match> getMatches()
Returns the list of calendar locations
Package getPackage()
Returns the Code Search file property.
[Expand]
Inherited Methods
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension
From interface com.google.gdata.data.IAtom
From interface com.google.gdata.data.IEntry
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor

Constants

public static final String CODESEARCH_KIND

Kind term value for CodeSearch codesearch category labels.

Constant Value: "http://schemas.google.com/codesearch/2006#result"

Fields

public static final Category CODESEARCH_CATEGORY

Category used to label entries that contain CodeSearch results.

Public Constructors

public CodeSearchEntry ()

Constructs a new CodeSearchEntry instance with the appropriate category to indicate that it is a code search result.

public CodeSearchEntry (BaseEntry sourceEntry)

Constructs a new CodeSearchEntry instance by doing a shallow copy of data from an existing BaseEntry instance.

Parameters
sourceEntry

Public Methods

public void declareExtensions (ExtensionProfile extProfile)

Initializes an ExtensionProfile based upon the extensions expected by a CodeSearchEntry.

Parameters
extProfile The ExtensionProfile to initialize.

public File getFile ()

Returns the Code Search file property.

public List<Match> getMatches ()

Returns the list of calendar locations

public Package getPackage ()

Returns the Code Search file property.