1 19 20 package org.netbeans.modules.xml.schema.model.impl; 21 22 import org.netbeans.modules.xml.schema.model.*; 23 import org.netbeans.modules.xml.schema.model.visitor.SchemaVisitor; 24 import org.w3c.dom.Element ; 25 26 30 public class GlobalAttributeImpl extends CommonAttributeImpl 31 implements GlobalAttribute { 32 public GlobalAttributeImpl(SchemaModelImpl model) { 33 this(model,createNewComponent(SchemaElements.ATTRIBUTE,model)); 34 } 35 36 public GlobalAttributeImpl(SchemaModelImpl model, Element e) { 37 super(model,e); 38 } 39 40 44 public Class <? extends SchemaComponent> getComponentType() { 45 return GlobalAttribute.class; 46 } 47 48 public void accept(SchemaVisitor v) { 49 v.visit(this); 50 } 51 52 } 53 | Popular Tags |