| Modifier and Type | Method and Description |
|---|---|
protected void |
GmItemType.consumeAttributes(AttributeHelper helper) |
XmlParser.ElementHandler |
Stats.getHandler(ExtensionProfile extProfile,
String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
GoogleBaseAttributesExtension.getHandler(ExtensionProfile extensionProfile,
String uri,
String localName,
Attributes attributes)
|
XmlParser.ElementHandler |
GmDisapproved.getHandler(ExtensionProfile extProfile,
String namespace,
String localName,
Attributes attrs)
Reads a gm:disapproved tag.
|
XmlParser.ElementHandler |
GmAttributes.getHandler(ExtensionProfile extProfile,
String namespace,
String localName,
Attributes attrs)
Creates a parser for this tag.
|
XmlParser.ElementHandler |
AttributeHistogram.getHandler(ExtensionProfile extProfile,
String namespace,
String localName,
Attributes attrs)
Creates a handler for this gdata extension tag.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AttributeHelper.assertAllConsumed()
Makes sure all attributes have been removed from the list.
|
protected void |
ExtensionPoint.checkRequiredExtensions(ExtensionManifest profManifest)
Checks whether all required extensions are present.
|
String |
AttributeHelper.consume(String name,
boolean required)
Gets the value of an attribute and remove it from the list.
|
protected void |
ValueConstruct.consumeAttributes(AttributeHelper helper) |
protected void |
AbstractExtension.consumeAttributes(AttributeHelper helper)
Consumes attributes from the attribute helper.
|
BigDecimal |
AttributeHelper.consumeBigDecimal(String name,
boolean required)
Gets the value of a big decimal attribute and remove it from the list.
|
BigDecimal |
AttributeHelper.consumeBigDecimal(String name,
boolean required,
BigDecimal defaultValue)
Gets the value of a big decimal attribute and remove it from the list.
|
BigInteger |
AttributeHelper.consumeBigInteger(String name,
boolean required)
Gets the value of a big integer attribute and remove it from the list.
|
BigInteger |
AttributeHelper.consumeBigInteger(String name,
boolean required,
BigInteger defaultValue)
Gets the value of a big integer attribute and remove it from the list.
|
boolean |
AttributeHelper.consumeBoolean(String name,
boolean required)
Gets the value of a boolean attribute and remove it from the list.
|
boolean |
AttributeHelper.consumeBoolean(String name,
boolean required,
boolean defaultValue)
Gets the value of a boolean attribute and remove it from the list.
|
byte |
AttributeHelper.consumeByte(String name,
boolean required)
Gets the value of a byte attribute and remove it from the list.
|
byte |
AttributeHelper.consumeByte(String name,
boolean required,
byte defaultValue)
Gets the value of a byte attribute and remove it from the list.
|
String |
AttributeHelper.consumeContent(boolean required)
Gets the element's text content and removes it from the list.
|
DateTime |
AttributeHelper.consumeDateTime(String name,
boolean required)
Gets the value of a
DateTime attribute and remove it from the list. |
double |
AttributeHelper.consumeDouble(String name,
boolean required)
Gets the value of a double attribute and remove it from the list.
|
double |
AttributeHelper.consumeDouble(String name,
boolean required,
double defaultValue)
Gets the value of a double attribute and remove it from the list.
|
<T extends Enum<T>> |
AttributeHelper.consumeEnum(String name,
boolean required,
Class<T> enumClass)
Gets the value of an enumerated attribute and remove it from the list.
|
<T extends Enum<T>> |
AttributeHelper.consumeEnum(String name,
boolean required,
Class<T> enumClass,
T defaultValue)
Gets the value of an enumerated attribute and remove it from the list.
|
<T extends Enum<T>> |
AttributeHelper.consumeEnum(String name,
boolean required,
Class<T> enumClass,
T defaultValue,
AttributeHelper.EnumToAttributeValue<T> enumToAttributeValue)
Gets the value of an enumerated attribute and remove it from the list,
using a custom mapping of enum to attribute value.
|
float |
AttributeHelper.consumeFloat(String name,
boolean required)
Gets the value of a float attribute and remove it from the list.
|
float |
AttributeHelper.consumeFloat(String name,
boolean required,
float defaultValue)
Gets the value of a float attribute and remove it from the list.
|
int |
AttributeHelper.consumeInteger(String name,
boolean required)
Gets the value of an integer attribute and remove it from the list.
|
int |
AttributeHelper.consumeInteger(String name,
boolean required,
int defaultValue)
Gets the value of an integer attribute and remove it from the list.
|
long |
AttributeHelper.consumeLong(String name,
boolean required)
Gets the value of a long attribute and remove it from the list.
|
long |
AttributeHelper.consumeLong(String name,
boolean required,
long defaultValue)
Gets the value of a long attribute and remove it from the list.
|
short |
AttributeHelper.consumeShort(String name,
boolean required)
Gets the value of a short attribute and remove it from the list.
|
short |
AttributeHelper.consumeShort(String name,
boolean required,
short defaultValue)
Gets the value of a short attribute and remove it from the list.
|
protected static <T extends Extension> |
ExtensionPoint.createExtensionInstance(Class<T> extClass)
Creates an instance of the given extension class.
|
static TextConstruct.ChildHandlerInfo |
TextConstruct.getChildHandler(Attributes attrs)
Parses XML in the Atom format.
|
static Content.ChildHandlerInfo |
MediaContent.getChildHandler(ExtensionProfile extProfile,
Attributes attrs) |
static Content.ChildHandlerInfo |
Content.getChildHandler(ExtensionProfile extProfile,
Attributes attrs)
Parses XML in the Atom format.
|
XmlParser.ElementHandler |
Source.SourceHandler.getChildHandler(String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
PubControl.AtomHandler.getChildHandler(String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
Person.AtomHandler.getChildHandler(String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
OtherContent.AtomHandler.getChildHandler(String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
OpenSearchDescriptionDocument.Handler.getChildHandler(String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
Link.AtomHandler.getChildHandler(String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
ExtensionProfile.Handler.getChildHandler(String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
ExtensionProfile.ExtensionPointHandler.getChildHandler(String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
ExtensionPoint.CumulativeBlobHandler.getChildHandler(String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
ExtensionPoint.ExtensionHandler.getChildHandler(String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
BaseFeed.FeedHandler.getChildHandler(String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
BaseEntry.AtomHandler.getChildHandler(String namespace,
String localName,
Attributes attrs) |
protected Content.ChildHandlerInfo |
BaseEntry.getContentHandlerInfo(ExtensionProfile extProfile,
Attributes attrs)
Returns information about the content element processing.
|
protected XmlParser.ElementHandler |
ExtensionPoint.getExtensionHandler(ExtensionProfile extProfile,
Class<? extends ExtensionPoint> extPoint,
String namespaceUri,
String localName,
Attributes attrs)
XML parser callback for extended properties.
|
XmlParser.ElementHandler |
ValueConstruct.getHandler(ExtensionProfile p,
String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
ExtensionPoint.getHandler(ExtensionProfile p,
String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
Extension.getHandler(ExtensionProfile extProfile,
String namespace,
String localName,
Attributes attrs)
Gets an XML element handler for the extension.
|
XmlParser.ElementHandler |
BaseFeed.getHandler(ExtensionProfile p,
String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
AbstractExtension.getHandler(ExtensionProfile p,
String namespace,
String localName,
Attributes attrs)
The default implementation uses the
AbstractExtension.AttributesHandler to handle
parsing the extension. |
void |
OpenSearchDescriptionDocument.parse(ExtensionProfile extProfile,
Reader reader)
Parses XML.
|
void |
Source.parseAtom(ExtensionProfile extProfile,
InputStream stream)
Parses XML in the Atom format.
|
void |
BaseFeed.parseAtom(ExtensionProfile extProfile,
InputStream input)
Parses XML in the Atom format.
|
void |
BaseEntry.parseAtom(ExtensionProfile extProfile,
InputStream input)
Parses XML in the Atom format.
|
void |
Source.parseAtom(ExtensionProfile extProfile,
Reader reader)
Parses XML in the Atom format.
|
void |
BaseFeed.parseAtom(ExtensionProfile extProfile,
Reader reader)
Parses XML in the Atom format.
|
void |
BaseEntry.parseAtom(ExtensionProfile extProfile,
Reader reader)
Parses XML in the Atom format.
|
void |
BaseFeed.parseAtom(ExtensionProfile extProfile,
XmlEventSource source)
Parses XML in the Atom format from a parser-defined content source.
|
void |
BaseEntry.parseAtom(ExtensionProfile extProfile,
XmlEventSource eventSource)
Parses XML in the Atom format from a parser-defined content source.
|
void |
ExtensionProfile.parseConfig(ExtensionProfile configProfile,
ClassLoader classLoader,
InputStream stream)
Parses XML in the ExtensionProfile format.
|
void |
ExtensionPoint.parseCumulativeXmlBlob(XmlBlob blob,
ExtensionProfile extProfile,
Class<? extends ExtensionPoint> extendedClass)
|
static DateTime |
DateTime.parseRfc822(String str)
Parses the value as an RFC 822 date/time.
|
void |
XhtmlTextConstruct.AtomHandler.processAttribute(String namespace,
String localName,
String value)
Sets the language.
|
void |
PlainTextConstruct.AtomHandler.processAttribute(String namespace,
String localName,
String value)
Processes attributes.
|
void |
OutOfLineContent.AtomHandler.processAttribute(String namespace,
String localName,
String value)
Processes attributes.
|
void |
OtherContent.AtomHandler.processAttribute(String namespace,
String localName,
String value)
Processes attributes.
|
void |
Link.AtomHandler.processAttribute(String namespace,
String localName,
String value) |
void |
HtmlTextConstruct.AtomHandler.processAttribute(String namespace,
String localName,
String value)
Processes attributes.
|
void |
BaseFeed.FeedHandler.processAttribute(String namespace,
String localName,
String value) |
void |
BaseEntry.AtomHandler.processAttribute(String namespace,
String localName,
String value) |
void |
Rfc3339Handler.processEndElement()
Processes this element; overrides inherited method.
|
void |
PlainTextConstruct.AtomHandler.processEndElement()
Processes this element; overrides inherited method.
|
void |
OutOfLineContent.AtomHandler.processEndElement() |
void |
OtherContent.AtomHandler.processEndElement()
Processes this element; overrides inherited method.
|
void |
Link.AtomHandler.processEndElement() |
void |
HtmlTextConstruct.AtomHandler.processEndElement()
Processes this element; overrides inherited method.
|
void |
ExtensionPoint.ExtensionHandler.processEndElement() |
void |
Category.AtomHandler.processEndElement() |
void |
BaseEntry.AtomHandler.processEndElement() |
void |
AbstractExtension.AttributesHandler.processEndElement() |
static BaseEntry<?> |
BaseEntry.readEntry(ParseSource source)
Reads an entry representation from the provided
ParseSource. |
static <T extends BaseEntry> |
BaseEntry.readEntry(ParseSource source,
Class<T> entryClass,
ExtensionProfile extProfile)
Reads an entry of type
T using the given extension profile. |
static BaseFeed<?,?> |
BaseFeed.readFeed(ParseSource source)
Reads a feed representation from the provided
ParseSource. |
static <F extends BaseFeed> |
BaseFeed.readFeed(ParseSource source,
Class<F> feedClass,
ExtensionProfile extProfile)
This method provides the base implementation of feed reading using either
static or dynamic typing.
|
void |
ValidatingExtension.validate(ExtensionPoint parent)
Enables an extension to perform final validation after all extension
elements of the parent ExtensionPoint have been processed.
|
| 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) |
ExtensionProfile.Handler(ExtensionProfile configProfile,
ClassLoader configLoader,
Attributes attrs) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AclWithKey.consumeAttributes(AttributeHelper helper) |
protected void |
AclScope.consumeAttributes(AttributeHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Step.consumeAttributes(AttributeHelper helper) |
protected void |
Segment.consumeAttributes(AttributeHelper helper) |
protected void |
Property.consumeAttributes(AttributeHelper helper) |
protected void |
Metric.consumeAttributes(AttributeHelper helper) |
protected void |
GwoStatus.consumeAttributes(AttributeHelper helper) |
protected void |
GwoExperimentType.consumeAttributes(AttributeHelper helper) |
protected void |
GwoComboActive.consumeAttributes(AttributeHelper helper) |
protected void |
GwoAutoPruneMode.consumeAttributes(AttributeHelper helper) |
protected void |
Goal.consumeAttributes(AttributeHelper helper) |
protected void |
Engagement.consumeAttributes(AttributeHelper helper) |
protected void |
Dimension.consumeAttributes(AttributeHelper helper) |
protected void |
Destination.consumeAttributes(AttributeHelper helper) |
protected void |
CustomVariable.consumeAttributes(AttributeHelper helper) |
protected void |
ContainsSampledData.consumeAttributes(AttributeHelper helper) |
protected void |
AnalyticsLink.consumeAttributes(AttributeHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
XmlParser.ElementHandler |
Login.getHandler(ExtensionProfile extProfile,
String namespace,
String localName,
Attributes attrs) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Rfc822Msg.consumeAttributes(AttributeHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
XmlParser.ElementHandler |
BatchStatus.getHandler(ExtensionProfile extProfile,
String namespace,
String localName,
Attributes attrs)
Parses XML in the Atom format and uses it to set field values.
|
XmlParser.ElementHandler |
BatchOperation.getHandler(ExtensionProfile extProfile,
String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
BatchInterrupted.getHandler(ExtensionProfile extProfile,
String namespace,
String localName,
Attributes attrs)
Creates an XML ElementHandler that will initialize the object based
on a tag batch:interrupted parsed by the XML parser.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Review.consumeAttributes(AttributeHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TimesCleanedProperty.consumeAttributes(AttributeHelper helper) |
protected void |
SendAclNotificationsProperty.consumeAttributes(AttributeHelper helper) |
protected void |
ResourceProperty.consumeAttributes(AttributeHelper helper) |
protected void |
PrivateCopyProperty.consumeAttributes(AttributeHelper helper) |
protected void |
GuestsCanSeeGuestsProperty.consumeAttributes(AttributeHelper helper) |
protected void |
GuestsCanModifyProperty.consumeAttributes(AttributeHelper helper) |
protected void |
GuestsCanInviteOthersProperty.consumeAttributes(AttributeHelper helper) |
protected void |
AnyoneCanAddSelfProperty.consumeAttributes(AttributeHelper helper) |
XmlParser.ElementHandler |
WebContent.getHandler(ExtensionProfile profile,
String namespace,
String localName,
Attributes attrs) |
static void |
WebContent.updateWebContent(CalendarEventEntry entry)
Done as a post-process on a CalendarEventEntry to see if it contains
the appropriate XML to signify that the entry contains web content.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Website.consumeAttributes(AttributeHelper helper) |
protected void |
UserDefinedField.consumeAttributes(AttributeHelper helper) |
protected void |
Status.consumeAttributes(AttributeHelper helper) |
protected void |
Sensitivity.consumeAttributes(AttributeHelper helper) |
protected void |
Relation.consumeAttributes(AttributeHelper helper) |
protected void |
Priority.consumeAttributes(AttributeHelper helper) |
protected void |
Language.consumeAttributes(AttributeHelper helper) |
protected void |
Jot.consumeAttributes(AttributeHelper helper) |
protected void |
GroupMembershipInfo.consumeAttributes(AttributeHelper helper) |
protected void |
Gender.consumeAttributes(AttributeHelper helper) |
protected void |
ExternalId.consumeAttributes(AttributeHelper helper) |
protected void |
Event.consumeAttributes(AttributeHelper helper) |
protected void |
CalendarLink.consumeAttributes(AttributeHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
WritersCanInvite.consumeAttributes(AttributeHelper helper) |
protected void |
Size.consumeAttributes(AttributeHelper helper) |
protected void |
RemainingChangestamps.consumeAttributes(AttributeHelper helper) |
protected void |
QuotaBytesUsedInTrash.consumeAttributes(AttributeHelper helper) |
protected void |
QueryParameter.consumeAttributes(AttributeHelper helper) |
protected void |
PublishOutsideDomain.consumeAttributes(AttributeHelper helper) |
protected void |
PublishAuto.consumeAttributes(AttributeHelper helper) |
protected void |
Publish.consumeAttributes(AttributeHelper helper) |
protected void |
ObjectNumber.consumeAttributes(AttributeHelper helper) |
protected void |
MaxUploadSize.consumeAttributes(AttributeHelper helper) |
protected void |
LastCommented.consumeAttributes(AttributeHelper helper) |
protected void |
LargestChangestamp.consumeAttributes(AttributeHelper helper) |
protected void |
ImportFormat.consumeAttributes(AttributeHelper helper) |
protected void |
FeatureRate.consumeAttributes(AttributeHelper helper) |
protected void |
ExportStatus.consumeAttributes(AttributeHelper helper) |
protected void |
ExportFormat.consumeAttributes(AttributeHelper helper) |
protected void |
Duration.consumeAttributes(AttributeHelper helper) |
protected void |
Changestamp.consumeAttributes(AttributeHelper helper) |
protected void |
ArchiveTotalFailure.consumeAttributes(AttributeHelper helper) |
protected void |
ArchiveTotalComplete.consumeAttributes(AttributeHelper helper) |
protected void |
ArchiveTotal.consumeAttributes(AttributeHelper helper) |
protected void |
ArchiveStatus.consumeAttributes(AttributeHelper helper) |
protected void |
ArchiveNotifyStatus.consumeAttributes(AttributeHelper helper) |
protected void |
ArchiveFailure.consumeAttributes(AttributeHelper helper) |
protected void |
ArchiveConversion.consumeAttributes(AttributeHelper helper) |
protected void |
ArchiveComplete.consumeAttributes(AttributeHelper helper) |
protected void |
AdditionalRoleSet.consumeAttributes(AttributeHelper helper) |
protected void |
AdditionalRoleInfo.consumeAttributes(AttributeHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
When.consumeAttributes(AttributeHelper helper) |
protected void |
StructuredPostalAddress.consumeAttributes(AttributeHelper helper) |
protected void |
QuotaBytesUsed.consumeAttributes(AttributeHelper helper) |
protected void |
QuotaBytesTotal.consumeAttributes(AttributeHelper helper) |
protected void |
OrgName.consumeAttributes(AttributeHelper helper) |
protected void |
Organization.consumeAttributes(AttributeHelper helper) |
protected void |
Money.consumeAttributes(AttributeHelper helper) |
protected void |
LastViewed.consumeAttributes(AttributeHelper helper) |
protected void |
Im.consumeAttributes(AttributeHelper helper) |
protected void |
GivenName.consumeAttributes(AttributeHelper helper) |
protected void |
FullName.consumeAttributes(AttributeHelper helper) |
protected void |
FamilyName.consumeAttributes(AttributeHelper helper) |
protected void |
CustomProperty.consumeAttributes(AttributeHelper helper) |
protected void |
Country.consumeAttributes(AttributeHelper helper) |
protected void |
AdditionalName.consumeAttributes(AttributeHelper helper) |
XmlParser.ElementHandler |
Who.Handler.getChildHandler(String namespace,
String localName,
Attributes attrs) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TransactionData.consumeAttributes(AttributeHelper helper) |
protected void |
Symbol.consumeAttributes(AttributeHelper helper) |
protected void |
PositionData.consumeAttributes(AttributeHelper helper) |
protected void |
PortfolioData.consumeAttributes(AttributeHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
void |
W3CPoint.Handler.processEndElement()
Overrides the base implementation by adding checks to make sure
the point has a latitude and longitude.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
TranslationComplete.consumeAttributes(AttributeHelper helper) |
protected void |
ScopeEntry.consumeAttributes(AttributeHelper helper) |
protected void |
PercentComplete.consumeAttributes(AttributeHelper helper) |
protected void |
NumberOfSourceWords.consumeAttributes(AttributeHelper helper) |
protected void |
DocumentSource.consumeAttributes(AttributeHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
void |
Workspace.consumeAttributes(AttributeHelper attrHelper) |
void |
Collection.consumeAttributes(AttributeHelper attrHelper) |
protected void |
Categories.consumeAttributes(AttributeHelper helper) |
XmlParser.ElementHandler |
Workspace.Handler.getChildHandler(String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
ServiceDocument.Handler.getChildHandler(String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
Collection.Handler.getChildHandler(String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
Categories.Handler.getChildHandler(String namespace,
String localName,
Attributes attrs) |
void |
ServiceDocument.parse(ExtensionProfile extProfile,
InputStream inputStream)
Parses XML from an InputStream.
|
void |
ServiceDocument.parse(ExtensionProfile extProfile,
Reader reader)
Parses XML from a Reader.
|
void |
Categories.parseAtom(ExtensionProfile extProfile,
XmlParser parser)
Parses a Categories element using data read from the specified parser
instance.
|
void |
Workspace.processEndElement() |
void |
ServiceDocument.processEndElement() |
void |
Collection.Handler.processEndElement() |
| Modifier and Type | Method and Description |
|---|---|
protected Content.ChildHandlerInfo |
MediaEntry.getContentHandlerInfo(ExtensionProfile extProfile,
Attributes attrs) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
MediaThumbnail.consumeAttributes(AttributeHelper attrsHelper) |
protected void |
MediaText.consumeAttributes(AttributeHelper attrsHelper) |
protected void |
MediaRestriction.consumeAttributes(AttributeHelper attrsHelper) |
protected void |
MediaRating.consumeAttributes(AttributeHelper attrsHelper) |
protected void |
MediaKeywords.consumeAttributes(AttributeHelper attrsHelper) |
protected void |
MediaHash.consumeAttributes(AttributeHelper attrsHelper) |
protected void |
MediaCredit.consumeAttributes(AttributeHelper attrsHelper) |
protected void |
MediaCopyright.consumeAttributes(AttributeHelper attrsHelper) |
protected void |
MediaContent.consumeAttributes(AttributeHelper attrsHelper) |
protected void |
MediaCategory.consumeAttributes(AttributeHelper attrsHelper) |
protected void |
AbstractTextElement.consumeAttributes(AttributeHelper attrsHelper)
The default implementation does nothing, subclasses can override to handle
attributes.
|
protected void |
AbstractMediaResource.consumeAttributes(AttributeHelper attrsHelper)
Subclasses can overwrite this method to parse extra
attributes.
|
static NormalPlayTime |
MediaAttributeHelper.consumeNormalPlayTime(AttributeHelper attrHelper,
String name)
Gets the value of a NPT attribute and remove it from the list.
|
XmlParser.ElementHandler |
AbstractTextElement.getHandler(ExtensionProfile extProfile,
String namespace,
String localName,
Attributes attrs) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
GphotoWidth.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoWeight.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoViewCount.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoVersion.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoTimestamp.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoSubscribed.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoStarred.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoSize.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoShowLink.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoRotation.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoQuotaUsed.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoQuotaLimit.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoPosition.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoPhotosUsed.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoPhotosLeft.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoOriginalVideo.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoMaxPhotos.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoImageVersion.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoHeight.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoFeaturedDate.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoCrowdedLength.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoCommentsEnabled.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoCommentCount.consumeAttributes(AttributeHelper helper) |
protected void |
GphotoBytesUsed.consumeAttributes(AttributeHelper helper) |
Float |
ExifTags.getApetureFNumber() |
Float |
ExifTags.getDistance() |
Float |
ExifTags.getExposureTime() |
Float |
ExifTags.getFocalLength() |
Integer |
ExifTags.getIsoEquivalent() |
Date |
ExifTags.getTime() |
Integer |
TagEntry.getWeight() |
Integer |
TagData.getWeight()
The weight of the tag is the number of times the tag appears in the
collection of tags currently being viewed.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
State.consumeAttributes(AttributeHelper helper) |
protected void |
Stars.consumeAttributes(AttributeHelper helper) |
protected void |
Repository.consumeAttributes(AttributeHelper helper) |
protected void |
IssuesLink.consumeAttributes(AttributeHelper helper) |
protected void |
Id.consumeAttributes(AttributeHelper helper) |
protected void |
ClosedDate.consumeAttributes(AttributeHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Usefulness.consumeAttributes(AttributeHelper helper) |
protected void |
Source.consumeAttributes(AttributeHelper helper) |
protected void |
EntriesNumber.consumeAttributes(AttributeHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SitesLink.consumeAttributes(AttributeHelper helper) |
protected void |
Revision.consumeAttributes(AttributeHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Header.consumeAttributes(AttributeHelper helper) |
protected void |
Field.consumeAttributes(AttributeHelper helper) |
protected void |
Data.consumeAttributes(AttributeHelper helper) |
protected void |
Column.consumeAttributes(AttributeHelper helper) |
XmlParser.ElementHandler |
RowCount.getHandler(ExtensionProfile extProfile,
String namespace,
String localName,
Attributes attrs)
Yields an XML handler for parsing a Cell element.
|
XmlParser.ElementHandler |
CustomElementCollection.getHandler(ExtensionProfile extProfile,
String namespace,
String localName,
Attributes attrs)
Yields an XML handler for parsing a Cell element.
|
XmlParser.ElementHandler |
ColCount.getHandler(ExtensionProfile extProfile,
String namespace,
String localName,
Attributes attrs)
Yields an XML handler for parsing a Cell element.
|
XmlParser.ElementHandler |
Cell.getHandler(ExtensionProfile extProfile,
String namespace,
String localName,
Attributes attrs)
Yields an XML handler for parsing a Cell element.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Total.consumeAttributes(AttributeHelper helper) |
protected void |
InReplyTo.consumeAttributes(AttributeHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
VerificationMethod.consumeAttributes(AttributeHelper helper)
Overrides base class method to parse attributes specific to this class.
|
protected void |
Keyword.consumeAttributes(AttributeHelper helper) |
protected void |
CrawlIssueIssueType.consumeAttributes(AttributeHelper helper) |
protected void |
CrawlIssueDateDetected.consumeAttributes(AttributeHelper helper) |
protected void |
CrawlIssueCrawlType.consumeAttributes(AttributeHelper helper) |
XmlParser.ElementHandler |
SitemapNews.Handler.getChildHandler(String namespace,
String localName,
Attributes attrs) |
XmlParser.ElementHandler |
SitemapMobile.Handler.getChildHandler(String namespace,
String localName,
Attributes attrs) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
YtVideoId.consumeAttributes(AttributeHelper helper) |
protected void |
YtUserProfileStatistics.consumeAttributes(AttributeHelper helper) |
protected void |
YtUploaded.consumeAttributes(AttributeHelper helper) |
protected void |
YtStatus.consumeAttributes(AttributeHelper helper) |
protected void |
YtStatistics.consumeAttributes(AttributeHelper helper) |
protected void |
YtRelationship.consumeAttributes(AttributeHelper helper) |
protected void |
YtRecorded.consumeAttributes(AttributeHelper helper) |
protected void |
YtRating.consumeAttributes(AttributeHelper helper) |
protected void |
YtPublicationState.consumeAttributes(AttributeHelper helper) |
protected void |
YtPosition.consumeAttributes(AttributeHelper helper) |
protected void |
YtPlaylistId.consumeAttributes(AttributeHelper helper) |
protected void |
YtGender.consumeAttributes(AttributeHelper helper) |
protected void |
YtFormatInfo.consumeAttributes(AttributeHelper helper) |
protected void |
YtDuration.consumeAttributes(AttributeHelper helper) |
protected void |
YtCountHint.consumeAttributes(AttributeHelper helper) |
protected void |
YtCommentRating.consumeAttributes(AttributeHelper helper) |
protected void |
YtAspectRatio.consumeAttributes(AttributeHelper helper) |
protected void |
YtAge.consumeAttributes(AttributeHelper helper) |
protected void |
YouTubeMediaRating.consumeAttributes(AttributeHelper attrsHelper) |
protected void |
YouTubeMediaCredit.consumeAttributes(AttributeHelper attrsHelper) |
protected void |
YouTubeMediaContent.consumeAttributes(AttributeHelper attrsHelper) |
protected void |
AbstractFreeTextExtension.consumeAttributes(AttributeHelper helper) |
protected Content.ChildHandlerInfo |
CaptionTrackEntry.getContentHandlerInfo(ExtensionProfile extProfile,
Attributes attrs) |
static FormUploadToken |
FormUploadToken.parse(InputStream input)
Parse a form-upload token from its XML definition.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ElementMetadata.MultipleVirtualElement.parse(Element parent,
ElementMetadata<?,?> parentMetadata,
Collection<Element> elements,
ElementMetadata<?,?> metadata)
Parses the elements, possibly creating additional elements or attributes.
|
void |
ElementMetadata.SingleVirtualElement.parse(Element parent,
ElementMetadata<?,?> parentMetadata,
Element element,
ElementMetadata<?,?> metadata)
Parses the element, possibly creating additional elements or attributes.
|
void |
MetadataValueTransform.parse(Element element,
ElementMetadata<?,?> metadata,
Object value)
For parsing, we always parse directly into the first source.
|
void |
Metadata.VirtualValue.parse(Element element,
ElementMetadata<?,?> metadata,
Object value)
Parses the virtual value using the given metadata, storing it into the
element or attribute as appropriate.
|
void |
Metadata.parseValue(Element element,
ElementMetadata<?,?> metadata,
Object value)
Parses the value of this property into the given element.
|
void |
ForwardingElementMetadata.parseValue(Element element,
ElementMetadata<?,?> metadata,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
XmlParser.throwParseException(ParseException e)
Throws a parse exception with line/column information.
|
| Modifier and Type | Method and Description |
|---|---|
String |
XmlParser.ElementHandler.getAbsoluteUri(String uriValue)
Utility routine that combines the current state of
xml:base
with the specified URI to obtain an absolute URI. |
Boolean |
XmlParser.ElementHandler.getBooleanAttribute(Attributes attrs,
String attrName)
Utility method to return the value of an xsd:boolean attribute.
|
XmlParser.ElementHandler |
XmlParser.ElementHandler.getChildHandler(String namespace,
String localName,
Attributes attrs)
Determines a handler for a child element.
|
XmlParser.ElementHandler |
XmlParser.ElementHandler.getChildHandler(String namespace,
String qualifiedName,
String localName,
Attributes attrs,
List<XmlNamespace> namespaces)
Determines a handler for a child element.
|
void |
ServiceExceptionInitializer.parse(ContentType contentType,
String body) |
void |
ServiceExceptionInitializer.parse(HttpURLConnection httpConn)
Initializes the ServiceException using the error response data from an
HTTP connection.
|
protected void |
XmlParser.parse(InputSource is)
Parses XML.
|
void |
XmlParser.parse(InputStream input,
XmlParser.ElementHandler rootHandler,
String rootNamespace,
String rootElementName)
Parses XML.
|
void |
XmlParser.parse(Reader reader,
XmlParser.ElementHandler rootHandler,
String rootNamespace,
String rootElementName)
Parses XML.
|
void |
EventSourceParser.parse(XmlEventSource source) |
void |
XmlParser.parse(XmlParser.ElementHandler rootHandler,
String rootNamespace,
String rootElementName)
Parses XML from a content source provided to the parser at
construction time.
|
protected Boolean |
XmlParser.ElementHandler.parseBooleanValue(String value)
Utility method to parse provided xsd:boolean value.
|
void |
XmlParser.ElementHandler.processAttribute(String namespace,
String localName,
String value)
Called to process an attribute.
|
void |
XmlParser.ElementHandler.processAttribute(String namespace,
String qualifiedName,
String localName,
String attrValue)
Called to process an attribute.
|
void |
XmlParser.ElementHandler.processEndElement()
Called to process this element when the closing tag is encountered.
|
static IEntry |
ParseUtil.readEntry(ParseSource source)
Reads an entry from a parse source.
|
static <T extends IEntry> |
ParseUtil.readEntry(ParseSource source,
Class<T> requestedClass,
ExtensionProfile extProfile,
Schema schema)
Reads an entry from a parse source, returning an instance of the requested
class, and using the given extension profile if parsing into the old data
model.
|
static IFeed |
ParseUtil.readFeed(ParseSource source)
Reads a feed from a parse source.
|
static <F extends IFeed> |
ParseUtil.readFeed(ParseSource source,
Class<F> requestedClass,
ExtensionProfile extProfile,
Schema schema)
This method provides the base implementation of feed reading using either
static or dynamic typing.
|
protected void |
XmlParser.throwParseException(ParseException e)
Throws a parse exception with line/column information.
|
| Modifier and Type | Method and Description |
|---|---|
ParseException |
ContentValidationException.toParseException()
Converts a ContentValidationException to a parse exception, with a
separate exception for each parser error that was encountered.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
XmlParser.throwParseException(ParseException e)
Throws a parse exception with line/column information.
|
| Modifier and Type | Method and Description |
|---|---|
abstract T |
ObjectConverter.convertValue(String value,
Class<? extends T> datatype)
Translate an untyped (string) value to a typed value.
|
T |
ObjectConverter.MappedEnumConverter.convertValue(String value,
Class<? extends T> datatype) |
protected Element |
XmlHandler.createChildElement(QName qName,
ElementMetadata<?,?> metadata)
Create a child element for the given name and metadata.
|
XmlHandler |
XmlHandler.getChildHandler(QName qName,
Attributes attrs,
List<XmlNamespace> namespaces)
Default child handler for xml.
|
static <V> V |
ObjectConverter.getValue(Object value,
Class<V> datatype)
Converts an object to the given datatype by casting if possible, and if not
by narrowing from
String using the registered object converters. |
static <V> V |
ObjectConverter.getValue(String value,
Class<V> datatype)
Translate an untyped (string) value to a typed value.
|
Element |
XmlParser.parse(Element element) |
Element |
WireFormatParser.parse(Element element)
Parse content from a source provided to the parser at
construction time.
|
void |
XmlHandler.processAttribute(QName qn,
String value) |
void |
XmlHandler.processEndElement() |
protected void |
XmlParser.throwParseException(ParseException e)
Throws a parse exception with line/column information.
|
Copyright © 2012. All Rights Reserved.