1 19 20 package org.netbeans.modules.xml.schema.model.impl; 21 22 import org.netbeans.modules.xml.schema.model.LocalComplexType; 23 import org.netbeans.modules.xml.schema.model.SchemaComponent; 24 import org.netbeans.modules.xml.schema.model.visitor.SchemaVisitor; 25 import org.w3c.dom.Element ; 26 27 31 public class LocalComplexTypeImpl extends CommonComplexTypeImpl implements LocalComplexType{ 32 33 36 protected LocalComplexTypeImpl(SchemaModelImpl model) { 37 this(model, createNewComponent(SchemaElements.COMPLEX_TYPE, model)); 38 } 39 40 public LocalComplexTypeImpl(SchemaModelImpl model, Element el){ 41 super(model,el); 42 } 43 44 48 public Class <? extends SchemaComponent> getComponentType() { 49 return LocalComplexType.class; 50 } 51 52 public void accept(SchemaVisitor visitor) { 53 visitor.visit(this); 54 } 55 } 56 | Popular Tags |