Schema component which represents an XML doctype declaration (and possibly its SGML counterpart). SchemaParser creates these out of <doctype> elements.
In GXP each doctype has a name which is used to refer to the doctype. There are two places these names can be referenced:
AttributeValidators are retrieved via {@link ElementValidator#getDocType(String)}.
This is immutable as it is intended to be shared by multiple documents.
Warning: This is a facade provided for use by user code, not for implementation by user code. User implementations of this interface are highly likely to be incompatible with future releases of the product at both binary and source levels.
Represents an XML document type declaration such as <!DOCTYPE book SYSTEM "docbookx.dtd">
. Note that this is not the same thing as a document type definition (DTD). XOM does not currently model the DTD. The document type declaration contains or points to the DTD, but it is not the DTD.
A DocType
object does not have any child nodes. It can be a child of a Document
.
Each DocType
object has four String
properties, some of which may be null:
DocType
class encapsulates informations regarding the document type public and system IDs and root element name.
@author Pier Fumagalli, February 2003
@version CVS $Id: DocType.java,v 1.2 2004/04/30 19:34:46 pier Exp $
DocType
class encapsulates informations regarding the document type public and system IDs and root element name.
@author Pier Fumagalli, February 2003
@version CVS $Id: DocType.java,v 1.3 2004/03/24 18:54:23 joerg Exp $
Models a DOCTYPE declaration in an XML-based template document.
Objects of this class contain both the original PUBLICID and SYSTEMID, and also a processed version of both, which can be the result of applying DOCTYPE translations.
@author Daniel Fernández @since 2.0.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|