public final class XeMillis extends Object implements XeSource
Add this Xembly source to your page like this:
new RsXembly( new XsStylesheet("/xsl/home.xsl"), new XsAppend( "page", new XsMillis() ) )
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(boolean fin)
Ctor.
|
XeMillis(CharSequence elm,
boolean fin)
Ctor.
|
public XeMillis(boolean fin)
fin
- Is it the finish?public XeMillis(CharSequence elm, boolean fin)
elm
- Element namefin
- Is it the finish?Copyright © 2015–2017 Take. All rights reserved.