public final class Snapshot extends Object
Constructor and Description |
---|
Snapshot(InputStream stream)
Public ctor.
|
Snapshot(Iterable<org.xembly.Directive> dirs)
Public ctor.
|
Snapshot(String script)
Public ctor.
|
public Snapshot(InputStream stream) throws IOException, org.xembly.SyntaxException
stream
- Stream to read it fromIOException
- If fails to readorg.xembly.SyntaxException
- If some syntax exception insidepublic Snapshot(String script) throws org.xembly.SyntaxException
script
- Scriptorg.xembly.SyntaxException
- If can't parsepublic Snapshot(Iterable<org.xembly.Directive> dirs)
dirs
- Directivespublic String xembly()
public com.jcabi.xml.XML xml() throws XemblyException
XemblyException
- If can't applypublic Collection<Tag> tags() throws XemblyException
XemblyException
- If failspublic Tag tag(com.jcabi.xml.XML node)
node
- The nodeCopyright © 2009–2014 Rultor Inc.. All rights reserved.