com.frevvo.forms.client.ext
Class DeployStateExtension

java.lang.Object
  extended by com.google.gdata.data.AbstractExtension
      extended by com.google.gdata.data.ExtensionPoint
          extended by com.frevvo.forms.client.ext.DeployStateExtension
All Implemented Interfaces:
Extension

public class DeployStateExtension
extends ExtensionPoint
implements Extension


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
 
Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension
AbstractExtension.AttributesHandler
 
Field Summary
static String DEPLOY_STATE_ELEMENT
           
protected  DeployState deployState
           
static String DEVELOPMENT_VALUE_ATTR
           
static String PRODUCTION_VALUE_ATTR
           
static String VALUE_ATTR
           
 
Fields inherited from class com.google.gdata.data.ExtensionPoint
xmlBlob
 
Fields inherited from class com.google.gdata.data.AbstractExtension
localName, namespace
 
Constructor Summary
DeployStateExtension()
           
DeployStateExtension(DeployState deployState)
           
 
Method Summary
 void generate(com.google.gdata.util.common.xml.XmlWriter w, ExtensionProfile extProfile)
           
static ExtensionDescription getDefaultDescription()
          Returns the suggested extension description.
 DeployState getDeployState()
           
static DeployState getDeployState(ExtensionPoint extPoint)
           
 XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)
           
 void setDeployState(DeployState deployState)
           
static void setDeployState(ExtensionPoint extPoint, DeployState deployState)
           
 
Methods inherited from class com.google.gdata.data.ExtensionPoint
addExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, declareExtensions, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionDescription, getExtensionHandler, getExtensions, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChild, visitChildren
 
Methods inherited from class com.google.gdata.data.AbstractExtension
consumeAttributes, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEPLOY_STATE_ELEMENT

public static final String DEPLOY_STATE_ELEMENT
See Also:
Constant Field Values

VALUE_ATTR

public static final String VALUE_ATTR
See Also:
Constant Field Values

DEVELOPMENT_VALUE_ATTR

public static final String DEVELOPMENT_VALUE_ATTR
See Also:
Constant Field Values

PRODUCTION_VALUE_ATTR

public static final String PRODUCTION_VALUE_ATTR
See Also:
Constant Field Values

deployState

protected DeployState deployState
Constructor Detail

DeployStateExtension

public DeployStateExtension()

DeployStateExtension

public DeployStateExtension(DeployState deployState)
Method Detail

getDeployState

public static DeployState getDeployState(ExtensionPoint extPoint)

setDeployState

public static void setDeployState(ExtensionPoint extPoint,
                                  DeployState deployState)

getDeployState

public DeployState getDeployState()

setDeployState

public void setDeployState(DeployState deployState)

getDefaultDescription

public static ExtensionDescription getDefaultDescription()
Returns the suggested extension description.


generate

public void generate(com.google.gdata.util.common.xml.XmlWriter w,
                     ExtensionProfile extProfile)
              throws IOException
Specified by:
generate in interface Extension
Overrides:
generate in class AbstractExtension
Throws:
IOException

getHandler

public XmlParser.ElementHandler getHandler(ExtensionProfile extProfile,
                                           String namespace,
                                           String localName,
                                           Attributes attrs)
                                    throws ParseException
Specified by:
getHandler in interface Extension
Overrides:
getHandler in class ExtensionPoint
Throws:
ParseException


Copyright © 2006-2011 frevvo Inc. All Rights Reserved.