Sha256: 932a657eacf8a576c79001db522dd887de24adec4b8e23d08d003218f4e497ec

Contents?: true

Size: 990 Bytes

Versions: 23

Compression:

Stored size: 990 Bytes

Contents

package nokogiri;

import org.jruby.Ruby;
import org.jruby.RubyClass;
import org.jruby.anno.JRubyClass;
import org.jruby.runtime.ThreadContext;
import org.jruby.runtime.builtin.IRubyObject;
import org.w3c.dom.Element;
import org.w3c.dom.Node;

import nokogiri.internals.SaveContextVisitor;

/**
 * Class for Nokogiri::XML::Element
 *
 * @author sergio
 * @author Yoko Harada <yokolet@gamil.com>
 */
@JRubyClass(name = "Nokogiri::XML::Element", parent = "Nokogiri::XML::Node")
public class XmlElement extends XmlNode
{
  private static final long serialVersionUID = 1L;

  public
  XmlElement(Ruby runtime, RubyClass klazz)
  {
    super(runtime, klazz);
  }

  public
  XmlElement(Ruby runtime, RubyClass klazz, Node element)
  {
    super(runtime, klazz, element);
  }

  @Override
  public void
  accept(ThreadContext context, SaveContextVisitor visitor)
  {
    visitor.enter((Element) node);
    acceptChildren(context, getChildren(), visitor);
    visitor.leave((Element) node);
  }
}

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
nokogiri-1.16.7-java ext/java/nokogiri/XmlElement.java
nokogiri-1.16.6-java ext/java/nokogiri/XmlElement.java
nokogiri-1.16.4-java ext/java/nokogiri/XmlElement.java
nokogiri-1.15.6-java ext/java/nokogiri/XmlElement.java
nokogiri-1.16.3-java ext/java/nokogiri/XmlElement.java
nokogiri-1.16.2-java ext/java/nokogiri/XmlElement.java
nokogiri-1.16.1-java ext/java/nokogiri/XmlElement.java
nokogiri-1.16.0-java ext/java/nokogiri/XmlElement.java
nokogiri-1.16.0.rc1-java ext/java/nokogiri/XmlElement.java
Nokogiri_precompiled_aarch64_dedshit-1.14.5 ext/java/nokogiri/XmlElement.java
nokogiri-1.15.5-java ext/java/nokogiri/XmlElement.java
nokogiri-1.15.4-java ext/java/nokogiri/XmlElement.java
nokogiri-1.15.3-java ext/java/nokogiri/XmlElement.java
nokogiri-1.15.2-java ext/java/nokogiri/XmlElement.java
nokogiri-1.14.5-java ext/java/nokogiri/XmlElement.java
nokogiri-1.15.1-java ext/java/nokogiri/XmlElement.java
nokogiri-1.15.0-java ext/java/nokogiri/XmlElement.java
nokogiri-1.14.4-java ext/java/nokogiri/XmlElement.java
nokogiri-1.14.3-java ext/java/nokogiri/XmlElement.java
nokogiri-1.14.2-java ext/java/nokogiri/XmlElement.java