public final class XeMillis extends Object implements XeSource
Add this Xembly source to your page like this:
new RsXembly( new XeStylesheet("/xsl/home.xsl"), new XeAppend( "page", new XeMillis(), // some other Xembly elements new XeMillis(true) ) )
And expect this attribute in the XML:
<?xml version="1.0"?> <?xml-stylesheet href="/xsl/home.xsl" type="text/xsl"?> <page> <millis>3.675</millis> </page>
The class is immutable and thread-safe.
Constructor and Description |
---|
XeMillis()
Ctor.
|
XeMillis(boolean fin)
Ctor.
|
XeMillis(CharSequence elm,
boolean fin)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Iterable<org.xembly.Directive> |
toXembly()
Get Xembly directives.
|
public XeMillis()
public XeMillis(boolean fin)
fin
- Is it the finish?public XeMillis(CharSequence elm, boolean fin)
elm
- Element namefin
- Is it the finish?Copyright © 2015–2018 Take. All rights reserved.