1 19 20 package org.netbeans.modules.xml.schema.model.impl; 21 22 import org.netbeans.modules.xml.schema.model.Form; 23 import org.netbeans.modules.xml.schema.model.GlobalAttribute; 24 import org.netbeans.modules.xml.schema.model.LocalAttribute; 25 import org.netbeans.modules.xml.schema.model.Attribute.Use; 26 import org.netbeans.modules.xml.schema.model.SchemaComponent; 27 import org.netbeans.modules.xml.schema.model.visitor.SchemaVisitor; 28 import org.netbeans.modules.xml.xam.dom.NamedComponentReference; 29 import org.w3c.dom.Element ; 30 31 34 public class LocalAttributeImpl extends LocalAttributeBaseImpl 35 implements LocalAttribute { 36 37 40 public LocalAttributeImpl(SchemaModelImpl model) { 41 super(model,createNewComponent(SchemaElements.ATTRIBUTE, model)); 42 } 43 44 47 public LocalAttributeImpl(SchemaModelImpl model, Element e) { 48 super(model,e); 49 } 50 51 55 public Class <? extends SchemaComponent> getComponentType() { 56 return LocalAttribute.class; 57 } 58 59 62 public void accept(SchemaVisitor visitor) { 63 visitor.visit(this); 64 } 65 } 66 | Popular Tags |