Update of /var/cvs/speeltuin/ernst/tagfileparser/src/nl/vpro/tagfileparser/model
In directory james.mmbase.org:/tmp/cvs-serv12341/src/nl/vpro/tagfileparser/model
Modified Files:
AttributeDirective.java TagInfo.java NameSpace.java
TagDirective.java VariableDirective.java
Log Message:
werk in uitvoering
See also:
http://cvs.mmbase.org/viewcvs/speeltuin/ernst/tagfileparser/src/nl/vpro/tagfileparser/model
Index: AttributeDirective.java
===================================================================
RCS file:
/var/cvs/speeltuin/ernst/tagfileparser/src/nl/vpro/tagfileparser/model/AttributeDirective.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- AttributeDirective.java 23 Jun 2008 10:20:11 -0000 1.1
+++ AttributeDirective.java 9 Jul 2008 10:07:45 -0000 1.2
@@ -2,7 +2,7 @@
/**
* This class represents a attribute tag directive. it contains all relevant
data
- * @author ebunders
+ * @author Ernst Bunders
*
*/
public class AttributeDirective {
Index: TagInfo.java
===================================================================
RCS file:
/var/cvs/speeltuin/ernst/tagfileparser/src/nl/vpro/tagfileparser/model/TagInfo.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- TagInfo.java 23 Jun 2008 10:20:11 -0000 1.1
+++ TagInfo.java 9 Jul 2008 10:07:45 -0000 1.2
@@ -3,14 +3,12 @@
import java.util.ArrayList;
import java.util.List;
-import javax.swing.text.html.HTMLDocument.HTMLReader.TagAction;
-
import org.apache.commons.lang.StringUtils;
/**
* This bean contains all the information we want to know about a tag file.
*
- * @author ebunders
+ * @author Ernst Bunders
*
*/
public final class TagInfo {
Index: NameSpace.java
===================================================================
RCS file:
/var/cvs/speeltuin/ernst/tagfileparser/src/nl/vpro/tagfileparser/model/NameSpace.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- NameSpace.java 23 Jun 2008 10:20:11 -0000 1.1
+++ NameSpace.java 9 Jul 2008 10:07:45 -0000 1.2
@@ -3,13 +3,12 @@
import java.util.ArrayList;
import java.util.List;
-import javax.xml.stream.events.Namespace;
/**
* This class represents a namespace. It actually is a directory
* that dous or dous not contain tagfiles or child 'namespace' directories.
*
- * @author ebunders
+ * @author Ernst Bunders
*
*/
public final class NameSpace {
@@ -23,8 +22,18 @@
this.name = name;
}
- public void addChildNamespace(NameSpace namespace){
- chlidren.add(namespace);
+ /**
+ * use this constructor for the root namespace
+ * @param string
+ */
+ public NameSpace(String name) {
+ this.name = name;
+ this.parent = null;
+ }
+
+ public NameSpace addChildNamespace(NameSpace nameSpace){
+ chlidren.add(nameSpace);
+ return nameSpace;
}
public void addTagInfo(TagInfo tagInfo){
Index: TagDirective.java
===================================================================
RCS file:
/var/cvs/speeltuin/ernst/tagfileparser/src/nl/vpro/tagfileparser/model/TagDirective.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- TagDirective.java 23 Jun 2008 10:20:11 -0000 1.1
+++ TagDirective.java 9 Jul 2008 10:07:45 -0000 1.2
@@ -1,5 +1,9 @@
package nl.vpro.tagfileparser.model;
+/**
+ * @author Ernst Bunders
+ *
+ */
public class TagDirective {
private String displayName = null;
Index: VariableDirective.java
===================================================================
RCS file:
/var/cvs/speeltuin/ernst/tagfileparser/src/nl/vpro/tagfileparser/model/VariableDirective.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- VariableDirective.java 23 Jun 2008 10:20:11 -0000 1.1
+++ VariableDirective.java 9 Jul 2008 10:07:45 -0000 1.2
@@ -1,5 +1,9 @@
package nl.vpro.tagfileparser.model;
+/**
+ * @author Ernst Bunders
+ *
+ */
public class VariableDirective {
private String nameGiven = null;
private String nameFromAttribute = null;
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs