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 AnyAttributeImpl extends CommonAnyImpl implements AnyAttribute { 31 public AnyAttributeImpl(SchemaModelImpl model) { 32 this(model,createNewComponent(SchemaElements.ANY_ATTRIBUTE,model)); 33 } 34 35 public AnyAttributeImpl(SchemaModelImpl model, Element e) { 36 super(model, e); 37 } 38 39 43 public Class <? extends SchemaComponent> getComponentType() { 44 return AnyAttribute.class; 45 } 46 47 public void accept(SchemaVisitor v) { 48 v.visit(this); 49 } 50 } 51 | Popular Tags |