Provides logic for walking down XML tree and pulling data.
def google.appengine.tools.indexes_xml_parser.IndexesXmlParser.ProcessIndexNode |
( |
|
self, |
|
|
|
node |
|
) |
| |
Processes XML <datastore-index> nodes into Index objects.
The following information is parsed out:
kind: specifies the kind of entities to index.
ancestor: true if the index supports queries that filter by
ancestor-key to constraint results to a single entity group.
property: represents the entity properties to index, with a name
and direction attribute.
Args:
node: <datastore-index> XML node in datastore-indexes.xml.
def google.appengine.tools.indexes_xml_parser.IndexesXmlParser.ProcessXml |
( |
|
self, |
|
|
|
xml_str |
|
) |
| |
Parses XML string and returns object representation of relevant info.
Args:
xml_str: The XML string.
Returns:
A list of Index objects containing information about datastore indexes
from the XML.
Raises:
AppEngineConfigException: In case of malformed XML or illegal inputs.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/tools/indexes_xml_parser.py