com.frevvo.forms.client.ext
Class KeysExtension

java.lang.Object
  extended by com.google.gdata.data.AbstractExtension
      extended by com.google.gdata.data.ExtensionPoint
          extended by com.frevvo.forms.client.ext.KeysExtension
All Implemented Interfaces:
Extension, Iterable<Key>

public class KeysExtension
extends ExtensionPoint
implements Extension, Iterable<Key>


Nested Class Summary
protected  class KeysExtension.KeyHandler
           
 
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 KEY1_ELEMENT
           
static String KEY2_ELEMENT
           
static String KEY3_ELEMENT
           
static String KEY4_ELEMENT
           
static String KEY5_ELEMENT
           
static String KEYNAME_ATTRIBUTE
           
static String KEYS_ELEMENT
           
static String KEYVALUE_ATTRIBUTE
           
static Key NULL_KEY
           
 
Fields inherited from class com.google.gdata.data.ExtensionPoint
xmlBlob
 
Fields inherited from class com.google.gdata.data.AbstractExtension
localName, namespace
 
Constructor Summary
KeysExtension()
           
 
Method Summary
 void generate(com.google.gdata.util.common.xml.XmlWriter w, ExtensionProfile extProfile)
           
static KeysExtension get(ExtensionPoint extPoint, boolean create)
           
static ExtensionDescription getDefaultDescription()
          Returns the suggested extension description.
 XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)
           
 Key getKey1()
           
 Key getKey2()
           
 Key getKey3()
           
 Key getKey4()
           
 Key getKey5()
           
 String getKeyValue(String name)
           
 Iterator<Key> iterator()
           
static Key key(Key key)
           
 
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

NULL_KEY

public static final Key NULL_KEY

KEYS_ELEMENT

public static final String KEYS_ELEMENT
See Also:
Constant Field Values

KEY1_ELEMENT

public static final String KEY1_ELEMENT
See Also:
Constant Field Values

KEY2_ELEMENT

public static final String KEY2_ELEMENT
See Also:
Constant Field Values

KEY3_ELEMENT

public static final String KEY3_ELEMENT
See Also:
Constant Field Values

KEY4_ELEMENT

public static final String KEY4_ELEMENT
See Also:
Constant Field Values

KEY5_ELEMENT

public static final String KEY5_ELEMENT
See Also:
Constant Field Values

KEYNAME_ATTRIBUTE

public static final String KEYNAME_ATTRIBUTE
See Also:
Constant Field Values

KEYVALUE_ATTRIBUTE

public static final String KEYVALUE_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

KeysExtension

public KeysExtension()
Method Detail

key

public static Key key(Key key)

get

public static KeysExtension get(ExtensionPoint extPoint,
                                boolean create)

getDefaultDescription

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


iterator

public Iterator<Key> iterator()
Specified by:
iterator in interface Iterable<Key>

getKey1

public Key getKey1()

getKey2

public Key getKey2()

getKey3

public Key getKey3()

getKey4

public Key getKey4()

getKey5

public Key getKey5()

getKeyValue

public String getKeyValue(String name)

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.