1 19 package org.netbeans.modules.xslt.model.impl; 20 21 import org.netbeans.modules.xslt.model.Namespace; 22 import org.netbeans.modules.xslt.model.XslComponent; 23 import org.netbeans.modules.xslt.model.XslVisitor; 24 import org.w3c.dom.Element ; 25 26 27 31 class NamespaceImpl extends NameableSequenceElementConstructor implements Namespace { 32 33 NamespaceImpl( XslModelImpl model, Element element ) { 34 super( model , element ); 35 } 36 37 NamespaceImpl( XslModelImpl model ) { 38 super( model , XslElements.NAMESPACE ); 39 } 40 41 44 @Override 45 public void accept( XslVisitor visitor ) 46 { 47 visitor.visit( this ); 48 } 49 50 53 @Override 54 public Class <? extends XslComponent> getComponentType() 55 { 56 return Namespace.class; 57 } 58 59 } 60 | Popular Tags |