|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.idom.impl.AbstractItem
org.zkoss.idom.DocType
public class DocType
The iDOM DocType.
Document,
Serialized Form| Field Summary | |
|---|---|
protected String |
_intSubset
The internal subset of the DOCTYPE |
protected String |
_name
The element being constrained |
protected String |
_pubId
The public ID of the DOCTYPE |
protected String |
_sysId
The system ID of the DOCTYPE |
| Fields inherited from interface org.zkoss.idom.Item |
|---|
FIND_BY_PREFIX, FIND_BY_REGEX, FIND_BY_TAGNAME, FIND_IGNORE_CASE, FIND_RECURSIVE |
| Constructor Summary | |
|---|---|
protected |
DocType()
Constructor. |
|
DocType(String elementName)
Constructor. |
|
DocType(String elementName,
String systemId)
Constructor. |
|
DocType(String elementName,
String publicId,
String systemId)
Constructor. |
| Method Summary | |
|---|---|
NamedNodeMap |
getEntities()
|
String |
getInternalSubset()
Gets the data for the internal subset. |
String |
getName()
Gets the element name being constrained. |
short |
getNodeType()
|
NamedNodeMap |
getNotations()
|
String |
getPublicId()
Gets the public ID of an externally referenced DTD, or an empty String if none is referenced. |
String |
getSystemId()
Gets the system ID of an externally referenced DTD, or an empty String if none is referenced. |
void |
setInternalSubset(String newData)
Sets the data for the internal subset. |
void |
setName(String elementName)
Sets the name of the item. |
void |
setPublicId(String publicId)
Sets the public ID of an externally referenced DTD, or an empty String if none is referenced. |
void |
setSystemId(String systemId)
Sets the system ID of an externally referenced DTD, or an empty String if none is referenced. |
String |
toString()
|
| Methods inherited from class org.zkoss.idom.impl.AbstractItem |
|---|
appendChild, clearModified, clone, clone, cloneNode, compareDocumentPosition, detach, equals, getAttributes, getBaseURI, getChildNodes, getDocument, getFeature, getFirstChild, getLastChild, getLocalName, getLocator, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParent, getParentNode, getPrefix, getPreviousSibling, getText, getTextContent, getUserData, hasAttributes, hasChildNodes, hashCode, insertBefore, isDefaultNamespace, isEqualNode, isModified, isReadonly, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, match, normalize, removeChild, replaceChild, setLocator, setModified, setNodeValue, setParent, setPrefix, setReadonly, setText, setTextContent, setUserData |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Field Detail |
|---|
protected String _name
protected String _pubId
protected String _sysId
protected String _intSubset
| Constructor Detail |
|---|
public DocType(String elementName,
String publicId,
String systemId)
publicId - the public Id; null or empty if not availablsystemId - the system Id; null or empty if not availabl
public DocType(String elementName,
String systemId)
public DocType(String elementName)
protected DocType()
| Method Detail |
|---|
public final String getPublicId()
getPublicId in interface DocumentTypepublic final void setPublicId(String publicId)
publicId - the public Id; null or empty if not availablpublic final String getSystemId()
getSystemId in interface DocumentTypepublic final void setSystemId(String systemId)
systemId - the system Id; null or empty if not availablpublic final String getInternalSubset()
getInternalSubset in interface DocumentTypepublic final void setInternalSubset(String newData)
public final String getName()
getName in interface DocumentTypegetName in interface ItemNamespaceable.getTagName()public final void setName(String elementName)
Item
setName in interface ItemsetName in class AbstractItemNamespaceable.setTagName(java.lang.String)public final short getNodeType()
getNodeType in interface Nodepublic final NamedNodeMap getEntities()
getEntities in interface DocumentTypepublic final NamedNodeMap getNotations()
getNotations in interface DocumentTypepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||