| Package | Description |
|---|---|
| com.google.gdata.model | |
| com.google.gdata.model.atom | |
| com.google.gdata.model.atompub | |
| com.google.gdata.wireformats |
| Modifier and Type | Method and Description |
|---|---|
protected Element |
Element.narrow(ElementMetadata<?,?> metadata,
ValidationContext vc)
Narrow down element's type to the most specific one possible.
|
Element |
Element.resolve(ElementMetadata<?,?> metadata,
ValidationContext vc)
Resolve this element's state against the metadata.
|
protected void |
Element.validate(ElementMetadata<?,?> metadata,
ValidationContext vc)
Validate the element using the given metadata, and placing any errors into
the validation context.
|
void |
ForwardingElementMetadata.validate(ValidationContext vc,
Element e) |
void |
ElementMetadata.validate(ValidationContext vc,
Element e)
Validates an element using the specified validation context and the
element validator associated with this element metadata.
|
void |
MetadataValidator.validate(ValidationContext vc,
Element e,
ElementMetadata<?,?> metadata) |
void |
ElementValidator.validate(ValidationContext vc,
Element e,
ElementMetadata<?,?> metadata)
Validate the target element using the specified validation context.
|
| Modifier and Type | Method and Description |
|---|---|
protected Element |
Link.narrow(ElementMetadata<?,?> meta,
ValidationContext vc) |
protected Element |
Feed.narrow(ElementMetadata<?,?> meta,
ValidationContext vc)
Narrows this feed using categories with an appropriate kind value.
|
protected Element |
Entry.narrow(ElementMetadata<?,?> metadata,
ValidationContext vc)
Narrows this entry using categories with an appropriate kind value.
|
protected Element |
Content.narrow(ElementMetadata<?,?> meta,
ValidationContext vc) |
protected Element |
Category.narrow(ElementMetadata<?,?> meta,
ValidationContext vc) |
Element |
TextContent.resolve(ElementMetadata<?,?> metadata,
ValidationContext vc)
Resolve this element's state against the metadata.
|
Element |
Feed.resolve(ElementMetadata<?,?> metadata,
ValidationContext vc) |
protected void |
OtherContent.validate(ElementMetadata<?,?> metadata,
ValidationContext vc) |
| Modifier and Type | Method and Description |
|---|---|
Element |
Workspace.resolve(ElementMetadata<?,?> meta,
ValidationContext vc) |
Element |
Collection.resolve(ElementMetadata<?,?> metadata,
ValidationContext vc) |
| Modifier and Type | Field and Description |
|---|---|
protected ValidationContext |
XmlHandler.vc
Validation context, used to accumulate metadata validation
errors discovered during parsing.
|
protected ValidationContext |
ContentValidationException.vc |
| Modifier and Type | Method and Description |
|---|---|
ValidationContext |
ContentValidationException.getContext() |
| Modifier and Type | Method and Description |
|---|---|
protected XmlHandler |
XmlParser.createRootHandler(ValidationContext vc,
Element element,
ElementMetadata<?,?> metadata)
Create the xml handler for the root element.
|
| Constructor and Description |
|---|
ContentValidationException(String message,
ValidationContext vc) |
XmlHandler(ValidationContext vc,
Element parent,
Element element,
ElementMetadata<?,?> metadata)
Construct an xml parser that will add the element to its parent after
parsing is completed.
|
Copyright © 2012. All Rights Reserved.