DoctypeDeclaration Class Reference
[Various accompanying utilities]

Inline DTD: <!DOCTYPE greeting [ <!ELEMENT greeting (PCDATA)> ]>. More...

Inheritance diagram for DoctypeDeclaration:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 setRootElement ($rootElement)
 
Returns:
DoctypeDeclaration

 getRootElement ()
 setInline ($isInline)
 
Returns:
DoctypeDeclaration

 isInline ()
 setPublic ($isPublic)
 
Returns:
DoctypeDeclaration

 isPublic ()
 isSystem ()
 setDeclarations ($declarations)
 
Returns:
DoctypeDeclaration

 getDeclarations ()
 setFpi ($fpi)
 
Returns:
DoctypeDeclaration

 getFpi ()
 setUri ($uri)
 
Returns:
DoctypeDeclaration

 getUri ()
 parse ($string)
 
Returns:
DoctypeDeclaration

 toString ()

Static Public Member Functions

static create ()
 
Returns:
DoctypeDeclaration


Public Attributes

const SPACER_MASK = '[ \r\n\t]'
const ID_FIRST_CHAR_MASK = '[A-Za-z]'
const ID_CHAR_MASK = '[-_:.A-Za-z0-9]'

Protected Attributes

 $fpi = null

Private Attributes

 $rootElement = null
 $inline = false
 $declarations = null
 $public = false
 $uri = null


Detailed Description

Inline DTD: <!DOCTYPE greeting [ <!ELEMENT greeting (PCDATA)> ]>.

System DTD: <!DOCTYPE greeting SYSTEM "hello.dtd">

Public DTD: <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> or <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">

Definition at line 30 of file DoctypeDeclaration.class.php.


Member Function Documentation

static DoctypeDeclaration::create (  )  [static]

Returns:
DoctypeDeclaration

Reimplemented in CommonDoctypeDeclaration.

Definition at line 50 of file DoctypeDeclaration.class.php.

DoctypeDeclaration::setRootElement ( rootElement  ) 

Returns:
DoctypeDeclaration

Definition at line 58 of file DoctypeDeclaration.class.php.

References $rootElement.

DoctypeDeclaration::getRootElement (  ) 

Definition at line 65 of file DoctypeDeclaration.class.php.

DoctypeDeclaration::setInline ( isInline  ) 

Returns:
DoctypeDeclaration

Definition at line 73 of file DoctypeDeclaration.class.php.

DoctypeDeclaration::isInline (  ) 

Definition at line 83 of file DoctypeDeclaration.class.php.

DoctypeDeclaration::setPublic ( isPublic  ) 

Returns:
DoctypeDeclaration

Definition at line 91 of file DoctypeDeclaration.class.php.

DoctypeDeclaration::isPublic (  ) 

Definition at line 101 of file DoctypeDeclaration.class.php.

DoctypeDeclaration::isSystem (  ) 

Definition at line 106 of file DoctypeDeclaration.class.php.

DoctypeDeclaration::setDeclarations ( declarations  ) 

Returns:
DoctypeDeclaration

Definition at line 114 of file DoctypeDeclaration.class.php.

References $declarations.

DoctypeDeclaration::getDeclarations (  ) 

Definition at line 121 of file DoctypeDeclaration.class.php.

DoctypeDeclaration::setFpi ( fpi  ) 

Returns:
DoctypeDeclaration

Reimplemented in CommonDoctypeDeclaration.

Definition at line 129 of file DoctypeDeclaration.class.php.

References $fpi.

Referenced by parse().

DoctypeDeclaration::getFpi (  ) 

Reimplemented in CommonDoctypeDeclaration.

Definition at line 136 of file DoctypeDeclaration.class.php.

DoctypeDeclaration::setUri ( uri  ) 

Returns:
DoctypeDeclaration

Definition at line 144 of file DoctypeDeclaration.class.php.

References $uri.

DoctypeDeclaration::getUri (  ) 

Definition at line 151 of file DoctypeDeclaration.class.php.

DoctypeDeclaration::parse ( string  ) 

Returns:
DoctypeDeclaration

sample argument: html PUBLIC "-//W3C//DTD XHTML 1.1//EN"

Definition at line 161 of file DoctypeDeclaration.class.php.

References setFpi().

Here is the call graph for this function:

DoctypeDeclaration::toString (  ) 

Definition at line 222 of file DoctypeDeclaration.class.php.


Member Data Documentation

const DoctypeDeclaration::SPACER_MASK = '[ \r\n\t]'

Definition at line 32 of file DoctypeDeclaration.class.php.

const DoctypeDeclaration::ID_FIRST_CHAR_MASK = '[A-Za-z]'

Definition at line 33 of file DoctypeDeclaration.class.php.

const DoctypeDeclaration::ID_CHAR_MASK = '[-_:.A-Za-z0-9]'

Definition at line 34 of file DoctypeDeclaration.class.php.

DoctypeDeclaration::$fpi = null [protected]

Definition at line 36 of file DoctypeDeclaration.class.php.

Referenced by setFpi(), and CommonDoctypeDeclaration::setFpi().

DoctypeDeclaration::$rootElement = null [private]

Definition at line 38 of file DoctypeDeclaration.class.php.

Referenced by setRootElement().

DoctypeDeclaration::$inline = false [private]

Definition at line 40 of file DoctypeDeclaration.class.php.

DoctypeDeclaration::$declarations = null [private]

Definition at line 41 of file DoctypeDeclaration.class.php.

Referenced by setDeclarations().

DoctypeDeclaration::$public = false [private]

Definition at line 43 of file DoctypeDeclaration.class.php.

DoctypeDeclaration::$uri = null [private]

Definition at line 45 of file DoctypeDeclaration.class.php.

Referenced by setUri().


The documentation for this class was generated from the following file:
Generated on Sun Dec 9 21:57:17 2007 for onPHP by  doxygen 1.5.4