public class SitemapsRegularEntry extends SitemapsEntry<SitemapsRegularEntry>
Modifier and Type | Class and Description |
---|---|
static class |
SitemapsRegularEntry.SitemapType
Represents a single
|
SitemapsEntry.LastDownloaded, SitemapsEntry.SitemapStatus, SitemapsEntry.UrlCount
BaseEntry.AtomHandler, BaseEntry.EntryState
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
AbstractExtension.AttributesHandler
xmlBlob
localName, namespace
Constructor and Description |
---|
SitemapsRegularEntry()
Constructs a new SitemapsRegularEntry instance
|
SitemapsRegularEntry(BaseEntry<?> sourceEntry)
Constructs a new entry by doing a copy from another BaseEntry instance.
|
Modifier and Type | Method and Description |
---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Initializes an ExtensionProfile based upon the extensions expected
by a SitemapsRegularEntry.
|
java.lang.String |
getSitemapType()
Gets sitemap type of a regular sitemap.
|
void |
setSitemapType(java.lang.String value)
Sets sitemap type for a regular sitemap.
|
protected void |
validate()
We validate that sitemap type is set.
|
getSitemapDownloadTime, getSitemapStatus, getSitemapUrlCount, setSitemapDownloadTime, setSitemapStatus, setSitemapUrlCount
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContentHandlerInfo, 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, visitChildren
addExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionDescription, getExtensionHandler, getExtensions, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChild
consumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable
public SitemapsRegularEntry()
public SitemapsRegularEntry(BaseEntry<?> sourceEntry)
public void declareExtensions(ExtensionProfile extProfile)
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class SitemapsEntry<SitemapsRegularEntry>
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
public void setSitemapType(java.lang.String value)
public java.lang.String getSitemapType()
protected void validate() throws java.lang.IllegalStateException
validate
in class AbstractExtension
java.lang.IllegalStateException
- if any problems are found with the
attributes