Liking cljdoc? Tell your friends :D

javax.swing.text.html.parser.Entity

An entity is described in a DTD using the ENTITY construct. It defines the type and value of the the entity.

An entity is described in a DTD using the ENTITY construct.
It defines the type and value of the the entity.
raw docstring

*name-2typeclj

(*name-2type nm)

Converts nm string to the corresponding entity type. If the string does not have a corresponding entity type, returns the type corresponding to "CDATA". Valid entity types are: "PUBLIC", "CDATA", "SDATA", "PI", "STARTTAG", "ENDTAG", "MS", "MD", "SYSTEM".

nm - the string to be converted - java.lang.String

returns: the corresponding entity type, or the type corresponding to "CDATA", if none exists - int

Converts nm string to the corresponding
 entity type.  If the string does not have a corresponding
 entity type, returns the type corresponding to "CDATA".
 Valid entity types are: "PUBLIC", "CDATA", "SDATA", "PI",
 "STARTTAG", "ENDTAG", "MS", "MD", "SYSTEM".

nm - the string to be converted - `java.lang.String`

returns: the corresponding entity type, or the type corresponding
   to "CDATA", if none exists - `int`
raw docstring

->entityclj

(->entity name type data)

Constructor.

Creates an entity.

name - the name of the entity - java.lang.String type - the type of the entity - int data - the char array of data - char[]

Constructor.

Creates an entity.

name - the name of the entity - `java.lang.String`
type - the type of the entity - `int`
data - the char array of data - `char[]`
raw docstring

dataclj

(data this)

Instance Field.

type: char[]

Instance Field.

type: char[]
raw docstring

general?clj

(general? this)

Returns true if it is a general entity.

returns: true if it is a general entity - boolean

Returns true if it is a general entity.

returns: true if it is a general entity - `boolean`
raw docstring

get-dataclj

(get-data this)

Returns the data.

returns: the data - char[]

Returns the data.

returns: the data - `char[]`
raw docstring

get-nameclj

(get-name this)

Gets the name of the entity.

returns: the name of the entity, as a String - java.lang.String

Gets the name of the entity.

returns: the name of the entity, as a String - `java.lang.String`
raw docstring

get-stringclj

(get-string this)

Returns the data as a String.

returns: the data as a String - java.lang.String

Returns the data as a String.

returns: the data as a String - `java.lang.String`
raw docstring

get-typeclj

(get-type this)

Gets the type of the entity.

returns: the type of the entity - int

Gets the type of the entity.

returns: the type of the entity - `int`
raw docstring

nameclj

(name this)

Instance Field.

type: java.lang.String

Instance Field.

type: java.lang.String
raw docstring

parameter?clj

(parameter? this)

Returns true if it is a parameter entity.

returns: true if it is a parameter entity - boolean

Returns true if it is a parameter entity.

returns: true if it is a parameter entity - `boolean`
raw docstring

typeclj

(type this)

Instance Field.

type: int

Instance Field.

type: int
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close