Home | Trees | Indices | Help |
|
---|
|
object --+ | paint_target.IPaintTarget --+ | JsonPaintTarget
User Interface Description Language Target.
TODO: document better: role of this class, UIDL format, attributes, variables, etc.
Version: 1.1.2
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|
|||
|
|
|||
_UIDL_ARG_NAME = 'name'
|
|||
_json_map = {'"': lambda ch, sb: sb.write('\\\"'), '\\': lambd
|
|||
_widgetMappingCache = dict()
|
|
|||
Inherited from |
|
Creates a new XMLPrintWriter, without automatic line flushing.
|
Prints the element start tag.
|
Prints the element end tag. If the parent tag is closed before every child tag is closed an PaintException is raised.
|
Substitutes the XML sensitive characters with predefined XML entities.
|
Substitutes the XML sensitive characters with predefined XML entities.
|
Escapes the given string so it can safely be used as a JSON string.
|
Substitutes a XML sensitive character with predefined XML entity.
|
Prints XML-escaped text.
|
Adds a boolean attribute to component. Attributes must be added before any content is written.
|
Adds details about The urls in UIDL message may use Muntjac specific protocol. Before
actually using the urls on the client side, they should be passed via
Note that in current terminal implementation StreamVariables are cleaned from the terminal only when:
Most commonly a component developer can just ignore this issue, but with strict memory requirements and lots of StreamVariables implementations that reserve a lot of memory this may be a critical issue.
|
Adds a upload stream type variable.
|
Prints the single text section. Prints full text section. The section data is escaped
|
Adds XML directly to UIDL.
|
Adds XML section with namespace.
See Also: IPaintTarget.addXMLSection |
Gets the UIDL already printed to stream. Paint target must be closed
before the
|
Closes the paint target. Paint target must be closed before the
|
Paints a component reference as an attribute to current tag. This method is meant to enable component interactions on client side. With reference the client side component can communicate directly to other component. Note! This was experimental api and got replaced by addAttribute.
|
Adds CDATA node to target UIDL-tree.
|
Method to check if paintable is already painted into this target.
|
|
@see
|
|
_json_map
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Jul 6 13:40:53 2013 | http://epydoc.sourceforge.net |