aboutsummaryrefslogtreecommitdiffstats
path: root/test/java/org/apache/fop/fotreetest/ext/TestObj.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/java/org/apache/fop/fotreetest/ext/TestObj.java')
-rw-r--r--test/java/org/apache/fop/fotreetest/ext/TestObj.java44
1 files changed, 44 insertions, 0 deletions
diff --git a/test/java/org/apache/fop/fotreetest/ext/TestObj.java b/test/java/org/apache/fop/fotreetest/ext/TestObj.java
new file mode 100644
index 000000000..245f81b5d
--- /dev/null
+++ b/test/java/org/apache/fop/fotreetest/ext/TestObj.java
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/* $Id$ */
+
+package org.apache.fop.fotreetest.ext;
+
+// FOP
+import org.apache.fop.fo.FONode;
+import org.apache.fop.fo.FObj;
+
+/**
+ * Catch all FOP Test objects as default element.
+ */
+public class TestObj extends FObj {
+
+ /**
+ * @see org.apache.fop.fo.FONode#FONode(FONode)
+ */
+ public TestObj(FONode parent) {
+ super(parent);
+ }
+
+ /**
+ * @see org.apache.fop.fo.XMLObj#getNameSpace()
+ */
+ public String getNameSpace() {
+ return TestElementMapping.NAMESPACE;
+ }
+}
+