1 19 20 package org.netbeans.modules.xml.schema.model.impl; 21 22 import org.netbeans.modules.xml.schema.model.FractionDigits; 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 FractionDigitsImpl extends CommonLength implements FractionDigits { 32 33 public FractionDigitsImpl(SchemaModelImpl model) { 34 this(model,createNewComponent(SchemaElements.FRACTION_DIGITS,model)); 35 } 36 37 38 public FractionDigitsImpl(SchemaModelImpl model, Element e) { 39 super(model, e); 40 } 41 42 46 public Class <? extends SchemaComponent> getComponentType() { 47 return FractionDigits.class; 48 } 49 50 public String getComponentName() { 51 return SchemaElements.FRACTION_DIGITS.getName(); 52 } 53 54 public void accept(SchemaVisitor visitor) { 55 visitor.visit(this); 56 } 57 58 } 59 | Popular Tags |