1 19 package org.netbeans.modules.xslt.model.impl; 20 21 import org.netbeans.modules.xml.schema.model.GlobalType; 22 import org.netbeans.modules.xml.xam.Reference; 23 import org.netbeans.modules.xslt.model.enums.TBoolean; 24 import org.netbeans.modules.xslt.model.enums.Validation; 25 import org.w3c.dom.Element ; 26 27 31 abstract class ValidationCopyNsSpecImpl extends SequenceElementImpl { 32 33 ValidationCopyNsSpecImpl( XslModelImpl model, Element e ) { 34 super(model, e); 35 } 36 37 ValidationCopyNsSpecImpl( XslModelImpl model , XslElements type ){ 38 super( model , type ); 39 } 40 41 44 public TBoolean getCopyNamespeces() { 45 return TBoolean.forString( getAttribute( XslAttributes.COPY_NAMESPACES) ); 46 } 47 48 51 public void setCopyNamespeces( TBoolean value ) { 52 setAttribute( XslAttributes.COPY_NAMESPACES, value); 53 } 54 55 58 public Validation getValidation() { 59 return Validation.forString( getAttribute( XslAttributes.VALIDATION )); 60 } 61 62 65 public void setValidation( Validation validation ) { 66 setAttribute( XslAttributes.VALIDATION, validation ); 67 } 68 69 72 public Reference<GlobalType> getType() { 73 return null; 75 } 76 77 80 public void setType( Reference<GlobalType> type ) { 81 83 } 84 85 } | Popular Tags |