gnu.xml.dom
Class Consumer
- EventConsumer
Event consumer which constructs DOM documents using the implementation
in this package, using SAX2 events. This packages various backdoors
into this DOM implementation, as needed to address DOM requirements
that can't be met by strictly conforming implementations of DOM.
These requirements all relate to
DocumentType
nodes and
features of that node type. These features are normally not used,
because that interface only exposes a subset of the information found
in DTDs. More, that subset does not include the most important typing
information. For example, it excludes element content models and
attribute typing. It does expose some entity management issues,
although entity management doesn't relate to document typing.
Note that SAX2 does not expose the literal text of the DTD's
internal subset, so it will not be present in DOM trees constructed
using this API. (Though with a good SAX2 implementation, it could
be partially recreated...)
Consumer() - Constructs an unconfigured event consumer,
as a terminus in a SAX event pipeline.
|
Consumer(EventConsumer next) - Constructs an unconfigured event consumer,
as a stage in a SAX event pipeline.
|
getContentHandler , getDTDHandler , getDocument , getProperty , isHidingCDATA , isHidingComments , isHidingReferences , isHidingWhitespace , setErrorHandler , setHandler , setHidingCDATA , setHidingComments , setHidingReferences , setHidingWhitespace |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
Consumer
public Consumer()
throws SAXException
Constructs an unconfigured event consumer,
as a terminus in a SAX event pipeline.
Consumer.java --
Copyright (C) 2001,2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module. An independent module is a module which is not derived from
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version.