1 19 20 package org.netbeans.modules.xml.schema.model.impl; 21 22 import org.netbeans.modules.xml.schema.model.AttributeReference; 23 import org.netbeans.modules.xml.schema.model.Attribute.Use; 24 import org.netbeans.modules.xml.schema.model.SchemaComponent; 25 import org.netbeans.modules.xml.schema.model.visitor.SchemaVisitor; 26 import org.w3c.dom.Element ; 27 28 31 public class AttributeReferenceImpl extends LocalAttributeBaseImpl 32 implements AttributeReference { 33 34 37 public AttributeReferenceImpl(SchemaModelImpl model) { 38 super(model,createNewComponent(SchemaElements.ATTRIBUTE, model)); 39 } 40 41 44 public AttributeReferenceImpl(SchemaModelImpl model, Element e) { 45 super(model,e); 46 } 47 48 52 public Class <? extends SchemaComponent> getComponentType() { 53 return AttributeReference.class; 54 } 55 56 public void accept(SchemaVisitor visitor) { 57 visitor.visit(this); 58 } 59 } 60 | Popular Tags |