Package oort :: Module rdfview :: Class localized_xml
[hide private]
[frames] | no frames]

Class localized_xml

source code

object --+        
  Selector --+    
 UnarySelector --+

This selector removes any elements with an xml:lang other than the current language. It also supports the never standardized 'rdf-wrapper' in XML Literals, who are removed from the output.

Important! This is currently tied to the Genshi Templating System, and may not work as expected in all cases.

Instance Methods [hide private]
select(self, graph, lang, subject) source code
type_raw_value(self, value, lang) source code

Inherited from UnarySelector: back_to_graph

Inherited from Selector: __get__, __init__, __or__, __rshift__, __set__, add_filter, get_sub_query, hook_into_rdf_query, retreive_result, viewed_as

Inherited from Selector (private): _process_for_subqueries

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from Selector: filters, predicate

Inherited from object: __class__

Method Details [hide private]

select(self, graph, lang, subject)

source code 

type_raw_value(self, value, lang)

source code 
Overrides: Selector.type_raw_value