Package anvil.core

Examples of anvil.core.AnyBindingEnumeration


 
  public Generator(Context context, Module script, AnyClass self, Function function, int maxlocals, int line)
  {
    super(script, self, function, maxlocals, line, true);
    _escape     = context.consumeEscape();
    _wrapper    = new AnyBindingEnumeration(this);
    _dispatcher = ((FunctionBase)_function).getGeneratorDispatcher(context);
  }
View Full Code Here


  /// Retrieves an enumeration of the attribute's values.
  /// @synopsis enumeration getAll()
  public Any m_getAll(anvil.script.Context context)
  {
    try {
      return new AnyBindingEnumeration(
        new IndexedEnumeration(_attribute.getAll()));
    } catch (NamingException e) {
      throw context.exception(e);
    }
  }
View Full Code Here

  /// @synopsis enumeration dims()
  /// @throws OperationFailed If an error occurred
  public Any m_dims(Context context, Any[] parameters)
  {
    try {
      return new AnyBindingEnumeration(
        new IndexedEnumeration(_synapse.getDimensions()));
    } catch (OperationFailedException e)  {
      throw context.exception(e);
    }
  }
View Full Code Here

  /// @method listPermissions
  /// Returns enumeration of permissions held by this citizen.
  /// @synopsis enumeration listPermissions()
  public Any m_listPermissions()
  {
    return new AnyBindingEnumeration(_citizen.listPermissions());
  }
View Full Code Here

  /// @method listPermissions
  /// Returns enumeration of permissions held by this tribe.
  /// @synopsis enumeration listPermissions()
  public Any m_listPermissions()
  {
    return new AnyBindingEnumeration(_tribe.listPermissions());
  }
View Full Code Here

  /// @method getAll
  /// Returns the enumeration of Attributes in this set.
  /// @synopsis enumeration getAll()
  public Any m_getAll(anvil.script.Context context, Any[] parameters)
  {
    return new AnyBindingEnumeration(
      new IndexedEnumeration(_attributes.getAll()));
  }
View Full Code Here

  /// @method getIDs
  /// Returns the numeration of ID's from this set.
  /// @synopsis enumeration getIDs()
  public Any m_getIDs(anvil.script.Context context, Any[] parameters)
  {
    return new AnyBindingEnumeration(
      new IndexedEnumeration(_attributes.getIDs()));
  }
View Full Code Here

TOP

Related Classes of anvil.core.AnyBindingEnumeration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.