The representation of an SGML DTD. DTD describes a document syntax and is used in parsing of HTML documents. It contains a list of elements and their attributes as well as a list of entities defined in the DTD.
The representation of an SGML DTD. DTD describes a document syntax and is used in parsing of HTML documents. It contains a list of elements and their attributes as well as a list of entities defined in the DTD.
(*get-dtd name)
Returns a DTD with the specified name. If a DTD with that name doesn't exist, one is created and returned. Any uppercase characters in the name are converted to lowercase.
name - the name of the DTD - java.lang.String
returns: the DTD which corresponds to name - javax.swing.text.html.parser.DTD
throws: java.io.IOException
Returns a DTD with the specified name. If a DTD with that name doesn't exist, one is created and returned. Any uppercase characters in the name are converted to lowercase. name - the name of the DTD - `java.lang.String` returns: the DTD which corresponds to name - `javax.swing.text.html.parser.DTD` throws: java.io.IOException
(*put-dtd-hash name dtd)
name - java.lang.String
dtd - javax.swing.text.html.parser.DTD
name - `java.lang.String` dtd - `javax.swing.text.html.parser.DTD`
(applet this)
Instance Constant.
type: javax.swing.text.html.parser.Element
Instance Constant. type: javax.swing.text.html.parser.Element
(base this)
Instance Constant.
type: javax.swing.text.html.parser.Element
Instance Constant. type: javax.swing.text.html.parser.Element
(body this)
Instance Constant.
type: javax.swing.text.html.parser.Element
Instance Constant. type: javax.swing.text.html.parser.Element
(def-entity this name type ch)
Creates and returns a character Entity.
name - the entity's name - java.lang.String
type - int
ch - int
returns: the new character Entity - javax.swing.text.html.parser.Entity
Creates and returns a character Entity. name - the entity's name - `java.lang.String` type - `int` ch - `int` returns: the new character Entity - `javax.swing.text.html.parser.Entity`
(define-attributes this name atts)
Defines attributes for an Element.
name - the name of the Element - java.lang.String
atts - the AttributeList specifying the Element - javax.swing.text.html.parser.AttributeList
Defines attributes for an Element. name - the name of the Element - `java.lang.String` atts - the AttributeList specifying the Element - `javax.swing.text.html.parser.AttributeList`
(define-element this
name
type
omit-start
omit-end
content
exclusions
inclusions
atts)
Returns the Element which matches the specified parameters. If one doesn't exist, a new one is created and returned.
name - the name of the Element - java.lang.String
type - the type of the Element - int
omit-start - true if start should be omitted - boolean
omit-end - true if end should be omitted - boolean
content - the ContentModel - javax.swing.text.html.parser.ContentModel
exclusions - java.util.BitSet
inclusions - java.util.BitSet
atts - the AttributeList specifying the Element - javax.swing.text.html.parser.AttributeList
returns: the Element specified - javax.swing.text.html.parser.Element
Returns the Element which matches the specified parameters. If one doesn't exist, a new one is created and returned. name - the name of the Element - `java.lang.String` type - the type of the Element - `int` omit-start - true if start should be omitted - `boolean` omit-end - true if end should be omitted - `boolean` content - the ContentModel - `javax.swing.text.html.parser.ContentModel` exclusions - `java.util.BitSet` inclusions - `java.util.BitSet` atts - the AttributeList specifying the Element - `javax.swing.text.html.parser.AttributeList` returns: the Element specified - `javax.swing.text.html.parser.Element`
(define-entity this name type data)
Defines an entity. If the Entity specified by name, type, and data exists, it is returned; otherwise a new Entity is created and is returned.
name - the name of the Entity as a String - java.lang.String
type - the type of the Entity - int
data - the Entity's data - char[]
returns: the Entity requested or a new Entity
if not found - javax.swing.text.html.parser.Entity
Defines an entity. If the Entity specified by name, type, and data exists, it is returned; otherwise a new Entity is created and is returned. name - the name of the Entity as a String - `java.lang.String` type - the type of the Entity - `int` data - the Entity's data - `char[]` returns: the Entity requested or a new Entity if not found - `javax.swing.text.html.parser.Entity`
(element-hash this)
Instance Field.
type: java.util.Hashtable<java.lang.String,javax.swing.text.html.parser.Element>
Instance Field. type: java.util.Hashtable<java.lang.String,javax.swing.text.html.parser.Element>
(elements this)
Instance Field.
type: java.util.Vector<javax.swing.text.html.parser.Element>
Instance Field. type: java.util.Vector<javax.swing.text.html.parser.Element>
(entity-hash this)
Instance Field.
type: java.util.Hashtable<java.lang.Object,javax.swing.text.html.parser.Entity>
Instance Field. type: java.util.Hashtable<java.lang.Object,javax.swing.text.html.parser.Entity>
(get-element this name)
Gets an element by name. A new element is created if the element doesn't exist.
name - the requested String - java.lang.String
returns: the Element corresponding to
name, which may be newly created - javax.swing.text.html.parser.Element
Gets an element by name. A new element is created if the element doesn't exist. name - the requested String - `java.lang.String` returns: the Element corresponding to name, which may be newly created - `javax.swing.text.html.parser.Element`
(get-entity this name)
Gets an entity by name.
name - java.lang.String
returns: the Entity corresponding to the
name String - javax.swing.text.html.parser.Entity
Gets an entity by name. name - `java.lang.String` returns: the Entity corresponding to the name String - `javax.swing.text.html.parser.Entity`
(get-name this)
Gets the name of the DTD.
returns: the name of the DTD - java.lang.String
Gets the name of the DTD. returns: the name of the DTD - `java.lang.String`
(head this)
Instance Constant.
type: javax.swing.text.html.parser.Element
Instance Constant. type: javax.swing.text.html.parser.Element
(html this)
Instance Constant.
type: javax.swing.text.html.parser.Element
Instance Constant. type: javax.swing.text.html.parser.Element
(isindex this)
Instance Constant.
type: javax.swing.text.html.parser.Element
Instance Constant. type: javax.swing.text.html.parser.Element
(meta this)
Instance Constant.
type: javax.swing.text.html.parser.Element
Instance Constant. type: javax.swing.text.html.parser.Element
(name this)
Instance Field.
type: java.lang.String
Instance Field. type: java.lang.String
(p this)
Instance Constant.
type: javax.swing.text.html.parser.Element
Instance Constant. type: javax.swing.text.html.parser.Element
(param this)
Instance Constant.
type: javax.swing.text.html.parser.Element
Instance Constant. type: javax.swing.text.html.parser.Element
(pcdata this)
Instance Constant.
type: javax.swing.text.html.parser.Element
Instance Constant. type: javax.swing.text.html.parser.Element
(read this in)
Recreates a DTD from an archived format.
in - the DataInputStream to read from - java.io.DataInputStream
throws: java.io.IOException
Recreates a DTD from an archived format. in - the DataInputStream to read from - `java.io.DataInputStream` throws: java.io.IOException
(title this)
Instance Constant.
type: javax.swing.text.html.parser.Element
Instance Constant. type: javax.swing.text.html.parser.Element
(to-string this)
Returns a string representation of this DTD.
returns: the string representation of this DTD - java.lang.String
Returns a string representation of this DTD. returns: the string representation of this DTD - `java.lang.String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close