Package tdi :: Package markup :: Module factory
[frames] | no frames]

Module factory

source code

Default Soup Template Factory.


Author: André Malo

Variables
  html = _factory.Factory(parser= _soup.parser.DEFAULT_PARSER.ht...
  xml = _factory.Factory(parser= _soup.parser.DEFAULT_PARSER.xml...
  text = _factory.Factory(parser= _text.parser.TextParser, build...
Variables Details

html

Value:
_factory.Factory(parser= _soup.parser.DEFAULT_PARSER.html, builder= _s\
oup.builder.SoupBuilder, encoder= _soup.encoder.SoupEncoder, decoder= \
_soup.decoder.HTMLDecoder, default_eventfilter_list= (_soup.filters.En\
codingDetectFilter,),)

xml

Value:
_factory.Factory(parser= _soup.parser.DEFAULT_PARSER.xml, builder= _so\
up.builder.SoupBuilder, encoder= _soup.encoder.SoupEncoder, decoder= _\
soup.decoder.XMLDecoder, default_encoding= 'utf-8', default_eventfilte\
r_list= (_soup.filters.EncodingDetectFilter,),)

text

Value:
_factory.Factory(parser= _text.parser.TextParser, builder= _text.build\
er.TextBuilder, encoder= _text.encoder.TextEncoder, decoder= _text.dec\
oder.TextDecoder, default_encoding= 'utf-8', default_eventfilter_list=\
 (_text.filters.EncodingDetectFilter,),)