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:
com.google.gdata.data.Extension

public class DeployStateExtension
extends com.google.gdata.data.ExtensionPoint
implements com.google.gdata.data.Extension


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint
com.google.gdata.data.ExtensionPoint.CumulativeBlobHandler, com.google.gdata.data.ExtensionPoint.ExtensionHandler
 
Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension
com.google.gdata.data.AbstractExtension.AttributesHandler
 
Field Summary
static java.lang.String DEPLOY_STATE_ELEMENT
           
protected  DeployState deployState
           
static java.lang.String DEVELOPMENT_VALUE_ATTR
           
static java.lang.String PRODUCTION_VALUE_ATTR
           
static java.lang.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, com.google.gdata.data.ExtensionProfile extProfile)
           
static com.google.gdata.data.ExtensionDescription getDefaultDescription()
          Returns the suggested extension description.
 DeployState getDeployState()
           
static DeployState getDeployState(com.google.gdata.data.ExtensionPoint extPoint)
           
 com.google.gdata.util.XmlParser.ElementHandler getHandler(com.google.gdata.data.ExtensionProfile extProfile, java.lang.String namespace, java.lang.String localName, org.xml.sax.Attributes attrs)
           
 void setDeployState(DeployState deployState)
           
static void setDeployState(com.google.gdata.data.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 java.lang.String DEPLOY_STATE_ELEMENT
See Also:
Constant Field Values

VALUE_ATTR

public static final java.lang.String VALUE_ATTR
See Also:
Constant Field Values

DEVELOPMENT_VALUE_ATTR

public static final java.lang.String DEVELOPMENT_VALUE_ATTR
See Also:
Constant Field Values

PRODUCTION_VALUE_ATTR

public static final java.lang.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(com.google.gdata.data.ExtensionPoint extPoint)

setDeployState

public static void setDeployState(com.google.gdata.data.ExtensionPoint extPoint,
                                  DeployState deployState)

getDeployState

public DeployState getDeployState()

setDeployState

public void setDeployState(DeployState deployState)

getDefaultDescription

public static com.google.gdata.data.ExtensionDescription getDefaultDescription()
Returns the suggested extension description.


generate

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

getHandler

public com.google.gdata.util.XmlParser.ElementHandler getHandler(com.google.gdata.data.ExtensionProfile extProfile,
                                                                 java.lang.String namespace,
                                                                 java.lang.String localName,
                                                                 org.xml.sax.Attributes attrs)
                                                          throws com.google.gdata.util.ParseException
Specified by:
getHandler in interface com.google.gdata.data.Extension
Overrides:
getHandler in class com.google.gdata.data.ExtensionPoint
Throws:
com.google.gdata.util.ParseException


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