com.frevvo.forms.client.ext
Class TemplateExtension
java.lang.Object
com.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.frevvo.forms.client.ext.TemplateExtension
- All Implemented Interfaces:
- Extension
public class TemplateExtension
- extends ExtensionPoint
- implements Extension
| 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 |
TEMPLATE_ELEMENT
public static final String TEMPLATE_ELEMENT
- See Also:
- Constant Field Values
TEMPLATE_ID_ATTRIBUTE
public static final String TEMPLATE_ID_ATTRIBUTE
- See Also:
- Constant Field Values
templateId
protected String templateId
TemplateExtension
public TemplateExtension()
TemplateExtension
public TemplateExtension(String ownerId)
getTemplateId
public static String getTemplateId(ExtensionPoint extPoint)
setTemplateId
public static void setTemplateId(ExtensionPoint extPoint,
String id)
getTemplateId
public String getTemplateId()
setTemplateId
public void setTemplateId(String id)
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.