All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.idpf.epubcheck.util.saxon.Int64ValueSequence Maven / Gradle / Ivy

Go to download

EPUBCheck is a tool to validate the conformance of EPUB publications against the EPUB specifications. EPUBCheck can be run as a standalone command-line tool or used as a Java library.

There is a newer version: 5.1.0
Show newest version
package org.idpf.epubcheck.util.saxon;

import net.sf.saxon.om.Item;
import net.sf.saxon.om.Sequence;
import net.sf.saxon.om.SequenceIterator;
import net.sf.saxon.trans.XPathException;
import net.sf.saxon.value.Int64Value;

class Int64ValueSequence implements Sequence
{
  private Int64Value item;

  public Int64ValueSequence(Int64Value item)
  {
    this.item = item;
  }

  public Item head()
  {
    return item;
  }

  @Override
  public SequenceIterator iterate() throws
      XPathException
  {
    return item.iterate();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy