package org.apache.fop.fo;
/**
- * Class for handling an unknown element, for example one from an unsupported
- * namespace.
+ * Class for handling an unknown element from a namespace recognized
+ * by FOP.
* This prevents any further problems arising from the unknown
* data.
*/
public Unknown(FONode parent) {
super(parent);
}
-
- private void setup() {
- getLogger().debug("Layout Unknown element");
- }
}
+++ /dev/null
-/*
- * Copyright 1999-2004 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.fo;
-
-// XML
-import org.xml.sax.Attributes;
-import org.xml.sax.Locator;
-import org.xml.sax.SAXParseException;
-
-/**
- * class representing svg:svg pseudo flow object.
- */
-public class XMLElement extends XMLObj {
-
- private String namespace = "";
-
- /**
- * constructs an XML object (called by Maker).
- *
- * @param parent the parent formatting object
- */
- public XMLElement(FONode parent) {
- super(parent);
- }
-
- /**
- * @see org.apache.fop.fo.FONode#processNode
- */
- public void processNode(String elementName, Locator locator,
- Attributes attlist) throws SAXParseException {
- super.processNode(elementName, locator, attlist);
- init();
- }
-
- private void init() {
- createBasicDocument();
- }
-
- /**
- * Public accessor for the namespace.
- * @return the namespace for this element
- */
- public String getNameSpace() {
- return namespace;
- }
-}