| Modifier and Type | Field and Description |
|---|---|
protected XmlNamespace |
AbstractExtension.namespace
XML namespace for this extension or
null if not defined |
| Modifier and Type | Method and Description |
|---|---|
XmlNamespace |
AbstractExtension.getExtensionNamespace()
Gets the extension's namespace.
|
XmlNamespace |
ExtensionDescription.getNamespace() |
| Modifier and Type | Method and Description |
|---|---|
Collection<XmlNamespace> |
ExtensionProfile.getNamespaceDecls()
Retrieves a collection of all namespaces used by this profile.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExtensionProfile.declareAdditionalNamespace(XmlNamespace ns)
Specifies additional top-level namespace declarations.
|
void |
Person.generate(ExtensionProfile extProfile,
XmlWriter w,
XmlNamespace elementNamespace,
String elementName,
Collection<XmlWriter.Attribute> attributes)
Generates XML.
|
protected void |
Person.generate(XmlWriter w,
ExtensionProfile p,
XmlNamespace namespace,
String localName,
List<XmlWriter.Attribute> attrs,
AttributeGenerator generator)
Generates XML.
|
protected void |
ExtensionPoint.generate(XmlWriter w,
ExtensionProfile p,
XmlNamespace namespace,
String localName,
List<XmlWriter.Attribute> attrs,
AttributeGenerator generator) |
protected void |
AbstractExtension.generate(XmlWriter w,
ExtensionProfile p,
XmlNamespace namespace,
String localName,
List<XmlWriter.Attribute> attrs,
AttributeGenerator generator)
Generates the XML into the XML writer.
|
protected void |
ExtensionPoint.generateStartElement(XmlWriter w,
XmlNamespace namespace,
String elementName,
Collection<XmlWriter.Attribute> additionalAttrs,
Collection<XmlNamespace> additionalNs)
Generates XML corresponding to the type implementing
ExtensionPoint. |
void |
ExtensionDescription.setNamespace(XmlNamespace namespace) |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseFeed.generateFeedStart(ExtensionProfile extProfile,
XmlWriter w,
Collection<XmlNamespace> namespaces)
Generates everything that's in the feed up to and not including the
entries.
|
protected void |
ExtensionPoint.generateStartElement(XmlWriter w,
XmlNamespace namespace,
String elementName,
Collection<XmlWriter.Attribute> additionalAttrs,
Collection<XmlNamespace> additionalNs)
Generates XML corresponding to the type implementing
ExtensionPoint. |
| Constructor and Description |
|---|
AbstractExtension(XmlNamespace namespace,
String localName)
Constructs an extension bound to a specific XML representation.
|
EnumConstruct(XmlNamespace namespace,
String tagName,
String attrName,
Set<String> values)
Constructs a new EnumConstruct instance associated with a particular
XML representation and set of expected values.
|
EnumConstruct(XmlNamespace namespace,
String tagName,
String attrName,
Set<String> values,
String initialValue)
Constructs a new EnumConstruct instance associated with a particular
XML representation and set of expected values.
|
ExtensionDescription(Class<? extends Extension> extensionClass,
XmlNamespace namespace,
String localName)
Constructs a new ExtensionDescription for an optional, non-repeating
simple element.
|
ExtensionDescription(Class<? extends Extension> extensionClass,
XmlNamespace namespace,
String localName,
boolean required,
boolean repeatable,
boolean aggregate)
Constructs a new ExtensionDescription populated with the parameter
values.
|
ExtensionDescription(Class<? extends Extension> extensionClass,
XmlNamespace namespace,
String localName,
boolean required,
boolean repeatable,
boolean aggregate,
boolean arbitraryXml,
boolean mixedContent)
Constructs a new ExtensionDescription populated with the parameter
values.
|
ValueConstruct(XmlNamespace namespace,
String localName,
String attrName)
Constructs an ValueConstruct bound to a specific XML representation
A concrete subclass should always use constants value for all three
parameters.
|
ValueConstruct(XmlNamespace namespace,
String localName,
String attrName,
String value)
Constructs a new ValueConstruct instance bound to a specific XML
representation.
|
| Constructor and Description |
|---|
ExtensionDescription.Handler(ExtensionProfile configProfile,
ClassLoader configLoader,
List<XmlNamespace> namespaces,
Attributes attrs) |
ExtensionProfile.ExtensionPointHandler(ExtensionProfile configProfile,
ClassLoader configLoader,
List<XmlNamespace> namespaces,
Attributes attrs) |
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
AclNamespace.gAclNs
XML writer namespace for Google ACL
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
AnalyticsNamespace.DXP_NS
XML writer namespace for Google Analytics (DXP)
|
static XmlNamespace |
AnalyticsNamespace.GA_NS
XML writer namespace for Analytics-specific data (GA)
|
static XmlNamespace |
AnalyticsNamespace.GWO_NS
XML writer namespace for Gwo (GWO)
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
Namespaces.APPS_NAMESPACE
Google data XML writer namespace.
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
BooksNamespace.GBS_NS
XML writer namespace for Google Book Search (GBS)
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
Namespaces.gCalNs
XML writer namespace for Google Calendar (GCAL)
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
Namespaces.gCSNs
XML writer namespace for Google Code Search (GCS)
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
ContactsNamespace.GCONTACT_NS
XML writer namespace for Google Contacts (GCONTACT)
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
DocsNamespace.DOCS_NS
XML writer namespace for Google Documents List (DOCS)
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
DublincoreNamespace.DC_NS
XML writer namespace for Dublin Core Metadata Initiative,
http://dublincore.org (DC)
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
LastModifiedBy.generate(XmlWriter w,
ExtensionProfile p,
XmlNamespace namespace,
String localName,
List<XmlWriter.Attribute> attrs,
AttributeGenerator generator) |
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
FinanceNamespace.GF_NS
XML writer namespace for Google Finance (GF)
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
Namespaces.GEO_RSS_NAMESPACE |
static XmlNamespace |
Namespaces.GML_NAMESPACE |
static XmlNamespace |
Namespaces.W3C_GEO_NAMESPACE |
| Constructor and Description |
|---|
PointConstruct(XmlNamespace namespace,
String name)
Constructor to create an empty point object.
|
PointConstruct(XmlNamespace namespace,
String name,
Double lat,
Double lon)
Constructor to create a point from a given lat/lon pair.
|
PointConstruct(XmlNamespace namespace,
String name,
Point copyFrom)
Copy constructor to create a point from another point.
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
GttNamespace.GTT_NS
XML writer namespace for Google Translator Toolkit (GTT)
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
HealthNamespace.CCR_NS
XML writer namespace for Continuity of Care Record namespace (CCR)
|
static XmlNamespace |
HealthNamespace.H9_NS
XML writer namespace for The h9 namespace (H9)
|
static XmlNamespace |
HealthNamespace.H9KINDS_NS
XML writer namespace for The h9kinds namespace (H9KINDS)
|
static XmlNamespace |
HealthNamespace.H9M_NS
XML writer namespace for The h9 metadata namespace (H9M)
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
DataConstants.KML_NAMESPACE
Defines the KML namespace, which is the primary format for
FeatureEntry content.
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
MediaRssNamespace.NS
Namespace object.
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
Namespaces.EXIF_NAMESPACE
XML writer namespace for Exif namespace (EXIF)
|
static XmlNamespace |
Namespaces.KML_NS
XML writer namespace for KML namespace (KML)
|
static XmlNamespace |
Namespaces.PHEED_NS
XML writer namespace for Pheed namespace (PHEED)
|
static XmlNamespace |
Namespaces.PHOTOS_NAMESPACE
XML writer namespace for Google Photos namespace (GPHOTO)
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
Namespaces.PHEED_NAMESPACE
Deprecated.
Pheed pheed namespace.
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
ProjectHostingNamespace.ISSUES_NS
XML writer namespace for ProjectHostingIssues (ISSUES)
|
static XmlNamespace |
ProjectHostingNamespace.PROJECTS_NS
XML writer namespace for ProjectHostingProjects (PROJECTS)
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
SidewikiNamespace.SIDEWIKI_NS
XML writer namespace for Google Sidewiki (SIDEWIKI)
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
SitesNamespace.SITES_NS
XML writer namespace for Google Sites (SITES)
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
Namespaces.gSpreadCustomNs
XML writer namespace for Google Spreadsheets custom tag (GSX)
|
static XmlNamespace |
Namespaces.gSpreadNs
XML writer namespace for Google Spreadsheets (GS)
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
ThreadingNamespace.THR_NS
XML writer namespace for Atom threading extensions (THR)
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
Namespaces.WT_NAMESPACE
Webmaster tools GData namespace.
|
static XmlNamespace |
Namespaces.WT_NS
Same as above, for compatibility with automatically generated feeds.
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
YouTubeNamespace.NS
Namespace object.
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
QName.ANY_NAMESPACE
Special value for the QName namespace that will match any namespace.
|
| Modifier and Type | Method and Description |
|---|---|
XmlNamespace |
ForwardingElementMetadata.getDefaultNamespace() |
XmlNamespace |
ElementMetadata.getDefaultNamespace()
Returns the best namespace to use as the default in documents if this
element is the root type.
|
XmlNamespace |
QName.getNs() |
| Modifier and Type | Method and Description |
|---|---|
Collection<XmlNamespace> |
ForwardingElementMetadata.getReferencedNamespaces() |
Collection<XmlNamespace> |
ElementMetadata.getReferencedNamespaces()
Returns an immutable collection of the namespaces that are referenced by
this element, its attributes, and recursively within any declared children.
|
| Constructor and Description |
|---|
QName(XmlNamespace namespace,
String localName) |
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
Namespaces.gNs
XML writer namespace for Google data (GD)
|
| Modifier and Type | Field and Description |
|---|---|
static XmlNamespace |
Namespaces.atomNs
Atom XML namespace, for assigning
atom: prefix. |
static XmlNamespace |
Namespaces.atomPubDraftNs
Atom Publishing Protocol (draft) XML namespace.
|
static XmlNamespace |
Namespaces.atomPubNs
Deprecated.
Use
Namespaces.getAtomPubNs() instead. Use
Namespaces.atomPubDraftNs if you absolutely want the draft app namespace
and not the standard one. |
static XmlNamespace |
Namespaces.atomPubStandardNs
Atom Publishing Protocol (final) XML namespace.
|
static XmlNamespace |
Namespaces.batchNs |
static XmlNamespace |
Namespaces.gdataConfigNs
GData XML namespace.
|
static XmlNamespace |
Namespaces.gNs
Google data XML namespace.
|
static XmlNamespace |
Namespaces.grNs
Google data runtime XML namespace.
|
static XmlNamespace |
Namespaces.openSearch1_0Ns
Amazon OpenSearch/RSS 1.0 XML namespace.
|
static XmlNamespace |
Namespaces.openSearch1_1Ns
Amazon OpenSearch 1.1 XML namespace.
|
static XmlNamespace |
Namespaces.openSearchDesc1_1Ns
Deprecated.
Use
Namespaces.getOpenSearchDescNs() instead. |
static XmlNamespace |
Namespaces.openSearchDescNs
Deprecated.
Use
Namespaces.getOpenSearchDescNs() instead. |
static XmlNamespace |
Namespaces.openSearchNs
Deprecated.
Use
Namespaces.getOpenSearchNs() instead. Use
Namespaces.openSearch1_0Ns if you absolutely want the namespace of
opensearch 1.0. |
static XmlNamespace |
Namespaces.rssNs
RSS XML namespace.
|
static XmlNamespace |
Namespaces.xhtmlNs
XHTML XML namespace.
|
static XmlNamespace |
Namespaces.xmlNs
XML namespace
|
| Modifier and Type | Field and Description |
|---|---|
protected LinkedList<XmlNamespace> |
XmlBlob.namespaces
Namespace declarations inherited when this blob was parsed but used
within it.
|
| Modifier and Type | Method and Description |
|---|---|
static XmlNamespace |
Namespaces.getAtomPubNs()
Returns the XML namespace associated with the Atom Publishing
Protocol.
|
static XmlNamespace |
Namespaces.getOpenSearchDescNs()
Returns the XML namespace associated with OpenSearch Description.
|
static XmlNamespace |
Namespaces.getOpenSearchNs()
Returns the XML namespace associated with OpenSearch.
|
| Modifier and Type | Method and Description |
|---|---|
List<XmlNamespace> |
XmlBlob.getNamespaces() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
XmlBlob.addNamespace(XmlNamespace namespace) |
static void |
XmlBlob.endElement(XmlWriter w,
XmlNamespace namespace,
String elementName,
XmlBlob xml)
Generates an element closing tag containing an XML blob.
|
static void |
XmlBlob.startElement(XmlWriter w,
XmlNamespace namespace,
String elementName,
XmlBlob xml,
Collection<XmlWriter.Attribute> additionalAttrs,
Collection<XmlNamespace> additionalNs)
Generates an element opening tag containing an XML blob.
|
| Modifier and Type | Method and Description |
|---|---|
XmlParser.ElementHandler |
XmlParser.ElementHandler.getChildHandler(String namespace,
String qualifiedName,
String localName,
Attributes attrs,
List<XmlNamespace> namespaces)
Determines a handler for a child element.
|
static void |
XmlBlob.startElement(XmlWriter w,
XmlNamespace namespace,
String elementName,
XmlBlob xml,
Collection<XmlWriter.Attribute> additionalAttrs,
Collection<XmlNamespace> additionalNs)
Generates an element opening tag containing an XML blob.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
XmlWriter.Namespace
Deprecated.
Use the
XmlNamespace class instead. |
| Modifier and Type | Field and Description |
|---|---|
List<XmlNamespace> |
XmlWriter.Element.nsDecls
Namespace declarations associated with this element.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XmlWriter.Element.addNamespace(XmlNamespace ns)
Adds a namespace declaration to the element, avoiding duplicates.
|
void |
XmlWriter.endElement(XmlNamespace namespace,
String name)
Ends the current element.
|
protected String |
XmlWriter.ensureNamespace(XmlNamespace namespace)
Ensures the namespace is in scope and returns its alias.
|
void |
XmlWriter.setDefaultNamespace(XmlNamespace namespace)
Sets the default namespace.
|
void |
XmlWriter.simpleElement(XmlNamespace namespace,
String name,
List<XmlWriter.Attribute> attrs,
String value)
Emits a simple element (without child elements).
|
void |
XmlWriter.startElement(XmlNamespace namespace,
String name,
Collection<XmlWriter.Attribute> attrs,
Collection<? extends XmlNamespace> namespaceDecls)
Starts an element.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XmlWriter.startElement(XmlNamespace namespace,
String name,
Collection<XmlWriter.Attribute> attrs,
Collection<? extends XmlNamespace> namespaceDecls)
Starts an element.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,XmlNamespace> |
GeneratorUtils.calculateNamespaces(Element root,
ElementMetadata<?,?> metadata)
Calculate the set of namespaces on an element.
|
protected Collection<XmlNamespace> |
XmlGenerator.XmlElementGenerator.getNamespaces(Element parent,
Element e,
ElementMetadata<?,?> metadata)
Get a collection of namespaces for the current element and parent.
|
| Modifier and Type | Method and Description |
|---|---|
XmlHandler |
XmlHandler.getChildHandler(QName qName,
Attributes attrs,
List<XmlNamespace> namespaces)
Default child handler for xml.
|
| Constructor and Description |
|---|
XmlGenerator(StreamProperties props,
Writer w,
Charset cs,
boolean prettyPrint,
XmlNamespace defaultNamespace)
Creates a new xml generator for generating xml output, using the
given namespace as the default namespace.
|
Copyright © 2012. All Rights Reserved.