Class DefineNamespacePrefixToken
java.lang.Object
org.apache.tapestry5.ioc.BaseLocatable
org.apache.tapestry5.internal.parser.TemplateToken
org.apache.tapestry5.internal.parser.DefineNamespacePrefixToken
- All Implemented Interfaces:
Locatable,RenderCommand
A token from a template that defines a namespace prefix. This will always follow a
StartComponentToken or StartElementToken
(and come before AttributeToken) and applies to the component or
element.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefineNamespacePrefixToken(String namespaceURI, String namespacePrefix, Location location) -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(MarkupWriter writer, RenderQueue queue) Invoked on an object to request that it render itself.toString()Methods inherited from class org.apache.tapestry5.internal.parser.TemplateToken
getTokenTypeMethods inherited from class org.apache.tapestry5.ioc.BaseLocatable
getLocation
-
Field Details
-
namespaceURI
-
namespacePrefix
-
-
Constructor Details
-
DefineNamespacePrefixToken
-
-
Method Details
-
toString
-
render
Description copied from interface:RenderCommandInvoked on an object to request that it render itself. This involves a mix of invoking methods on the writer, and queueing up additional commands (often, representing children of the object that was invoked) to perform additional rendering. In this way, rendering is a tail recursive algorithm, but is not implemented using tail recursion.- Specified by:
renderin interfaceRenderCommand
-