Google Data APIs Client Library (1.41.1)



com.google.api.gbase.client
Class GmPublishingPriority

java.lang.Object
  extended by com.google.api.gbase.client.GmPublishingPriority
All Implemented Interfaces:
Extension

public class GmPublishingPriority
extends java.lang.Object
implements Extension

Object representation of the gm:publishing_priority tag.


Nested Class Summary
static class GmPublishingPriority.Value
          Possible values for the indexing element.
 
Constructor Summary
GmPublishingPriority()
          Creates a gm:publishing_priority tag.
 
Method Summary
 void generate(com.google.gdata.util.common.xml.XmlWriter w, ExtensionProfile extProfile)
          Generates an XML representation for the extension.
static ExtensionDescription getDefaultDescription()
          Returns a description for this extension.
 XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, java.lang.String namespace, java.lang.String localName, org.xml.sax.Attributes attrs)
          Gets an XML element handler for the extension.
 GmPublishingPriority.Value getValue()
           
 void setValue(GmPublishingPriority.Value value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GmPublishingPriority

public GmPublishingPriority()
Creates a gm:publishing_priority tag.

Method Detail

getDefaultDescription

public static ExtensionDescription getDefaultDescription()
Returns a description for this extension.


getValue

public GmPublishingPriority.Value getValue()

setValue

public void setValue(GmPublishingPriority.Value value)

generate

public void generate(com.google.gdata.util.common.xml.XmlWriter w,
                     ExtensionProfile extProfile)
              throws java.io.IOException
Description copied from interface: Extension
Generates an XML representation for the extension.

Specified by:
generate in interface Extension
Parameters:
w - XML writer
extProfile - extension profile
Throws:
java.io.IOException

getHandler

public XmlParser.ElementHandler getHandler(ExtensionProfile extProfile,
                                           java.lang.String namespace,
                                           java.lang.String localName,
                                           org.xml.sax.Attributes attrs)
Description copied from interface: Extension
Gets an XML element handler for the extension.

Specified by:
getHandler in interface Extension
Parameters:
extProfile - extension profile
namespace - extension namespace
localName - tag name, without the namespace prefix
attrs - tag attributes
Returns:
an element handler