Package org.eolang.opeo.storage
Class XmirEntry
- java.lang.Object
-
- org.eolang.opeo.storage.XmirEntry
-
public final class XmirEntry extends Object
Xmir with package.- Since:
- 0.2
-
-
Constructor Detail
-
XmirEntry
public XmirEntry(org.cactoos.Input input, String pckg)
Constructor.- Parameters:
input
- Input.pckg
- Package name.
-
XmirEntry
public XmirEntry(org.cactoos.scalar.Unchecked<com.jcabi.xml.XML> xml, String pckg)
Constructor.- Parameters:
xml
- Lazy XML.pckg
- Package name.
-
-
Method Detail
-
transform
public XmirEntry transform(Function<? super com.jcabi.xml.XML,? extends com.jcabi.xml.XML> transformer)
Transform XMIR.- Parameters:
transformer
- Function to transform XMIR.- Returns:
- Transformed XMIR.
-
xpath
public List<String> xpath(String query)
Apply XPath query.- Parameters:
query
- XPath query.- Returns:
- List of strings returned by query.
-
relative
public String relative()
Package name.- Returns:
- Package name (relative path).
-
-