1 /*
2 * Copyright 2007 - 2007 JEuclid, http://jeuclid.sf.net
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 /* $Id: JEuclidObj.java,v 8afef6dd0d58 2007/09/14 08:29:58 maxberger $ */
18
19 /*
20 * Please note: This file was originally taken from the Apache FOP project,
21 * available at http://xmlgraphics.apache.org/fop/ It is therefore
22 * partially copyright (c) 1999-2007 The Apache Software Foundation.
23 *
24 * Parts of the contents are heavily inspired by work done for Barcode4J by
25 * Jeremias Maerki, available at http://barcode4j.sf.net/
26 */
27
28 package net.sourceforge.jeuclid.fop;
29
30 // FOP
31 import net.sourceforge.jeuclid.elements.AbstractJEuclidElement;
32
33 import org.apache.fop.fo.FONode;
34 import org.apache.fop.fo.XMLObj;
35
36 /**
37 * Catch all MathML objects as default element.
38 *
39 * @version $Revision: 8afef6dd0d58 $
40 */
41 public class JEuclidObj extends XMLObj {
42
43 /**
44 * Default constructor.
45 *
46 * @param parent
47 * Parent node in FO Tree
48 */
49 public JEuclidObj(final FONode parent) {
50 super(parent);
51 }
52
53 /** {@inheritDoc} */
54 @Override
55 public String getNamespaceURI() {
56 return AbstractJEuclidElement.URI;
57 }
58
59 /** {@inheritDoc} */
60 @Override
61 public String getNormalNamespacePrefix() {
62 return "mathml";
63 }
64 }