
org.eclipse.xsd.impl.XSDAttributeGroupContentImpl Maven / Gradle / Ivy
The newest version!
/**
* Copyright (c) 2002-2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM - Initial API and implementation
*/
package org.eclipse.xsd.impl;
import org.w3c.dom.Node;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.xsd.XSDAttributeGroupContent;
import org.eclipse.xsd.XSDPackage;
import org.eclipse.xsd.util.XSDConstants;
/**
*
* An implementation of the model object 'Attribute Group Content'.
*
*
* @generated
*/
public abstract class XSDAttributeGroupContentImpl
extends XSDConcreteComponentImpl
implements XSDAttributeGroupContent
{
public static XSDAttributeGroupContent createAttributeGroupContent(Node node)
{
switch (XSDConstants.nodeType(node))
{
case XSDConstants.ATTRIBUTE_ELEMENT:
{
return XSDAttributeUseImpl.createAttributeUse(node);
}
case XSDConstants.ATTRIBUTEGROUP_ELEMENT:
{
return XSDAttributeGroupDefinitionImpl.createAttributeGroupDefinition(node);
}
}
return null;
}
/**
*
*
* @generated
*/
protected XSDAttributeGroupContentImpl()
{
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass()
{
return XSDPackage.Literals.XSD_ATTRIBUTE_GROUP_CONTENT;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy