App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.api.search.search.AtomField Class Reference
Inheritance diagram for google.appengine.api.search.search.AtomField:
google.appengine.api.search.search.Field

Public Member Functions

def __init__
 
- Public Member Functions inherited from google.appengine.api.search.search.Field
def __init__
 
def name
 
def language
 
def value
 
def __repr__
 
def __eq__
 
def __ne__
 
def __hash__
 
def __str__
 

Detailed Description

A Field that has content to be treated as a single token for indexing.

The following example shows an atom field named contributor:
  AtomField(name='contributor', value='foo@bar.com')

Constructor & Destructor Documentation

def google.appengine.api.search.search.AtomField.__init__ (   self,
  name,
  value = None,
  language = None 
)
Initializer.

Args:
  name: The name of the field.
  value: A str or unicode object to be treated as an indivisible text value.
  language: The code of the language the value is encoded in.

Raises:
  TypeError: If value is not a string.
  ValueError: If value is longer than allowed.

The documentation for this class was generated from the following file: