From 5d37e0e3154fa0f4448306dfb409ed648cdf6777 Mon Sep 17 00:00:00 2001 From: buraq Date: Wed, 29 Sep 2004 12:36:12 +0000 Subject: rmoved --- sources/scala/xml/NodeFactory.scala | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 sources/scala/xml/NodeFactory.scala (limited to 'sources') diff --git a/sources/scala/xml/NodeFactory.scala b/sources/scala/xml/NodeFactory.scala deleted file mode 100644 index 25b6782228..0000000000 --- a/sources/scala/xml/NodeFactory.scala +++ /dev/null @@ -1,26 +0,0 @@ -/* __ *\ -** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2003-2004, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** -** /____/\___/_/ |_/____/_/ | | ** -** |/ ** -** $Id$ -\* */ -package scala.xml ; - -abstract class NodeFactory { - - val config:NodeFactoryConfig ; - - def makeNode( elemName:String, attribs:Map[String,String], chIter:Seq[Node] ):Node; - - def makeText( s:String ) = Text( s ); - def makeComment( s:String ):Seq[Comment] = - if(config.ignoreComments) Nil else List( Comment( s ) ); - def makeProcInstr( t:String, s:String ) = ProcInstr( t, s ); - def makeCharData( s:String ) = CharData( s ); - -} - - -case class NodeFactoryConfig(ignoreComments:boolean,namespace:Namespace ) ; -- cgit v1.2.3