Modifier and Type | Field and Description |
---|---|
protected java.lang.CharSequence |
name |
protected java.lang.CharSequence |
publicIdentifier |
protected boolean |
quirksMode |
protected java.lang.CharSequence |
systemIdentifier |
Constructor and Description |
---|
ParsedDoctype() |
Modifier and Type | Method and Description |
---|---|
java.lang.CharSequence |
getName()
Returns DOCTYPE name.
|
java.lang.CharSequence |
getPublicIdentifier()
Returns public identifier, if specified.
|
java.lang.CharSequence |
getSystemIdentifier()
Returns system identifier, if specified.
|
boolean |
isQuirksMode()
Returns
true if quirks mode was forced. |
void |
reset() |
void |
setName(java.lang.CharSequence name) |
void |
setPublicIdentifier(java.lang.CharSequence publicIdentifier) |
void |
setQuirksMode(boolean quirksMode) |
void |
setSystemIdentifier(java.lang.CharSequence systemIdentifier) |
protected java.lang.CharSequence name
protected java.lang.CharSequence publicIdentifier
protected java.lang.CharSequence systemIdentifier
protected boolean quirksMode
public void setName(java.lang.CharSequence name)
public void setQuirksMode(boolean quirksMode)
public void reset()
public void setPublicIdentifier(java.lang.CharSequence publicIdentifier)
public void setSystemIdentifier(java.lang.CharSequence systemIdentifier)
public java.lang.CharSequence getName()
null
if name was not specified (due to parsing error).public boolean isQuirksMode()
true
if quirks mode was forced.isQuirksMode
in interface Doctype
public java.lang.CharSequence getPublicIdentifier()
null
if not specified, DOCTYPE is SYSTEM or there was a parsing error.getPublicIdentifier
in interface Doctype
public java.lang.CharSequence getSystemIdentifier()
null
if not specified or there was a parsing error.getSystemIdentifier
in interface Doctype
Copyright © 2003-present Jodd Team