Module org.htmlunit

Class URLSearchParams.NativeParamsIterator

java.lang.Object
org.htmlunit.corejs.javascript.SlotMapOwner<org.htmlunit.corejs.javascript.Scriptable>
org.htmlunit.corejs.javascript.ScriptableObject
org.htmlunit.corejs.javascript.ES6Iterator
org.htmlunit.javascript.host.URLSearchParams.NativeParamsIterator
All Implemented Interfaces:
Serializable, org.htmlunit.corejs.javascript.ConstProperties<org.htmlunit.corejs.javascript.Scriptable>, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.PropHolder<org.htmlunit.corejs.javascript.Scriptable>, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable
Enclosing class:
URLSearchParams

public static final class URLSearchParams.NativeParamsIterator extends org.htmlunit.corejs.javascript.ES6Iterator
ES6Iterator implementation for JavaScript support.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.htmlunit.corejs.javascript.ScriptableObject

    org.htmlunit.corejs.javascript.ScriptableObject.DescriptorInfo, org.htmlunit.corejs.javascript.ScriptableObject.KeyComparator, org.htmlunit.corejs.javascript.ScriptableObject.LambdaGetterFunction, org.htmlunit.corejs.javascript.ScriptableObject.LambdaSetterFunction
  • Field Summary

    Fields inherited from class org.htmlunit.corejs.javascript.ES6Iterator

    DONE_PROPERTY, exhausted, NEXT_METHOD, RETURN_METHOD, RETURN_PROPERTY, VALUE_PROPERTY

    Fields inherited from class org.htmlunit.corejs.javascript.ScriptableObject

    CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST

    Fields inherited from class org.htmlunit.corejs.javascript.SlotMapOwner

    isSealed

    Fields inherited from interface org.htmlunit.corejs.javascript.Scriptable

    NOT_FOUND
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an empty instance (used for prototype initialization).
    NativeParamsIterator(org.htmlunit.corejs.javascript.VarScope scope, String className, org.htmlunit.javascript.host.URLSearchParams.NativeParamsIterator.Type type, Iterator<NameValuePair> iterator)
    Creates an instance backed by the given iterator.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    static void
    init(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.TopLevel scope, String className)
    Initializes the iterator prototype.
    protected boolean
    isDone(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.VarScope scope)
     
    protected Object
    nextValue(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.VarScope scope)
     

    Methods inherited from class org.htmlunit.corejs.javascript.ES6Iterator

    getTag, initialize, makeDescriptor, next

    Methods inherited from class org.htmlunit.corejs.javascript.ScriptableObject

    applyDescriptorToAttributeBitset, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkNotSealed, checkPropertyChangeForSlot, checkPropertyChangeForSlot, checkPropertyDefinition, checkPropertyDefinition, checkSlotRemoval, defineBuiltinProperty, defineBuiltinProperty, defineBuiltInProperty, defineBuiltInProperty, defineBuiltInProperty, defineBuiltInProperty, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureScriptableObjectButNotSymbol, ensureSymbolScriptable, ensureType, equivalentValues, get, get, getAllIds, getAncestor, getArrayPrototype, getClassPrototype, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSuperProperty, getSuperProperty, getSuperProperty, getThis, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, hasInstance, hasProperty, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGenericDescriptor, isGetterOrSetter, isGetterOrSetter, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putConstProperty, putOwnProperty, putOwnProperty, putOwnProperty, putProperty, putProperty, putProperty, putProperty, putSuperProperty, putSuperProperty, putSuperProperty, querySlot, redefineProperty, redefineProperty, sameValue, sealObject, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size

    Methods inherited from class org.htmlunit.corejs.javascript.SlotMapOwner

    associateValue, checkNotSealed, copyAssociatedValue, createSlotMap, defineProperty, defineProperty, get, get, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getIds, has, has, isSealed, readMaps, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, writeMaps

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.htmlunit.corejs.javascript.Scriptable

    get, get, getIds, has, has

    Methods inherited from interface org.htmlunit.corejs.javascript.SymbolScriptable

    get, has
  • Constructor Details

    • NativeParamsIterator

      public NativeParamsIterator(String className)
      Creates an empty instance (used for prototype initialization).
      Parameters:
      className - the class name
    • NativeParamsIterator

      public NativeParamsIterator(org.htmlunit.corejs.javascript.VarScope scope, String className, org.htmlunit.javascript.host.URLSearchParams.NativeParamsIterator.Type type, Iterator<NameValuePair> iterator)
      Creates an instance backed by the given iterator.
      Parameters:
      scope - the scope
      className - the class name
      type - the iteration type (keys, values, or both)
      iterator - the backing iterator
  • Method Details

    • init

      public static void init(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.TopLevel scope, String className)
      Initializes the iterator prototype.
      Parameters:
      cx - the Context
      scope - the scope
      className - the class name
    • getClassName

      public String getClassName()
      Specified by:
      getClassName in interface org.htmlunit.corejs.javascript.Scriptable
      Specified by:
      getClassName in class org.htmlunit.corejs.javascript.ScriptableObject
    • isDone

      protected boolean isDone(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.VarScope scope)
      Specified by:
      isDone in class org.htmlunit.corejs.javascript.ES6Iterator
    • nextValue

      protected Object nextValue(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.VarScope scope)
      Specified by:
      nextValue in class org.htmlunit.corejs.javascript.ES6Iterator