org.melati.template
Class WMLAttributeMarkupLanguage
java.lang.Object
org.melati.template.AbstractMarkupLanguage
org.melati.template.HTMLLikeMarkupLanguage
org.melati.template.WMLMarkupLanguage
org.melati.template.WMLAttributeMarkupLanguage
- All Implemented Interfaces:
- AttributeMarkupLanguage, MarkupLanguage
public class WMLAttributeMarkupLanguage
- extends WMLMarkupLanguage
- implements MarkupLanguage, AttributeMarkupLanguage
A WML based markup language suitable for markup within an attribute tag.
WML has same entities as HTML.
Methods inherited from class org.melati.template.AbstractMarkupLanguage |
expandTemplet, getName, input, input, inputAs, render, render, render, render, rendered, rendered, rendered, rendered, renderedMarkup, renderedStart, renderStart, searchInput, toString |
Methods inherited from interface org.melati.template.MarkupLanguage |
decoded, encoded, escaped, escaped, getAttr, getName, input, inputAs, rendered, rendered, rendered, rendered, renderedMarkup, renderedStart, searchInput |
WMLAttributeMarkupLanguage
public WMLAttributeMarkupLanguage(WMLMarkupLanguage wml)
- Constructor from a normal MarkupLanguage.
- Parameters:
wml
- the WMLMarkupLanguage to be based upon
rendered
public String rendered(AccessPoemException e)
- AccessPoemException is handled differently in an Attribute
than it is in the main body of a page.
AccessPoemException is treated differently in an Atribute than
in the main body of a page.
- Specified by:
rendered
in interface AttributeMarkupLanguage
- Parameters:
e
- an Exception to render
- Returns:
- a String representation of the Exception
- See Also:
(org.melati.poem.AccessPoemException)
render
protected void render(Object o,
MelatiWriter writer)
- Attribute markup languages do not have templets, so don't look for one.
Render an Object in a MarkupLanguage specific way, rendering to
a supplied Writer.
NOTE The context always contains objects with the names melati, object and ml
- Overrides:
render
in class AbstractMarkupLanguage
- Parameters:
o
- - the Object to be renderedwriter
- - the MelatiWriter to render this Object to- See Also:
AbstractMarkupLanguage.render(java.lang.Object, org.melati.util.MelatiWriter)
Copyright © 2000-2010 PanEris. All Rights Reserved.