public class

Match

extends ExtensionPoint
implements Extension
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.codesearch.Match

Class Overview

GData schema extension describing a match in the source. found <b> query </b>

Summary

Constants
String ATTRIBUTE_LINENUMBER
String EXTENSION_MATCH
Fields
protected String lineNumber Property userName.
protected HtmlTextConstruct lineText Embedded line text.
[Expand]
Inherited Fields
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
Match()
Public Methods
void generate(XmlWriter w, ExtensionProfile extProfile)
Generates an XML representation for the extension.
static ExtensionDescription getDefaultDescription()
XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)
The default implementation uses the AbstractExtension.AttributesHandler to handle parsing the extension.
String getLineNumber()
HtmlTextConstruct getLineText()
[Expand]
Inherited Methods
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

Constants

public static final String ATTRIBUTE_LINENUMBER

Constant Value: "lineNumber"

public static final String EXTENSION_MATCH

Constant Value: "match"

Fields

protected String lineNumber

Property userName.

protected HtmlTextConstruct lineText

Embedded line text.

Public Constructors

public Match ()

Public Methods

public void generate (XmlWriter w, ExtensionProfile extProfile)

Generates an XML representation for the extension.

Parameters
w XML writer
extProfile Extension profile
Throws
IOException

public static ExtensionDescription getDefaultDescription ()

Returns
  • Description of this extension

public XmlParser.ElementHandler getHandler (ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)

The default implementation uses the AbstractExtension.AttributesHandler to handle parsing the extension.

Parameters
extProfile Extension profile
namespace Extension namespace
localName Tag name, without the namespace prefix
attrs Tag attributes
Returns
  • an element handler

public String getLineNumber ()

public HtmlTextConstruct getLineText ()