public abstract class

BasePageEntry

extends BaseContentEntry<E extends BaseContentEntry<E>>
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.media.MediaEntry<E extends com.google.gdata.data.BaseEntry<E>>
           ↳ com.google.gdata.data.sites.BaseContentEntry<E extends com.google.gdata.data.sites.BaseContentEntry<E>>
             ↳ com.google.gdata.data.sites.BasePageEntry<E extends com.google.gdata.data.sites.BasePageEntry<E>>
Known Direct Subclasses

Class Overview

An entry representing a page in the site. These entries have namesand correspond to non-anonymous nodes in jotspot.

Summary

[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
BasePageEntry()
Default mutable constructor.
BasePageEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance.
Public Methods
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.
PageName getPageName()
Returns the page name.
Link getTemplateLink()
Returns the template sites link.
boolean hasPageName()
Returns whether it has the page name.
void setPageName(PageName pageName)
Sets the page name.
String toString()
Protected Methods
void validate()
Checks the attributes to see if there are any problems.
[Expand]
Inherited Methods
From class com.google.gdata.data.sites.BaseContentEntry
From class com.google.gdata.data.media.MediaEntry
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
From interface com.google.gdata.data.media.IMediaEntry

Public Constructors

public BasePageEntry ()

Default mutable constructor.

public BasePageEntry (BaseEntry<?> sourceEntry)

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

Parameters
sourceEntry Source entry

Public Methods

public void declareExtensions (ExtensionProfile extProfile)

Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.

Parameters
extProfile The ExtensionProfile to initialize.

public PageName getPageName ()

Returns the page name.

Returns
  • page name

public Link getTemplateLink ()

Returns the template sites link.

Returns
  • Template sites link or null for none.

public boolean hasPageName ()

Returns whether it has the page name.

Returns
  • whether it has the page name

public void setPageName (PageName pageName)

Sets the page name.

Parameters
pageName Page name or null to reset

public String toString ()

Protected Methods

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.