public class

CrawlIssueCrawlType

extends AbstractExtension
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.webmastertools.CrawlIssueCrawlType

Class Overview

Type of crawl of the crawl issue.

Summary

Nested Classes
enum CrawlIssueCrawlType.CrawlType Value. 
Constants
String XML_NAME XML element name
Fields
private static final EnumToAttributeValue<CrawlIssueCrawlType.CrawlType> CRAWLTYPE_ENUM_TO_ATTRIBUTE_VALUE
private CrawlIssueCrawlType.CrawlType crawlType Value
[Expand]
Inherited Fields
From class com.google.gdata.data.AbstractExtension
Public Constructors
CrawlIssueCrawlType()
Default mutable constructor.
CrawlIssueCrawlType(CrawlIssueCrawlType.CrawlType crawlType)
Immutable constructor.
Public Methods
boolean equals(Object obj)
CrawlIssueCrawlType.CrawlType getCrawlType()
Returns the value.
static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
Returns the extension description, specifying whether it is required, and whether it is repeatable.
boolean hasCrawlType()
Returns whether it has the value.
int hashCode()
void setCrawlType(CrawlIssueCrawlType.CrawlType crawlType)
Sets the value.
String toString()
Protected Methods
void consumeAttributes(AttributeHelper helper)
Consumes attributes from the attribute helper.
void putAttributes(AttributeGenerator generator)
Puts attributes into the attribute generator.
void validate()
Checks the attributes to see if there are any problems.
[Expand]
Inherited Methods
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension

Constants

static final String XML_NAME

XML element name

Constant Value: "crawl-type"

Fields

private static final EnumToAttributeValue<CrawlIssueCrawlType.CrawlType> CRAWLTYPE_ENUM_TO_ATTRIBUTE_VALUE

private CrawlIssueCrawlType.CrawlType crawlType

Value

Public Constructors

public CrawlIssueCrawlType ()

Default mutable constructor.

public CrawlIssueCrawlType (CrawlIssueCrawlType.CrawlType crawlType)

Immutable constructor.

Parameters
crawlType Value.

Public Methods

public boolean equals (Object obj)

Parameters
obj

public CrawlIssueCrawlType.CrawlType getCrawlType ()

Returns the value.

Returns
  • value

public static ExtensionDescription getDefaultDescription (boolean required, boolean repeatable)

Returns the extension description, specifying whether it is required, and whether it is repeatable.

Parameters
required Whether it is required
repeatable Whether it is repeatable
Returns
  • extension description

public boolean hasCrawlType ()

Returns whether it has the value.

Returns
  • whether it has the value

public int hashCode ()

public void setCrawlType (CrawlIssueCrawlType.CrawlType crawlType)

Sets the value.

Parameters
crawlType Value or null to reset

public String toString ()

Protected Methods

protected void consumeAttributes (AttributeHelper helper)

Consumes attributes from the attribute helper. May also use consumeContent(boolean) to consume the element's text content. Called from getHandler(ExtensionProfile, String, String, Attributes). Default implementation does nothing, though generally this is discouraged unless there really are no attributes.

Parameters
helper Attribute helper

protected void putAttributes (AttributeGenerator generator)

Puts attributes into the attribute generator. Called from generate(XmlWriter, ExtensionProfile). Default implementation does nothing, though generally this is discouraged unless there really are no attributes.

Parameters
generator Attribute generator

protected void validate ()

Checks the attributes to see if there are any problems. Default implementation does nothing, though generally this is discouraged unless there really are no restrictions.