/**
 * * Licensed under the Apache License, Version 2.0 (the 'License');
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an 'AS IS' BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Generated by Apache Flex Cross-Compiler from org/apache/flex/svg/DOMWrapper.as
 * org.apache.flex.svg.DOMWrapper
 *
 * @fileoverview
 *
 * @suppress {checkTypes|accessControls}
 */

goog.provide('org.apache.flex.svg.DOMWrapper');

goog.require('org.apache.flex.core.ContainerBase');
goog.require('org.apache.flex.utils.Language');



/**
 * Constructor
 *
 * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
 * @constructor
 * @extends {org.apache.flex.core.ContainerBase}
 */
org.apache.flex.svg.DOMWrapper = function() {
  org.apache.flex.svg.DOMWrapper.base(this, 'constructor');
};
goog.inherits(org.apache.flex.svg.DOMWrapper, org.apache.flex.core.ContainerBase);


/**
 * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
 * @protected
 * @override
 */
org.apache.flex.svg.DOMWrapper.prototype.createElement = function() {
  this.element = document.createElementNS('http://www.w3.org/2000/svg', 'foreignObject');
  this.element.flexjs_wrapper = this;
  this.element.style.left = 0;
  this.element.style.top = 0;
  this.positioner = this.element;
  this.positioner.style.position = 'relative';
  return this.element;
};


/**
 * Metadata
 *
 * @type {Object.<string, Array.<Object>>}
 */
org.apache.flex.svg.DOMWrapper.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'DOMWrapper', qName: 'org.apache.flex.svg.DOMWrapper'}] };


/**
 * Prevent renaming of class. Needed for reflection.
 */
goog.exportSymbol('org.apache.flex.svg.DOMWrapper', org.apache.flex.svg.DOMWrapper);



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.flex.svg.DOMWrapper.prototype.FLEXJS_REFLECTION_INFO = function () {
  return {
    variables: function () {
      return {
      };
    },
    accessors: function () {
      return {
      };
    },
    methods: function () {
      return {
        'DOMWrapper': { type: '', declaredBy: 'org.apache.flex.svg.DOMWrapper'}
      };
    }
  };
};